62 <<
"Discretisation scheme not specified"
64 <<
"Valid schemes are :" <<
nl
65 << MeshConstructorTablePtr_->sortedToc()
69 const word schemeName(schemeData);
71 auto* ctorPtr = MeshConstructorTable(schemeName);
80 *MeshConstructorTablePtr_
84 return ctorPtr(
mesh, schemeData);
96 const word& snGradName
108 snGradName +
"("+vf.
name()+
')',
131 deltaCoeffs[facei]*(vf[neighbour[facei]] - vf[owner[facei]]);
143 ssfbf[patchi] = pvf.
snGrad(tdeltaCoeffs().boundaryField()[patchi]);
147 ssfbf[patchi] = pvf.
snGrad();
160 const word& sndGradName
163 return snGrad(vf, vf.
mesh().nonOrthDeltaCoeffs(), sndGradName);
176 snGrad(vf, deltaCoeffs(vf))
const dimensionSet & dimensions() const
Return dimensions.
const Mesh & mesh() const
Return mesh.
void setOriented(const bool oriented=true) noexcept
Set the oriented flag.
Generic GeometricField class.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary 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.
bool eof() const noexcept
True if end of input seen.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual bool coupled() const
Return true if this patch field is coupled.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > sndGrad(const GeometricField< Type, fvPatchField, volMesh > &, const word &snGradName="sndGrad")
Return the sndGrad of the given cell field.
A class for managing temporary objects.
void clear() const noexcept
A class for handling words, derived from Foam::string.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define InfoInFunction
Report an information message using Foam::Info.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.