STYLE: line breaks and spelling
This commit is contained in:
parent
30ea7d6134
commit
ef2ea9629c
@ -218,7 +218,7 @@ void Foam::ReactingHeterogeneousParcel<ParcelType>::calc
|
||||
if
|
||||
(
|
||||
cloud.constProps().volUpdateType()
|
||||
== constantProperties::volumeUpadteType::mUndefined
|
||||
== constantProperties::volumeUpdateType::mUndefined
|
||||
)
|
||||
{
|
||||
if (cloud.constProps().constantVolume())
|
||||
@ -234,17 +234,17 @@ void Foam::ReactingHeterogeneousParcel<ParcelType>::calc
|
||||
{
|
||||
switch (cloud.constProps().volUpdateType())
|
||||
{
|
||||
case constantProperties::volumeUpadteType::mConstRho :
|
||||
case constantProperties::volumeUpdateType::mConstRho :
|
||||
{
|
||||
this->d_ = cbrt(mass1/this->rho_*6/pi);
|
||||
break;
|
||||
}
|
||||
case constantProperties::volumeUpadteType::mConstVol :
|
||||
case constantProperties::volumeUpdateType::mConstVol :
|
||||
{
|
||||
this->rho_ = mass1/this->volume();
|
||||
break;
|
||||
}
|
||||
case constantProperties::volumeUpadteType::mUpdateRhoAndVol :
|
||||
case constantProperties::volumeUpdateType::mUpdateRhoAndVol :
|
||||
{
|
||||
scalar deltaVol =
|
||||
updatedDeltaVolume
|
||||
|
@ -431,7 +431,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
|
||||
if
|
||||
(
|
||||
cloud.constProps().volUpdateType()
|
||||
== constantProperties::volumeUpadteType::mUndefined
|
||||
== constantProperties::volumeUpdateType::mUndefined
|
||||
)
|
||||
{
|
||||
if (cloud.constProps().constantVolume())
|
||||
@ -447,17 +447,17 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
|
||||
{
|
||||
switch (cloud.constProps().volUpdateType())
|
||||
{
|
||||
case constantProperties::volumeUpadteType::mConstRho :
|
||||
case constantProperties::volumeUpdateType::mConstRho :
|
||||
{
|
||||
this->d_ = cbrt(mass1/this->rho_*6/pi);
|
||||
break;
|
||||
}
|
||||
case constantProperties::volumeUpadteType::mConstVol :
|
||||
case constantProperties::volumeUpdateType::mConstVol :
|
||||
{
|
||||
this->rho_ = mass1/this->volume();
|
||||
break;
|
||||
}
|
||||
case constantProperties::volumeUpadteType::mUpdateRhoAndVol :
|
||||
case constantProperties::volumeUpdateType::mUpdateRhoAndVol :
|
||||
{
|
||||
scalar deltaVol =
|
||||
updatedDeltaVolume
|
||||
|
@ -517,7 +517,7 @@ void Foam::ReactingParcel<ParcelType>::calc
|
||||
if
|
||||
(
|
||||
cloud.constProps().volUpdateType()
|
||||
== constantProperties::volumeUpadteType::mUndefined
|
||||
== constantProperties::volumeUpdateType::mUndefined
|
||||
)
|
||||
{
|
||||
// Update particle density or diameter
|
||||
@ -534,17 +534,17 @@ void Foam::ReactingParcel<ParcelType>::calc
|
||||
{
|
||||
switch (cloud.constProps().volUpdateType())
|
||||
{
|
||||
case constantProperties::volumeUpadteType::mConstRho :
|
||||
case constantProperties::volumeUpdateType::mConstRho :
|
||||
{
|
||||
this->d_ = cbrt(mass1/this->rho_*6/pi);
|
||||
break;
|
||||
}
|
||||
case constantProperties::volumeUpadteType::mConstVol :
|
||||
case constantProperties::volumeUpdateType::mConstVol :
|
||||
{
|
||||
this->rho_ = mass1/this->volume();
|
||||
break;
|
||||
}
|
||||
case constantProperties::volumeUpadteType::mUpdateRhoAndVol :
|
||||
case constantProperties::volumeUpdateType::mUpdateRhoAndVol :
|
||||
{
|
||||
scalar deltaVol =
|
||||
updatedDeltaVolume
|
||||
|
@ -85,11 +85,10 @@ public:
|
||||
:
|
||||
public ParcelType::constantProperties
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//- Type of activity coefficient models
|
||||
enum volumeUpadteType
|
||||
enum volumeUpdateType
|
||||
{
|
||||
mConstRho,
|
||||
mConstVol,
|
||||
|
@ -61,7 +61,12 @@ inline Foam::ReactingParcel<ParcelType>::constantProperties::constantProperties
|
||||
ParcelType::constantProperties(parentDict),
|
||||
pMin_(this->dict_, "pMin", 1000.0),
|
||||
constantVolume_(this->dict_, "constantVolume", false),
|
||||
volUpdateType_(this->dict_, "volumeUpdateMethod", volumeUpadteType::mConstRho)
|
||||
volUpdateType_
|
||||
(
|
||||
this->dict_,
|
||||
"volumeUpdateMethod",
|
||||
volumeUpdateType::mConstRho
|
||||
)
|
||||
{
|
||||
// If constantVolume found use it
|
||||
if (this->dict_.found("constantVolume"))
|
||||
|
Loading…
Reference in New Issue
Block a user