67 const word carrierPhaseName_;
70 const word phaseName_;
73 #define DECLARE_CARRIER_FIELDS(Type, nullArg) \
74 mutable HashPtrTable<CarrierField<Type>> \
75 CAT3(carrier, CAPITALIZE(Type), Fields_);
77 #undef DECLARE_CARRIER_FIELDS
84 HashPtrTable<CarrierField<Type>>& carrierFields()
const;
87 autoPtr<volVectorField> readDUdtc(
const cloud&
c)
const;
179 template<
class Type,
class ... Args>
187 const word& symbolicName,
188 const word& descriptiveName,
#define DECLARE_CARRIER_FIELDS(Type, nullArg)
Carrier fields.
A field interpolated from the carrier to the cloud. Uses CloudDerivedField to provide flexible access...
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Base class for clouds which are carried by a fluid.
carried(const cloud &c, const dictionary &dict)
Construct from a reference to the cloud.
void clearCarrierFields()
Clear the carrier fields.
void resetCarrierFields(const bool initial)
Reset the carrier fields.
const CarrierField< Type > & carrierField(const VolField< Type > &) const
Add/get a carrier field to/from the cache.
const word phaseFieldName(const word &name)
Construct the name of a field associated with the carrier. I.e.,.
const CarrierField< vector > & UcPhase
Corresponding Eulerian phase velocity.
const CarrierField< vector > & DUDtc
Carrier advective derivative.
static word carrierNameToName(const word &namec)
Convert a disambiguated carrier name to its equivalent name. I.e.,.
const word & carrierPhaseName() const
Return the name of the carrier phase.
const CarrierField< Type > & noCarrierField(const word &symbolicName, const word &descriptiveName, const bool isPhase) const
Generate a carrier field reference using a functor that raises.
bool hasPhase() const
Return whether this cloud has a corresponding Eulerian phase.
static word nameToCarrierName(const word &name)
Convert a name to its disambiguated carrier equivalent name. I.e.,.
const word & phaseName(const bool strict=true) const
Return the name of the corresponding Eulerian phase.
TypeName("carried")
Run-time type information.
const CarrierField< vector > & Uc
Carrier velocity.
virtual ~carried()
Destructor.
const CarrierField< vector > & curlUc
Carrier velocity curl.
const word carrierPhaseFieldName(const word &name)
Construct the name of a field associated with the carrier. I.e.,.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
const char *const group
Group name for atomic constants.
const dimensionedScalar c
Speed of light in a vacuum.
VolField< vector > volVectorField
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Foam::argList args(argc, argv)