33 template<
class CloudType>
36 devolatilisationModel_.reset
40 this->subModelProperties(),
45 surfaceReactionModel_.reset
49 this->subModelProperties(),
56 template<
class CloudType>
62 CloudType::cloudReset(c);
74 template<
class CloudType>
77 const word& cloudName,
85 CloudType(cloudName, rho, U, g, thermo,
false),
88 constProps_(this->particleProperties()),
89 devolatilisationModel_(NULL),
90 surfaceReactionModel_(NULL),
91 dMassDevolatilisation_(0.0),
92 dMassSurfaceReaction_(0.0)
104 if (this->
solution().resetSourcesOnStartup())
111 template<
class CloudType>
129 template<
class CloudType>
141 devolatilisationModel_(NULL),
142 surfaceReactionModel_(NULL),
143 dMassDevolatilisation_(0.0),
144 dMassSurfaceReaction_(0.0)
150 template<
class CloudType>
157 template<
class CloudType>
161 const scalar lagrangianDt
164 CloudType::setParcelThermoProperties(parcel, lagrangianDt);
171 parcel.YLiquid() = this->
composition().Y0(idLiquid);
176 template<
class CloudType>
180 const scalar lagrangianDt,
181 const bool fullyDescribed
184 CloudType::checkParcelProperties(parcel, lagrangianDt, fullyDescribed);
192 this->checkSuppliedComposition
198 this->checkSuppliedComposition
204 this->checkSuppliedComposition
214 template<
class CloudType>
221 clone(this->
name() +
"Copy").ptr()
227 template<
class CloudType>
230 cloudReset(cloudCopyPtr_());
231 cloudCopyPtr_.clear();
235 template<
class CloudType>
238 CloudType::resetSourceTerms();
242 template<
class CloudType>
247 typename parcelType::template
248 TrackingData<ReactingMultiphaseCloud<CloudType> > td(*
this);
255 template<
class CloudType>
272 template<
class CloudType>
277 this->devolatilisation().info(
Info);
278 this->surfaceReaction().info(
Info);
282 template<
class CloudType>
287 CloudType::particleType::writeFields(*
this, this->
composition());
Mesh data needed to do the Finite Volume discretisation.
void restoreState()
Reset the current cloud to the previously stored state.
word name(const complex &)
Return a string representation of a complex.
Virtual abstract base class for templated reactingMultiphaseCloud.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
scalar dMassSurfaceReaction_
Total mass transferred to continuous phase via surface.
void info()
Print cloud information.
virtual ~ReactingMultiphaseCloud()
Destructor.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
DSMCCloud< dsmcParcel > CloudType
void evolve()
Evolve the cloud.
Templated devolatilisation model class.
Selector class for relaxation factors, solver type and solution.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
Templated surface reaction model class.
virtual void writeFields() const
Write the field data for the cloud.
basicMultiComponentMixture & composition
void readFields(const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields)
void storeState()
Store the current cloud state.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
void resetSourceTerms()
Reset the cloud source terms.
void setModels()
Set cloud sub-models.
void cloudReset(ReactingMultiphaseCloud< CloudType > &c)
Reset state of cloud.
scalar dMassDevolatilisation_
Total mass transferred to continuous phase via devolatilisation.
Base cloud calls templated on particle type.
autoPtr< SurfaceReactionModel< ReactingMultiphaseCloud< CloudType > > > surfaceReactionModel_
Surface reaction model.
autoPtr< DevolatilisationModel< ReactingMultiphaseCloud< CloudType > > > devolatilisationModel_
Devolatilisation model.
parcelType::constantProperties constProps_
Parcel constant properties.
Templated base class for multiphase reacting cloud.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.