28 template<
class CloudType>
32 return cloudCopyPtr_();
36 template<
class CloudType>
37 inline const typename CloudType::particleType::constantProperties&
44 template<
class CloudType>
45 inline typename CloudType::particleType::constantProperties&
52 template<
class CloudType>
56 return compositionModel_;
60 template<
class CloudType>
64 return phaseChangeModel_;
68 template<
class CloudType>
72 return phaseChangeModel_();
76 template<
class CloudType>
84 template<
class CloudType>
93 template<
class CloudType>
101 template<
class CloudType>
110 if (this->
solution().semiImplicit(
"Yi"))
118 this->
name() +
":rhoTrans",
133 rhoTrans_[i]/(this->db().time().deltaTValue()*this->
mesh().V());
138 fvm::Sp(
neg(sourceField)*sourceField/(Yi + Yismall), Yi)
139 +
pos0(sourceField)*sourceField;
146 fvm.
source() = -rhoTrans_[i]/this->db().time().deltaTValue();
156 template<
class CloudType>
166 this->
name() +
":rhoTrans",
186 rhoi = rhoTrans_[i]/(this->db().time().deltaTValue()*this->
mesh().V());
193 template<
class CloudType>
203 this->
name() +
":rhoTrans",
225 sourceField += rhoTrans_[i];
228 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
235 template<
class CloudType>
247 this->
name() +
":rhoTrans",
261 if (this->
solution().semiImplicit(
"rho"))
266 sourceField += rhoTrans_[i];
268 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
279 sourceField += rhoTrans_[i];
282 fvm.
source() = -trhoTrans()/this->db().time().deltaT();
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
tmp< GeometricField< Type, fvPatchField, volMesh > > SuSp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Templated phase change model class.
T & ref() const
Return non-const reference or generate a fatal error.
const PtrList< volScalarField::Internal > & rhoTrans() const
Return const access to mass source fields.
tmp< volScalarField::Internal > Srho() const
Return tmp total mass source for carrier phase.
dimensionedScalar neg(const dimensionedScalar &ds)
const dimensionSet dimVolume(pow3(dimLength))
const ReactingCloud & cloudCopy() const
Return a reference to the cloud copy.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const parcelType::constantProperties & constProps() const
Return the constant properties.
dimensionedScalar pos0(const dimensionedScalar &ds)
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
word name(const complex &)
Return a string representation of a complex.
Templated base class for reacting cloud.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const CompositionModel< ReactingCloud< CloudType > > & composition() const
Return const access to reacting composition model.
Selector class for relaxation factors, solver type and solution.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
Templated reacting parcel composition model class Consists of carrier species (via thermo package)...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< fvScalarMatrix > SYi(const label i, volScalarField &Yi) const
Return mass source term for specie i - specie eqn.
const PhaseChangeModel< ReactingCloud< CloudType > > & phaseChange() const
Return const access to reacting phase change model.