67 #define DECLARE_CARRIER_FIELDS(Type, nullArg) \
68 mutable PtrDictionary<CarrierField<Type>> \
69 CAT3(carrier, CAPITALIZE(Type), Fields_);
71 #undef DECLARE_CARRIER_FIELDS
74 #define DECLARE_CARRIER_EQNS(Type, nullArg) \
75 mutable PtrDictionary<CarrierEqn<Type>> \
76 CAT3(carrier, CAPITALIZE(Type), Eqns_);
78 #undef DECLARE_CARRIER_EQNS
81 mutable autoPtr<volVectorField> dUdtcPtr_;
87 virtual tmp<LagrangianSubScalarField> calcNuc
89 const LagrangianModelRef& model,
90 const LagrangianSubMesh& subMesh
95 PtrDictionary<CarrierField<Type>>& carrierFields()
const;
98 void clearCarrierFields();
101 void resetCarrierFields(
const bool predict);
105 PtrDictionary<CarrierEqn<Type>>& carrierEqns()
const;
108 autoPtr<volVectorField> readDUdtc(
const cloud&
c)
const;
174 template<
class Type,
class ... Args>
Class to store the coefficients of a term in a carrier equation.
A field interpolated from the carrier to the cloud. Uses CloudDerivedField to provide flexible access...
Generic GeometricField class.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Base class for clouds which are coupled to a fluid.
CarrierEqn< Type > & carrierEqn(const VolField< Type > &)
Add/get a carrier equation to/from the cache.
void initialise(const bool predict)
Initialisation hook.
const CarrierField< Type > & carrierField(const VolField< Type > &) const
Add/get a carrier field to/from the cache.
const CarrierField< vector > & DUDtc
Carrier advective derivative.
TypeName("coupled")
Run-time type information.
static word carrierName(const word &name)
Modify a name to disambiguate it as relating to the carrier.
coupled(const cloud &c)
Construct from a reference to the cloud.
void clearCarrierEqns()
Clear the carrier equations.
const CloudDerivedField< scalar > & nuc
Carrier kinematic viscosity.
const CarrierField< vector > & Uc
Carrier velocity.
void partition()
Partition hook.
virtual ~coupled()
Destructor.
const CarrierField< vector > & curlUc
Carrier velocity curl.
A class for handling words, derived from string.
#define DECLARE_CARRIER_EQNS(Type, nullArg)
Carrier equations.
#define DECLARE_CARRIER_FIELDS(Type, nullArg)
Carrier fields.
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)