34 namespace regionModels
36 namespace surfaceFilmModels
48 transferredMass_ += dMass;
61 transferModel::transferModel
63 const word& modelType,
85 scalar transferredMass0 = getModelProperty<scalar>(
"transferredMass");
87 setModelProperty<scalar>(
"transferredMass", transferredMass0);
88 transferredMass_ = 0.0;
100 correct(availableMass, massToTransfer0);
101 massToTransfer += massToTransfer0;
102 energyToTransfer += massToTransfer0*
film().
hs();
107 scalar transferredMass0 = getModelProperty<scalar>(
"transferredMass");
void size(const label n)
Older name for setAddressableSize.
Base class for surface film models.
Base class for surface film sub-models.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const volScalarField & hs() const =0
Return the film surface temperature [J/kg].
Base class for film transfer models, handling mass transfer between the film and the continuous phase...
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Perform reduction on a copy, using specified binary operation.
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.
A class for handling words, derived from Foam::string.
virtual ~transferModel()
Destructor.
void addToTransferredMass(const scalar dMass)
Add to transferred mass.
defineRunTimeSelectionTable(filmThermoModel, dictionary)
defineTypeNameAndDebug(kinematicSingleLayer, 0)
static constexpr const zero Zero
Global zero (0)