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>
185 this->
name() +
":rhoTrans",
193 if (this->
solution().semiImplicit(
"rho"))
198 sourceField += rhoTrans_[i];
200 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
211 sourceField += rhoTrans_[i];
214 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.
const dimensionSet dimless
tmp< fvScalarMatrix > SYi(const label i, const volScalarField &Yi) const
Return mass source term for specie i - specie eqn.
tmp< volScalarField::Internal > Srho() const
Return tmp total mass source for carrier phase.
dimensionedScalar neg(const dimensionedScalar &ds)
const dimensionSet dimTime
const ReactingCloud & cloudCopy() const
Return a reference to the cloud copy.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
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.
const dimensionSet dimMass
word name(const complex &)
Return a string representation of a complex.
const tmp< volScalarField::Internal > & Sp
Templated base class for reacting cloud.
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 dimVolume
Selector class for relaxation factors, solver type and solution.
A class for managing temporary objects.
const PhaseChangeModel< ReactingCloud< CloudType > > & phaseChange() const
Return const access to reacting phase change model.
Calculate the matrix for implicit and explicit sources.