Base class for clouds with thermodynamic modelling. More...


Public Member Functions | |
| TypeName ("thermal") | |
| Run-time type information. More... | |
| thermal (const cloud &, const shaped &, const carried &) | |
| Construct from a reference to the cloud and its base classes. More... | |
| virtual | ~thermal () |
| Destructor. More... | |
| template<class Thermo , class ... Thermos> | |
| bool | isThermo () const |
| Determine whether the thermo model is one of the given types. More... | |
| template<class Thermo , class ... Thermos> | |
| void | assertThermo () const |
| Generate an error if the thermo model is not one of the given types. More... | |
| template<class Thermo , class ... Thermos> | |
| void | assertThermo (const LagrangianModel &model) const |
| Generate an error if the thermo model is not one of the given. More... | |
| template<class Thermo = basicLagrangianThermo, class ... Args> | |
| const Thermo & | thermo (const Args &... args) const |
| Get a reference to the thermodynamic model of a given type. More... | |
| template<class Thermo = basicLagrangianThermo, class ... Args> | |
| Thermo & | thermo (const Args &... args) |
| Non-const override of the above. More... | |
Public Member Functions inherited from massive | |
| TypeName ("massive") | |
| Run-time type information. More... | |
| virtual | ~massive () |
| Destructor. More... | |
Public Attributes | |
| const LagrangianScalarDynamicField & | T |
| Temperature. More... | |
| CloudStateFieldRef< scalar > | e |
| Internal energy. More... | |
| const LagrangianScalarDynamicField & | Cv |
| Heat capacity at constant volume. More... | |
| const LagrangianScalarDynamicField & | kappa |
| Thermal conductivity. More... | |
Public Attributes inherited from massive | |
| CloudStateFieldRef< scalar > | rho |
| Density. More... | |
| const CloudDerivedField< scalar > & | m |
| Mass. More... | |
Friends | |
| template<class Thermo > | |
| class | Thermal |
| Declare friendship with templated derivation. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from massive | |
| static const word | mName |
| Name of mass fields. More... | |
Protected Member Functions inherited from massive | |
| massive (const cloud &, const shaped &, LagrangianScalarDynamicField &) | |
| Construct from a reference to the cloud and its base classes and. More... | |
Base class for clouds with thermodynamic modelling.
| TypeName | ( | "thermal" | ) |
Run-time type information.
| bool isThermo |
Determine whether the thermo model is one of the given types.
Definition at line 46 of file thermalTemplates.C.
References Foam::isA().

| void assertThermo |
Generate an error if the thermo model is not one of the given types.
Definition at line 53 of file thermalTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and autoPtr< T >::operator()().

| void assertThermo | ( | const LagrangianModel & | model | ) | const |
Generate an error if the thermo model is not one of the given.
types. A model is provided to give the error message some context.
Definition at line 69 of file thermalTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, LagrangianModel::name(), and autoPtr< T >::operator()().

| const Thermo & thermo | ( | const Args &... | args | ) | const |
Get a reference to the thermodynamic model of a given type.
Definition at line 85 of file thermalTemplates.C.
References args.
Referenced by multicomponentParcel::multicomponentParcel(), multicomponentParticle::multicomponentParticle(), multicomponentThermal::multicomponentThermal(), parcel::parcel(), and particle::particle().

| Thermo & thermo | ( | const Args &... | args | ) |
|
friend |
| const LagrangianScalarDynamicField& T |
| CloudStateFieldRef<scalar> e |
| const LagrangianScalarDynamicField& Cv |
| const LagrangianScalarDynamicField& kappa |