28 template<
class RhoFieldType>
29 void Foam::porosityModels::powerLaw::apply
33 const RhoFieldType&
rho,
39 const scalar C0 = C0_;
40 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
52 template<
class RhoFieldType>
53 void Foam::porosityModels::powerLaw::apply
56 const RhoFieldType&
rho,
62 const scalar C0 = C0_;
63 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
#define forAll(list, i)
Loop across all elements in list.
const cellZoneList & cellZones() const
Return cell zones.
const fvMesh & mesh_
Reference to the mesh database.
word zoneName_
Name of cellZone.
volScalarField scalarField(fieldObject, mesh)
volVectorField vectorField(fieldObject, mesh)
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static const Identity< scalar > I
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Field< vector > vectorField
Specialisation of Field<T> for vector.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
dimensioned< scalar > magSqr(const dimensioned< Type > &)