32 template<
class Type,
class Scheme>
49 Scheme::LimiterType(schemeData),
55 "multivariateWeights",
56 mesh.time().timeName(),
64 fieldTable::const_iterator iter = this->
fields().begin();
68 Scheme(mesh, faceFlux_, *
this).
limiter(*iter())
71 for (++iter; iter != this->
fields().end(); ++iter)
76 Scheme(mesh, faceFlux_, *
this).
limiter(*iter())
81 limiter*mesh.surfaceInterpolation::weights()
tmp< surfaceScalarField > weights() const
Return the interpolation weighting factors.
multivariateScheme(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
Construct for field, faceFlux and Istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const dimensionSet dimless
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void limiter(surfaceScalarField &lambda, const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phiBD, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, p_rgh, pimple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p_rgh.name());hydrostaticInitialisation(p_rgh, p, rho, U, gh, ghf, pRef, thermo, pimple.dict());Info<< "Creating field dpdt\"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar(p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\"<< endl;volScalarField K("K", 0.5 *magSqr(U));dimensionedScalar initialMass=fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Upwind interpolation scheme class.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for multi-variate surface interpolation schemes.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...