38 scalar meanDiNum = 0.0;
44 mesh.surfaceInterpolation::deltaCoeffs()
49 DiNum =
gMax(kapparhoCpbyDelta.primitiveField())*runTime.deltaT().value();
51 meanDiNum = (
average(kapparhoCpbyDelta)).value()*runTime.deltaT().value();
53 Info<<
"Region: " << mesh.name() <<
" Diffusion Number mean: " << meanDiNum
54 <<
" max: " << DiNum <<
endl;
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Calculates and outputs the mean and maximum Diffusion Numbers for the solid regions.
scalar solidRegionDiffNo(const fvMesh &mesh, const Time &runTime, const volScalarField &Cprho, const volScalarField &kappa)
Type gMax(const FieldField< Field, Type > &f)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField