Go to the documentation of this file.
30 template<
class CloudType>
34 return *cloudCopyPtr_;
38 template<
class CloudType>
39 inline const typename CloudType::particleType::constantProperties&
46 template<
class CloudType>
47 inline typename CloudType::particleType::constantProperties&
54 template<
class CloudType>
58 return *compositionModel_;
62 template<
class CloudType>
66 return *phaseChangeModel_;
70 template<
class CloudType>
74 return *phaseChangeModel_;
78 template<
class CloudType>
86 template<
class CloudType>
95 template<
class CloudType>
103 template<
class CloudType>
112 if (this->
solution().semiImplicit(
"Yi"))
120 this->
name() +
":rhoTrans",
135 rhoTrans_[i]/(this->db().time().deltaTValue()*this->
mesh().V());
140 fvm::Sp(
neg(sourceField)*sourceField/(Yi + YiSMALL), Yi)
141 +
pos0(sourceField)*sourceField;
148 fvm.
source() = -rhoTrans_[i]/this->db().time().deltaTValue();
158 template<
class CloudType>
168 this->
name() +
":rhoTrans",
186 rhoi = rhoTrans_[i]/(this->db().time().deltaTValue()*this->
mesh().V());
193 template<
class CloudType>
203 this->
name() +
":rhoTrans",
223 sourceField += rhoTrans_[i];
226 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
233 template<
class CloudType>
245 this->
name() +
":rhoTrans",
259 if (this->
solution().semiImplicit(
"rho"))
264 sourceField += rhoTrans_[i];
266 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
277 sourceField += rhoTrans_[i];
280 fvm.
source() = -trhoTrans()/this->db().time().deltaT();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Templated phase change model class.
Selector class for relaxation factors, solver type and solution.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
tmp< fvScalarMatrix > SYi(const label i, volScalarField &Yi) const
Return mass source term for specie i - specie eqn.
const parcelType::constantProperties & constProps() const
Return the constant properties.
dimensionedScalar pos0(const dimensionedScalar &ds)
#define forAll(list, i)
Loop across all elements in list.
tmp< faMatrix< Type > > SuSp(const areaScalarField &sp, const GeometricField< Type, faPatchField, areaMesh > &vf)
Templated reacting parcel composition model class Consists of carrier species (via thermo package),...
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
fvMatrix< scalar > fvScalarMatrix
const CompositionModel< ReactingCloud< CloudType > > & composition() const
Return const access to reacting composition model.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
const ReactingCloud & cloudCopy() const
Return a reference to the cloud copy.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
const dimensionSet dimVolume(pow3(dimLength))
const PhaseChangeModel< ReactingCloud< CloudType > > & phaseChange() const
Return const access to reacting phase change model.
tmp< volScalarField::Internal > Srho() const
Return tmp total mass source for carrier phase.
dimensionedScalar neg(const dimensionedScalar &ds)
const PtrList< volScalarField::Internal > & rhoTrans() const
Return const access to mass source fields.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet dimless
Dimensionless.
Templated base class for reacting cloud.