51 "snGradCorr("+vf.
name()+
')',
60 auto& ssf = tssf.ref();
80 mesh.deltaCoeffs().internalField();
113 kPI -= Sf*(Sf&kPI)/
sqr(magSf);
116 kNI -= Sf*(Sf&kNI)/
sqr(magSf);
123 mesh.boundary()[patchI].Cf()
124 -
mesh.boundary()[patchI].Cn();
127 mesh.boundary()[patchI].Sf()
129 mesh.boundary()[patchI].Sf()
132 /
sqr(
mesh.boundary()[patchI].magSf());
135 mesh.Cf().boundaryField()[patchI]
137 mesh.boundary()[patchI].Cn()
138 +
mesh.boundary()[patchI].delta()
142 mesh.boundary()[patchI].Sf()
144 mesh.boundary()[patchI].Sf()
147 /
sqr(
mesh.boundary()[patchI].magSf());
151 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; ++cmpt)
158 mesh.gradScheme(
"grad(" + vf.
name() +
')')
167 ssf.ref().
field().replace
178 forAll(ssf.boundaryField(), patchI)
180 if (ssf.boundaryField()[patchI].coupled())
182 ssf.boundaryFieldRef()[patchI].replace
189 .patchNeighbourField()
194 .patchInternalField()
197 *
mesh.deltaCoeffs().boundaryField()[patchI]
234 "snGradCorr("+vf.
name()+
')',
243 auto& ssf = tssf.ref();
246 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; ++cmpt)
Graphite solid properties.
const dimensionSet & dimensions() const
Return dimensions.
const Field< Type > & field() const
Return field.
Generic GeometricField class.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const Internal & internalField() const
Return a const-reference to the dimensioned internal field.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
const fileName & instance() const noexcept
Read access to instance path component.
Generic dimensioned Type class.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for gradient schemes.
Surface gradient scheme with skewness and full explicit non-orthogonal corrections.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > fullGradCorrection(const GeometricField< Type, fvPatchField, volMesh > &) const
A class for managing temporary objects.
Calculate the gradient of the given field.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.