Go to the documentation of this file.
28 template<
class RhoFieldType>
33 const RhoFieldType&
rho,
37 const scalar C0 = C0_;
38 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
40 forAll(cellZoneIDs_, zoneI)
55 template<
class RhoFieldType>
59 const RhoFieldType&
rho,
63 const scalar C0 = C0_;
64 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
66 forAll(cellZoneIDs_, zoneI)
#define forAll(list, i)
Loop across all elements in list.
void apply(scalarField &Udiag, const scalarField &V, const RhoFieldType &rho, const vectorField &U) const
Apply resistance.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
static const sphericalTensor I(1)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< scalar > magSqr(const dimensioned< Type > &)