36 #ifndef BreakupModel_H 37 #define BreakupModel_H 52 template<
class CloudType>
55 public CloudSubModelBase<CloudType>
131 inline const scalar&
y0()
const 136 inline const scalar&
yDot0()
const 146 inline const scalar&
TABCmu()
const 194 #define makeBreakupModel(CloudType) \ 196 typedef Foam::CloudType::sprayCloudType sprayCloudType; \ 197 defineNamedTemplateTypeNameAndDebug \ 199 Foam::BreakupModel<sprayCloudType>, \ 205 defineTemplateRunTimeSelectionTable \ 207 BreakupModel<sprayCloudType>, \ 213 #define makeBreakupModelType(SS, CloudType) \ 215 typedef Foam::CloudType::sprayCloudType sprayCloudType; \ 216 defineNamedTemplateTypeNameAndDebug(Foam::SS<sprayCloudType>, 0); \ 218 Foam::BreakupModel<sprayCloudType>:: \ 219 adddictionaryConstructorToTable<Foam::SS<sprayCloudType>> \ 220 add##SS##CloudType##sprayCloudType##ConstructorToTable_;
BreakupModel(CloudType &owner)
Construct null from owner.
const scalar & TABComega() const
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool update(const scalar dt, const vector &g, scalar &d, scalar &tc, scalar &ms, scalar &nParticle, scalar &KHindex, scalar &y, scalar &yDot, const scalar d0, const scalar rho, const scalar mu, const scalar sigma, const vector &U, const scalar rhoc, const scalar muc, const vector &Urel, const scalar Urmag, const scalar tMom, scalar &dChild, scalar &massChild)=0
Update the parcel properties and return true if a child parcel.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
virtual autoPtr< BreakupModel< CloudType > > clone() const =0
Construct and return a clone.
const scalar & TABtwoWeCrit() const
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, BreakupModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
static autoPtr< BreakupModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
TypeName("breakupModel")
Runtime type information.
const dimensionedScalar mu
Atomic mass unit.
const scalar & y0() const
Switch solveOscillationEq_
virtual ~BreakupModel()
Destructor.
const Switch & solveOscillationEq() const
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated break-up model class.
Macros to ease declaration of run-time selection tables.
const dimensionedVector & g
const scalar & TABCmu() const
Templated base class for dsmc cloud.
const scalar & yDot0() const