Go to the documentation of this file.
26 #include "solidRegionDiffNo.H"
38 scalar meanDiNum = 0.0;
44 mesh.surfaceInterpolation::deltaCoeffs()
49 DiNum =
gMax(kapparhoCpbyDelta.internalField())*runTime.deltaT().value();
51 meanDiNum = (
average(kapparhoCpbyDelta)).value()*runTime.deltaT().value();
53 Info<<
"Region: " <<
mesh.name() <<
" Diffusion Number mean: " << meanDiNum
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
scalar solidRegionDiffNo(const fvMesh &mesh, const Time &runTime, const volScalarField &Cprho, const volScalarField &kappa)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Type gMax(const FieldField< Field, Type > &f)