Commit 30d9cfa7 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: remove trailing space, use Enum::get()

parent 3df281b3
...@@ -225,10 +225,10 @@ turbulentTemperatureTwoPhaseRadCoupledMixedFvPatchScalarField ...@@ -225,10 +225,10 @@ turbulentTemperatureTwoPhaseRadCoupledMixedFvPatchScalarField
) )
: :
mixedFvPatchScalarField(p, iF), mixedFvPatchScalarField(p, iF),
regionType_(regionTypeNames_.read(dict.lookup("region"))), regionType_(regionTypeNames_.get("region", dict)),
method_(KMethodTypeNames_.get("kappaMethod", dict)), method_(KMethodTypeNames_.get("kappaMethod", dict)),
kappaName_(dict.lookupOrDefault<word>("kappa", "none")), kappaName_(dict.lookupOrDefault<word>("kappa", "none")),
otherPhaseName_(dict.lookup("otherPhase")), otherPhaseName_(dict.get<word>("otherPhase")),
TnbrName_(dict.lookupOrDefault<word>("Tnbr", "T")), TnbrName_(dict.lookupOrDefault<word>("Tnbr", "T")),
qrNbrName_(dict.lookupOrDefault<word>("qrNbr", "none")), qrNbrName_(dict.lookupOrDefault<word>("qrNbr", "none")),
qrName_(dict.lookupOrDefault<word>("qr", "none")) qrName_(dict.lookupOrDefault<word>("qr", "none"))
......
...@@ -148,7 +148,7 @@ private: ...@@ -148,7 +148,7 @@ private:
//- Name of field on the neighbour region //- Name of field on the neighbour region
const word TnbrName_; const word TnbrName_;
//- Name of the radiative heat flux in the neighbour region //- Name of the radiative heat flux in the neighbour region
const word qrNbrName_; const word qrNbrName_;
//- Name of the radiative heat flux in local region //- Name of the radiative heat flux in local region
......
...@@ -35,5 +35,3 @@ EXE_LIBS = \ ...@@ -35,5 +35,3 @@ EXE_LIBS = \
-lturbulenceModels \ -lturbulenceModels \
-lincompressibleTurbulenceModels \ -lincompressibleTurbulenceModels \
-lfluidThermophysicalModels -lfluidThermophysicalModels
...@@ -111,8 +111,8 @@ alphatWallBoilingWallFunctionFvPatchScalarField ...@@ -111,8 +111,8 @@ alphatWallBoilingWallFunctionFvPatchScalarField
) )
: :
alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF, dict), alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField(p, iF, dict),
otherPhaseName_(dict.lookup("otherPhase")), otherPhaseName_(dict.get<word>("otherPhase")),
phaseType_(phaseTypeNames_.read(dict.lookup("phaseType"))), phaseType_(phaseTypeNames_.get("phaseType", dict)),
relax_(Function1<scalar>::New("relax", dict)), relax_(Function1<scalar>::New("relax", dict)),
AbyV_(p.size(), 0), AbyV_(p.size(), 0),
alphatConv_(p.size(), 0), alphatConv_(p.size(), 0),
...@@ -1032,7 +1032,7 @@ void alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs() ...@@ -1032,7 +1032,7 @@ void alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
break; break;
} }
} }
scalar nSubCool(gSum(nSubCools)); scalar nSubCool(gSum(nSubCools));
scalar nTransient(gSum(nTransients)); scalar nTransient(gSum(nTransients));
scalar nFilm(gSum(nFilms)); scalar nFilm(gSum(nFilms));
...@@ -1044,8 +1044,8 @@ void alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs() ...@@ -1044,8 +1044,8 @@ void alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
Info<< " transient faces : " << nTransient << endl; Info<< " transient faces : " << nTransient << endl;
Info<< " film faces : " << nFilm << endl; Info<< " film faces : " << nFilm << endl;
Info<< " non-Boiling faces : " << nNonBoiling << endl; Info<< " non-Boiling faces : " << nNonBoiling << endl;
Info<< " total faces : " Info<< " total faces : "
<< nSubCool + nTransient + nFilm + nNonBoiling << nSubCool + nTransient + nFilm + nNonBoiling
<< endl << nl; << endl << nl;
const scalarField qc const scalarField qc
......
...@@ -290,7 +290,7 @@ private: ...@@ -290,7 +290,7 @@ private:
phaseType phaseType_; phaseType phaseType_;
//- dmdt relaxationFactor //- dmdt relaxationFactor
autoPtr<Function1<scalar>> relax_; autoPtr<Function1<scalar>> relax_;
//- Patch face area by cell volume //- Patch face area by cell volume
scalarField AbyV_; scalarField AbyV_;
......
Markdown is supported
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