Go to the documentation of this file.
32 namespace regionModels
34 namespace surfaceFilmModels
57 const word& modelType,
98 totalMassPC_ += latestMassPC_;
100 availableMass -= dMass;
105 scalar phaseChangeMass = getModelProperty<scalar>(
"phaseChangeMass");
107 setModelProperty<scalar>(
"phaseChangeMass", phaseChangeMass);
115 const scalar massPCRate =
119 scalar phaseChangeMass = getModelProperty<scalar>(
"phaseChangeMass");
122 os <<
indent <<
"mass phase change = " << phaseChangeMass <<
nl
123 <<
indent <<
"vapourisation rate = " << massPCRate <<
nl;
A class for handling words, derived from string.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
virtual void info(Ostream &os) const
Provide some feedback.
const Time & time() const
Return the reference to the time database.
Pre-declare SubField and related Field type.
InternalField & internalField()
Return internal field.
scalar deltaTValue() const
Return time step value.
virtual void correct(const scalar dt, scalarField &availableMass, volScalarField &dMass, volScalarField &dEnergy)
Correct.
defineRunTimeSelectionTable(filmThermoModel, dictionary)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Ostream & indent(Ostream &os)
Indent stream.
void correctBoundaryConditions()
Correct boundary field.
defineTypeNameAndDebug(kinematicSingleLayer, 0)
virtual ~phaseChangeModel()
Destructor.
scalar latestMassPC_
Latest mass transfer due to phase change.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
surfaceFilmModel & owner_
Reference to the owner surface film model.
scalar totalMassPC_
Total mass transfer due to phase change.
Base class for surface film models.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
phaseChangeModel(const phaseChangeModel &)
Disallow default bitwise copy construct.
Generic GeometricField class.
Base class for surface film phase change models.