From e4bfefa3960a6319c00936447d917cd935e0aec0 Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Tue, 27 Jun 2017 11:22:03 +0100 Subject: [PATCH] STYLE: Minor tidying --- .../rhoPimpleFoam/overRhoPimpleDyMFoam/rhoPimpleDyMFoam.C | 4 +--- src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C | 6 +++--- .../liquidProperties/liquidProperties/liquidProperties.H | 6 +++--- .../thermophysicalPropertiesSelectorI.H | 1 + 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/applications/solvers/compressible/rhoPimpleFoam/overRhoPimpleDyMFoam/rhoPimpleDyMFoam.C b/applications/solvers/compressible/rhoPimpleFoam/overRhoPimpleDyMFoam/rhoPimpleDyMFoam.C index 0bbcefa14b..67c12334cd 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/overRhoPimpleDyMFoam/rhoPimpleDyMFoam.C +++ b/applications/solvers/compressible/rhoPimpleFoam/overRhoPimpleDyMFoam/rhoPimpleDyMFoam.C @@ -56,9 +56,7 @@ int main(int argc, char *argv[]) #include "setRootCase.H" #include "createTime.H" #include "createDynamicFvMesh.H" - - pimpleControl pimple(mesh); - + #include "createControl.H" #include "createRDeltaT.H" #include "initContinuityErrs.H" #include "createFields.H" diff --git a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C index 41f8d34b17..bc9dbcddf3 100644 --- a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C +++ b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C @@ -1232,9 +1232,9 @@ Foam::dynamicRefineFvMesh::~dynamicRefineFvMesh() bool Foam::dynamicRefineFvMesh::update() { - // Re-read dictionary. Choosen since usually -small so trivial amount - // of time compared to actual refinement. Also very useful to be able - // to modify on-the-fly. + // Re-read dictionary. Usually small so takes trivial amount of time + // compared to actual refinement. Also very useful to be able to modify + // on-the-fly. dictionary refineDict ( IOdictionary diff --git a/src/thermophysicalModels/thermophysicalProperties/liquidProperties/liquidProperties/liquidProperties.H b/src/thermophysicalModels/thermophysicalProperties/liquidProperties/liquidProperties/liquidProperties.H index 7df742adca..7cdbf1290e 100644 --- a/src/thermophysicalModels/thermophysicalProperties/liquidProperties/liquidProperties/liquidProperties.H +++ b/src/thermophysicalModels/thermophysicalProperties/liquidProperties/liquidProperties/liquidProperties.H @@ -259,14 +259,14 @@ public: //- Surface tension [N/m] virtual scalar sigma(scalar p, scalar T) const = 0; - //- Vapour diffussivity [m2/s] + //- Vapour diffusivity [m2/s] virtual scalar D(scalar p, scalar T) const = 0; - //- Vapour diffussivity [m2/s] with specified binary pair + //- Vapour diffusivity [m2/s] with specified binary pair virtual scalar D(scalar p, scalar T, scalar Wb) const = 0; //- Invert the vapour pressure relationship to retrieve the - // boiling temperuture as a function of pressure + // boiling temperature as a function of pressure virtual scalar pvInvert(scalar p) const; diff --git a/src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelectorI.H b/src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelectorI.H index a074d37146..16aa85ee1a 100644 --- a/src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelectorI.H +++ b/src/thermophysicalModels/thermophysicalProperties/thermophysicalPropertiesSelector/thermophysicalPropertiesSelectorI.H @@ -33,6 +33,7 @@ Foam::thermophysicalPropertiesSelector return propertiesPtr_(); } + template inline Foam::scalar Foam::thermophysicalPropertiesSelector::W() const