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"))
116 this->
name() +
":rhoTrans",
125 rhoTrans_[i]/(this->db().time().deltaTValue()*this->
mesh().V());
130 fvm::Sp(
neg(sourceField)*sourceField/(Yi + Yismall), Yi)
131 +
pos0(sourceField)*sourceField;
138 fvm.
source() = -rhoTrans_[i]/this->db().time().deltaTValue();
148 template<
class CloudType>
156 this->
name() +
":rhoTrans",
169 rhoi = rhoTrans_[i]/(this->db().time().deltaTValue()*this->
mesh().V());
176 template<
class CloudType>
184 this->
name() +
":rhoTrans",
199 sourceField += rhoTrans_[i];
202 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
209 template<
class CloudType>
219 this->
name() +
":rhoTrans",
227 if (this->
solution().semiImplicit(
"rho"))
232 sourceField += rhoTrans_[i];
234 sourceField /= this->db().time().deltaTValue()*this->
mesh().V();
245 sourceField += rhoTrans_[i];
248 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.
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.
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)...
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.