48 transferredMass_ += dMass;
61transferModel::transferModel
63 const word& modelType,
88 transferredMass_ = 0.0;
100 correct(availableMass, massToTransfer0);
101 massToTransfer += massToTransfer0;
102 energyToTransfer += massToTransfer0*
film().
hs();
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
filmSubModelBase(surfaceFilmRegionModel &film)
Construct null.
Base class for surface film models.
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...
virtual ~transferModel()
Destructor.
void addToTransferredMass(const scalar dMass)
Add to transferred mass.
virtual scalar transferredMassTotal() const
Return the total mass transferred.
bool getModelProperty(const word &entryName, Type &value) const
Retrieve generic property from the sub-model.
const dictionary & dict() const
Return const access to the cloud dictionary.
const word & modelType() const
Return const access to the sub-model type.
void setModelProperty(const word &entryName, const Type &value)
Add generic property to the sub-model.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
T returnReduce(const T &value, BinaryOp bop, const int tag=UPstream::msgType(), const int communicator=UPstream::worldComm)
Perform reduction on a copy, using specified binary operation.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
static constexpr const zero Zero
Global zero (0).
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.