35 #include "volFields.H"
38 #include "addToRunTimeSelectionTable.H"
39 #include "coupledFvsPatchFields.H"
65 Info<<
"Selecting finite volume surface calculus stencil type " << fvscType << endl;
67 componentsConstructorTable::iterator cstrIter =
68 componentsConstructorTablePtr_->find(fvscType);
70 if (cstrIter == componentsConstructorTablePtr_->end())
74 "fvscStencil::New(const word&, const fvMesh&)"
75 ) <<
"Unknown Model type " << fvscType << nl << nl
76 <<
"Valid model types are:" << nl
77 << componentsConstructorTablePtr_->sortedToc()
81 return autoPtr<fvscStencil>
88 mesh.time().timeName(),
122 regIOobject(io, false),
124 mesh_(refCast<const fvMesh>(io.db())),
125 runTime_(mesh_.time()),
128 mesh_.Sf() / mesh_.magSf()
This is a method for calculation the differential operators without tangential derivatives. They are further used in the calculation of the QGD terms.
defineRunTimeSelectionTable(fvscStencil, components)
Methods calculating of differential operators.
static fvscStencil & lookupOrNew(const word &nname, const fvMesh &mesh)
static tmp<fvscStencil> lookupOrNew
fvscStencil(const IOobject &io)
Construct from components.
static autoPtr< fvscStencil > New(const word &name, const fvMesh &mesh)
Return a reference to the selected fvscStencil model.
static PtrList< fvscStencil > stencils_
defineTypeNameAndDebug(fvscStencil, 0)