STYLE: Minor tidying

This commit is contained in:
Andrew Heather
2017-06-27 11:22:03 +01:00
parent 9e0235cd2a
commit e4bfefa396
4 changed files with 8 additions and 9 deletions

View File

@ -56,9 +56,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H" #include "setRootCase.H"
#include "createTime.H" #include "createTime.H"
#include "createDynamicFvMesh.H" #include "createDynamicFvMesh.H"
#include "createControl.H"
pimpleControl pimple(mesh);
#include "createRDeltaT.H" #include "createRDeltaT.H"
#include "initContinuityErrs.H" #include "initContinuityErrs.H"
#include "createFields.H" #include "createFields.H"

View File

@ -1232,9 +1232,9 @@ Foam::dynamicRefineFvMesh::~dynamicRefineFvMesh()
bool Foam::dynamicRefineFvMesh::update() bool Foam::dynamicRefineFvMesh::update()
{ {
// Re-read dictionary. Choosen since usually -small so trivial amount // Re-read dictionary. Usually small so takes trivial amount of time
// of time compared to actual refinement. Also very useful to be able // compared to actual refinement. Also very useful to be able to modify
// to modify on-the-fly. // on-the-fly.
dictionary refineDict dictionary refineDict
( (
IOdictionary IOdictionary

View File

@ -259,14 +259,14 @@ public:
//- Surface tension [N/m] //- Surface tension [N/m]
virtual scalar sigma(scalar p, scalar T) const = 0; 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; 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; virtual scalar D(scalar p, scalar T, scalar Wb) const = 0;
//- Invert the vapour pressure relationship to retrieve the //- 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; virtual scalar pvInvert(scalar p) const;

View File

@ -33,6 +33,7 @@ Foam::thermophysicalPropertiesSelector<ThermophysicalProperties>
return propertiesPtr_(); return propertiesPtr_();
} }
template<class ThermophysicalProperties> template<class ThermophysicalProperties>
inline Foam::scalar inline Foam::scalar
Foam::thermophysicalPropertiesSelector<ThermophysicalProperties>::W() const Foam::thermophysicalPropertiesSelector<ThermophysicalProperties>::W() const