42 #ifndef BreakupModel_H 43 #define BreakupModel_H 58 template<
class CloudType>
61 public CloudSubModelBase<CloudType>
137 inline const scalar&
y0()
const 142 inline const scalar&
yDot0()
const 152 inline const scalar&
TABCmu()
const 200 #define makeBreakupModel(CloudType) \ 202 typedef Foam::CloudType::sprayCloudType sprayCloudType; \ 203 defineNamedTemplateTypeNameAndDebug \ 205 Foam::BreakupModel<sprayCloudType>, \ 211 defineTemplateRunTimeSelectionTable \ 213 BreakupModel<sprayCloudType>, \ 219 #define makeBreakupModelType(SS, CloudType) \ 221 typedef Foam::CloudType::sprayCloudType sprayCloudType; \ 222 defineNamedTemplateTypeNameAndDebug(Foam::SS<sprayCloudType>, 0); \ 224 Foam::BreakupModel<sprayCloudType>:: \ 225 adddictionaryConstructorToTable<Foam::SS<sprayCloudType>> \ 226 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 a number of values (eg...
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.
virtual autoPtr< BreakupModel< CloudType > > clone() const =0
Construct and return a clone.
const scalar & TABtwoWeCrit() const
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::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 uniformDimensionedVectorField & g
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const scalar & y0() const
bool solveOscillationEq() const
const dimensionedScalar mu
Atomic mass unit.
virtual ~BreakupModel()
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated break-up model class.
Macros to ease declaration of run-time selection tables.
const scalar & TABCmu() const
Templated base class for dsmc cloud.
const scalar & yDot0() const