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",
120 /(this->
time().deltaTValue()*this->
mesh().
V());
125 fvm::Sp(
neg(sourceField)*sourceField/(Yi + Yismall), Yi)
126 +
pos0(sourceField)*sourceField;
133 fvm.
source() = -rhoTrans_[i]/this->
time().deltaTValue();
143 template<
class CloudType>
151 this->
name() +
":rhoTrans",
166 sourceField += rhoTrans_[i];
169 sourceField /= this->
time().deltaTValue()*this->
mesh().
V();
176 template<
class CloudType>
182 if (this->
solution().semiImplicit(
"rho"))
187 this->
name() +
":rhoTrans",
195 sourceField += rhoTrans_[i];
197 sourceField /= this->
time().deltaTValue()*this->
mesh().
V();
201 +
pos0(trhoTrans())*trhoTrans();
211 this->
name() +
":rhoTransV",
219 sourceField += rhoTrans_[i];
221 sourceField /= this->
time().deltaTValue();
223 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 ReactingCloud & cloudCopy() const
Return a reference to the cloud copy.
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.
tmp< volScalarField::Internal > Srho() const
Return tmp total mass source for carrier phase.
const PtrList< volScalarField::Internal > & rhoTrans() const
Return const access to mass source fields.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const DimensionedField< scalar, fvMesh > & V() const
Return cell volumes.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Calculate the matrix for implicit and explicit sources.
const dimensionSet dimless
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 dimensionSet & dimMass
fvMatrix< scalar > fvScalarMatrix
const dimensionSet & dimVolume
const dimensionSet & dimTime
dimensionedScalar neg(const dimensionedScalar &ds)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.