diff --git a/src/ODE/ODESolvers/SIBS/SIBS.C b/src/ODE/ODESolvers/SIBS/SIBS.C index ec5c196ff0..ecc3164d0a 100644 --- a/src/ODE/ODESolvers/SIBS/SIBS.C +++ b/src/ODE/ODESolvers/SIBS/SIBS.C @@ -121,7 +121,7 @@ void Foam::SIBS::solve kMax_ = kOpt_; } - label k=0; + label k = 0; scalar h = hTry; yTemp_ = y; @@ -213,7 +213,7 @@ void Foam::SIBS::solve x = xNew_; hDid = h; - first_=0; + first_ = 0; scalar wrkmin = GREAT; scalar scale = 1.0; diff --git a/src/thermophysicalModels/liquids/C7H16/C7H16.C b/src/thermophysicalModels/liquids/C7H16/C7H16.C index 846671927b..437a2a75d8 100644 --- a/src/thermophysicalModels/liquids/C7H16/C7H16.C +++ b/src/thermophysicalModels/liquids/C7H16/C7H16.C @@ -65,7 +65,15 @@ Foam::C7H16::C7H16() 182.274175063868, -254.530511150515 ), - h_(-3.1469964e+6,7.3072e+3,-3.52884e+1,1.10637e-1,-1.634831e-4,9.64941e-8), + h_ + ( + -3.1469964e+6, + 7.3072e+3, + -3.52884e+1, + 1.10637e-1, + -1.634831e-4, + 9.64941e-8 + ), cpg_(1199.05392998284, 3992.85457666361, 1676.6, 2734.42177956968, 756.4), B_ ( @@ -80,7 +88,7 @@ Foam::C7H16::C7H16() K_(0.215, -0.000303, 0.0, 0.0, 0.0, 0.0), Kg_(-0.070028, 0.38068, -7049.9, -2400500.0), sigma_(540.20, 0.054143, 1.2512, 0.0, 0.0, 0.0), - D_(147.18, 20.1, 100.204, 28.0) // note: Same as C7H16 + D_(147.18, 20.1, 100.204, 28.0) {} diff --git a/src/thermophysicalModels/liquids/C7H16/C7H16.H b/src/thermophysicalModels/liquids/C7H16/C7H16.H index b186035160..e74e26a3f1 100644 --- a/src/thermophysicalModels/liquids/C7H16/C7H16.H +++ b/src/thermophysicalModels/liquids/C7H16/C7H16.H @@ -126,7 +126,7 @@ public: //- Liquid heat capacity [J/(kg K)] inline scalar cp(scalar p, scalar T) const; - //- Liquid Enthalpy [J/(kg)] + //- Liquid Enthalpy [J/kg] inline scalar h(scalar p, scalar T) const; //- Ideal gas heat capacity [J/(kg K)] diff --git a/src/thermophysicalModels/liquids/liquid/liquid.H b/src/thermophysicalModels/liquids/liquid/liquid.H index c0f52c11c3..d04b66dbfb 100644 --- a/src/thermophysicalModels/liquids/liquid/liquid.H +++ b/src/thermophysicalModels/liquids/liquid/liquid.H @@ -219,7 +219,7 @@ public: //- Liquid heat capacity [J/(kg K)] virtual scalar cp(scalar p, scalar T) const = 0; - //- Liquid h [J/kg] + //- Liquid enthalpy [J/kg] virtual scalar h(scalar p, scalar T) const = 0; //- Ideal gas heat capacity [J/(kg K)] diff --git a/src/thermophysicalModels/thermophysicalFunctions/APIfunctions/APIdiffCoefFunc/APIdiffCoefFunc.H b/src/thermophysicalModels/thermophysicalFunctions/APIfunctions/APIdiffCoefFunc/APIdiffCoefFunc.H index 506aac64c7..4e970ae2d0 100644 --- a/src/thermophysicalModels/thermophysicalFunctions/APIfunctions/APIdiffCoefFunc/APIdiffCoefFunc.H +++ b/src/thermophysicalModels/thermophysicalFunctions/APIfunctions/APIdiffCoefFunc/APIdiffCoefFunc.H @@ -79,7 +79,7 @@ public: wf_(wf), wa_(wa), alpha_(sqrt(1/wf_ + 1/wa_)), - beta_(sqr((cbrt(a_) + cbrt(b_)))) + beta_(sqr(cbrt(a_) + cbrt(b_))) {} //- Construct from Istream