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 phaseChangeModel_;
62 template<
class CloudType>
66 return phaseChangeModel_();
70 template<
class CloudType>
78 template<
class CloudType>
87 template<
class CloudType>
95 template<
class CloudType>
104 if (this->
solution().semiImplicit(
"Yi"))
110 this->
name() +
":rhoTrans",
119 rhoTrans_[i]/(this->db().time().deltaTValue()*this->mesh().V());
124 fvm::Sp(
neg(sourceField)*sourceField/(Yi + Yismall), Yi)
125 +
pos0(sourceField)*sourceField;
132 fvm.
source() = -rhoTrans_[i]/this->db().time().deltaTValue();
142 template<
class CloudType>
150 this->
name() +
":rhoTrans",
165 sourceField += rhoTrans_[i];
168 sourceField /= this->db().time().deltaTValue()*this->mesh().V();
175 template<
class CloudType>
181 if (this->
solution().semiImplicit(
"rho"))
186 this->
name() +
":rhoTrans",
194 sourceField += rhoTrans_[i];
196 sourceField /= this->db().time().deltaTValue()*this->mesh().V();
200 +
pos0(trhoTrans())*trhoTrans();
210 this->
name() +
":rhoTransV",
218 sourceField += rhoTrans_[i];
220 sourceField /= this->db().time().deltaTValue();
222 fvm.
source() = -trhoTransV();
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
Templated phase change model class.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Templated base class for reacting cloud.
const parcelType::constantProperties & constProps() const
Return the constant properties.
const PtrList< volScalarField::Internal > & rhoTrans() const
Return const access to mass source fields.
const ReactingCloud & cloudCopy() const
Return a reference to the cloud copy.
tmp< volScalarField::Internal > Srho() const
Return tmp total mass source for carrier phase.
tmp< fvScalarMatrix > SYi(const label i, const 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.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Selector class for relaxation factors, solver type and solution.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Calculate the matrix for implicit and explicit sources.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
tmp< VolField< Type > > Sp(const volScalarField &sp, const VolField< Type > &vf)
dimensionedScalar pos0(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
word name(const bool)
Return a word representation of a bool.
fvMatrix< scalar > fvScalarMatrix
const dimensionSet dimless
const dimensionSet dimTime
const dimensionSet dimVolume
dimensionedScalar neg(const dimensionedScalar &ds)
const dimensionSet dimMass
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.