From 11cb6dafc53a5d3ce3292dc3135bfc0f7378907e Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 2 Nov 2020 10:15:59 +0000 Subject: [PATCH] Minor updates to schemes and boundary conditions --- .../SRFTotalPressureFvPatchScalarField.C | 4 ++-- .../multivariateSchemes/Gamma/multivariateGamma.C | 9 +++++++++ .../multivariateScheme/multivariateScheme.H | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/finiteVolume/cfdTools/general/SRF/derivedFvPatchFields/SRFTotalPressure/SRFTotalPressureFvPatchScalarField.C b/src/finiteVolume/cfdTools/general/SRF/derivedFvPatchFields/SRFTotalPressure/SRFTotalPressureFvPatchScalarField.C index 0ada33097..23cf15053 100644 --- a/src/finiteVolume/cfdTools/general/SRF/derivedFvPatchFields/SRFTotalPressure/SRFTotalPressureFvPatchScalarField.C +++ b/src/finiteVolume/cfdTools/general/SRF/derivedFvPatchFields/SRFTotalPressure/SRFTotalPressureFvPatchScalarField.C @@ -170,8 +170,8 @@ void SRFTotalPressureFvPatchScalarField::updateCoeffs(const vectorField& Up) return; } - const fvsPatchField& phip = - patch().lookupPatchField(phiName_); + const fvsPatchScalarField& phip = + lookupPatchField(phiName_); if (psiName_ == "none" && rhoName_ == "none") { diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/Gamma/multivariateGamma.C b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/Gamma/multivariateGamma.C index bdd302c36..70384043d 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/Gamma/multivariateGamma.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/Gamma/multivariateGamma.C @@ -37,6 +37,15 @@ namespace Foam Gamma, GammaLimiter ) + + makeLLimitedMultivariateSurfaceInterpolationScheme + ( + Gamma01, + Limited01Limiter, + GammaLimiter, + NVDTVD, + magSqr + ) } // ************************************************************************* // diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H index bc2367232..75ff52540 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H @@ -45,7 +45,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Class multivariateScheme Declaration + Class multivariateScheme Declaration \*---------------------------------------------------------------------------*/ template