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 "createTime.H"
#include "createDynamicFvMesh.H"
pimpleControl pimple(mesh);
#include "createControl.H"
#include "createRDeltaT.H"
#include "initContinuityErrs.H"
#include "createFields.H"

View File

@ -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

View File

@ -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;

View File

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