31template<
class RhoFieldType>
32void Foam::porosityModels::powerLaw::apply
36 const RhoFieldType&
rho,
40 const scalar C0 = C0_;
41 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
47 for (
const label celli :
cells)
56template<
class RhoFieldType>
57void Foam::porosityModels::powerLaw::apply
60 const RhoFieldType&
rho,
64 const scalar C0 = C0_;
65 const scalar C1m1b2 = (C1_ - 1.0)/2.0;
67 for (
const label zonei : cellZoneIDs_)
71 for (
const label celli :
cells)
const fvMesh & mesh_
Reference to the mesh database.
labelList cellZoneIDs_
Cell zone IDs.
const expr V(m.psi().mesh().V())
List< label > labelList
A List of labels.
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< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)