33 namespace regionModels
35 namespace surfaceFilmModels
47 transferredMass_ += dMass;
84 scalar transferredMass0 = getModelProperty<scalar>(
"transferredMass");
86 setModelProperty<scalar>(
"transferredMass", transferredMass0);
87 transferredMass_ = 0.0;
101 correct(availableMass, massToTransfer0);
102 massToTransfer += massToTransfer0;
103 energyToTransfer += massToTransfer0*film.
h();
108 scalar transferredMass0 = getModelProperty<scalar>(
"transferredMass");
filmSubModelBase(surfaceFilmRegionModel &film)
Construct null.
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...
void size(const label)
Override size to be inconsistent with allocated storage.
const dictionary & dict() const
Return const access to the cloud dictionary.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
virtual bool writeTime() const
Flag to indicate when to write a property.
virtual scalar transferredMassTotal() const
Return the total mass transferred.
transferModel(surfaceFilmRegionModel &film)
Construct for film.
A class for handling words, derived from string.
virtual ~transferModel()
Destructor.
void addToTransferredMass(const scalar dMass)
Add to transferred mass.
const word & modelType() const
Return const access to the sub-model type.
virtual const volScalarField & h() const
Return the film sensible enthalpy [J/kg].
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
defineRunTimeSelectionTable(filmMomentumTransportModel, dictionary)
defineTypeNameAndDebug(kinematicSingleLayer, 0)
Thermodynamic form of single-cell layer surface film model.