27 #include "surfaceInterpolate.H" 41 sqr(mesh.surfaceInterpolation::deltaCoeffs())
46 const scalar DiNum =
max(kapparhoCpbyDelta).value()*runTime.deltaTValue();
47 const scalar meanDiNum =
48 average(kapparhoCpbyDelta).value()*runTime.deltaTValue();
50 Info<<
"Region: " << mesh.name() <<
" Diffusion Number mean: " << meanDiNum
51 <<
" max: " << DiNum <<
endl;
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
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)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
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