32template<
class CloudType>
43template<
class CloudType>
56template<
class CloudType>
69template<
class CloudType>
76template<
class CloudType>
86template<
class CloudType>
91 const scalar mass0 = this->
template getBaseProperty<scalar>(
"mass");
94 Log_<<
" Mass transfer devolatilisation = " << massTotal <<
nl;
Base class for cloud sub-models.
const CloudType & owner() const
Return const access to the owner cloud.
virtual void info()
Write to info.
CloudSubModelBase(CloudType &owner)
Construct null from owner cloud.
virtual bool writeTime() const
Flag to indicate when to write a property.
Templated devolatilisation model class.
scalar dMass_
Mass of lagrangian phase converted.
DevolatilisationModel(CloudType &owner)
Construct null from owner.
virtual void info()
Write injection info.
virtual ~DevolatilisationModel()
Destructor.
void addToDevolatilisationMass(const scalar dMass)
Add to devolatilisation mass.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Type getBaseProperty(const word &entryName, const Type &defaultValue=Type(Zero)) const
Retrieve generic property from the base model.
const dictionary & dict() const
Return const access to the cloud dictionary.
void setBaseProperty(const word &entryName, const Type &value)
Add generic property to the base model.
A class for handling words, derived from Foam::string.
return returnReduce(nRefine-oldNRefine, sumOp< label >())
#define Log_
Report write to Foam::Info if the class log switch is true.
DSMCCloud< dsmcParcel > CloudType
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")
constexpr char nl
The newline '\n' character (0x0a).