Commit de32813f authored by andy's avatar andy
Browse files

STYLE: Minor code style updates

parent ca492058
...@@ -232,20 +232,20 @@ void Foam::parcel::setRelaxationTimes ...@@ -232,20 +232,20 @@ void Foam::parcel::setRelaxationTimes
tBoilingSurface tBoilingSurface
); );
scalar dp = pBoil - pressure; scalar dp = pBoil - pressure;
if ( (dp > 0.0) && (dp0 > 0.0) ) if ((dp > 0.0) && (dp0 > 0.0))
{ {
tBoilingSurface -= deltaT; tBoilingSurface -= deltaT;
} }
else else
{ {
if ( (dp < 0.0) && (dp0 < 0.0) ) if ((dp < 0.0) && (dp0 < 0.0))
{ {
tBoilingSurface += deltaT; tBoilingSurface += deltaT;
} }
else else
{ {
deltaT *= 0.5; deltaT *= 0.5;
if ( (dp > 0.0) && (dp0 < 0.0) ) if ((dp > 0.0) && (dp0 < 0.0))
{ {
tBoilingSurface -= deltaT; tBoilingSurface -= deltaT;
} }
......
...@@ -194,6 +194,7 @@ void Foam::LiquidEvaporation<CloudType>::calculate ...@@ -194,6 +194,7 @@ void Foam::LiquidEvaporation<CloudType>::calculate
} }
} }
template<class CloudType> template<class CloudType>
Foam::scalar Foam::LiquidEvaporation<CloudType>::dh Foam::scalar Foam::LiquidEvaporation<CloudType>::dh
( (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment