28 #include "solidRegionDiffNo.H" 29 #include "surfaceInterpolate.H" 43 sqr(
mesh.surfaceInterpolation::deltaCoeffs())
48 const scalar
DiNum =
max(kapparhoCpbyDelta).value()*
runTime.deltaTValue();
49 const scalar meanDiNum =
52 Info<<
"Region: " <<
mesh.name() <<
" Diffusion Number mean: " << meanDiNum
scalar solidRegionDiffNo(const fvMesh &mesh, const Time &runTime, const volScalarField &Cprho, const volScalarField &kappa)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Area-weighted average a edgeField creating a areaField.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField