32 namespace regionModels
34 namespace surfaceFilmModels
57 const word& modelType,
95 availableMass -= dMass;
100 scalar phaseChangeMass = getModelProperty<scalar>(
"phaseChangeMass");
102 setModelProperty<scalar>(
"phaseChangeMass", phaseChangeMass);
110 const scalar massPCRate =
114 scalar phaseChangeMass = getModelProperty<scalar>(
"phaseChangeMass");
117 os <<
indent <<
"mass phase change = " << phaseChangeMass <<
nl 118 <<
indent <<
"vapourisation rate = " << massPCRate <<
nl;
Ostream & indent(Ostream &os)
Indent stream.
virtual void info(Ostream &os) const
Provide some feedback.
scalar latestMassPC_
Latest mass transfer due to phase change.
Base class for surface film models.
Base class for surface film sub-models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
const Time & time() const
Return the reference to the time database.
scalar totalMassPC_
Total mass transfer due to phase change.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
virtual bool writeTime() const
Flag to indicate when to write a property.
virtual void correctModel(const scalar dt, scalarField &availableMass, scalarField &dMass, scalarField &dEnergy)=0
Correct.
phaseChangeModel(surfaceFilmRegionModel &film)
Construct null.
A class for handling words, derived from string.
scalar deltaTValue() const
Return time step value.
defineRunTimeSelectionTable(ejectionModel, dictionary)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~phaseChangeModel()
Destructor.
void correctBoundaryConditions()
Correct boundary field.
surfaceFilmRegionModel & filmModel_
Reference to the film surface film model.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
virtual void correct(const scalar dt, scalarField &availableMass, volScalarField &dMass, volScalarField &dEnergy)
Correct.
defineTypeNameAndDebug(kinematicSingleLayer, 0)