Minor updates to schemes and boundary conditions

This commit is contained in:
Hrvoje Jasak 2020-11-02 10:15:59 +00:00
parent d4af4d504f
commit 11cb6dafc5
3 changed files with 12 additions and 3 deletions

View file

@ -170,8 +170,8 @@ void SRFTotalPressureFvPatchScalarField::updateCoeffs(const vectorField& Up)
return; return;
} }
const fvsPatchField<scalar>& phip = const fvsPatchScalarField& phip =
patch().lookupPatchField<surfaceScalarField, scalar>(phiName_); lookupPatchField<surfaceScalarField, scalar>(phiName_);
if (psiName_ == "none" && rhoName_ == "none") if (psiName_ == "none" && rhoName_ == "none")
{ {

View file

@ -37,6 +37,15 @@ namespace Foam
Gamma, Gamma,
GammaLimiter GammaLimiter
) )
makeLLimitedMultivariateSurfaceInterpolationScheme
(
Gamma01,
Limited01Limiter,
GammaLimiter,
NVDTVD,
magSqr
)
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -45,7 +45,7 @@ namespace Foam
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class multivariateScheme Declaration Class multivariateScheme Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
template<class Type, class Scheme> template<class Type, class Scheme>