mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Minor tidying
This commit is contained in:
@ -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"
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user