From 9e8fd66ed2443946657a0071965e5bfadd4fbaba Mon Sep 17 00:00:00 2001 From: sergio Date: Tue, 3 Aug 2021 08:28:52 -0700 Subject: [PATCH] BUG: faOption-limitVelocity: remove remnants of fvOption COMP: ensure compilation of faOption-limitVelocity --- src/faOptions/Make/files | 5 +++++ src/faOptions/corrections/limitVelocity/limitVelocity.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/faOptions/Make/files b/src/faOptions/Make/files index cd8c59745d..af26eff51b 100644 --- a/src/faOptions/Make/files +++ b/src/faOptions/Make/files @@ -13,4 +13,9 @@ $(derivedSources)/jouleHeatingSource/jouleHeatingSource.C $(derivedSources)/contactHeatFluxSource/contactHeatFluxSource.C $(derivedSources)/externalFileSource/externalFileSource.C +/* Corrections */ +corrections=corrections + +$(corrections)/limitVelocity/limitVelocity.C + LIB = $(FOAM_LIBBIN)/libfaOptions diff --git a/src/faOptions/corrections/limitVelocity/limitVelocity.C b/src/faOptions/corrections/limitVelocity/limitVelocity.C index a7440549a6..8fbb5756c0 100644 --- a/src/faOptions/corrections/limitVelocity/limitVelocity.C +++ b/src/faOptions/corrections/limitVelocity/limitVelocity.C @@ -96,7 +96,7 @@ void Foam::fa::limitVelocity::correct(areaVectorField& U) } // Handle boundaries in the case of 'all' - if (!cellSetOption::useSubMesh()) + if (!faceSetOption::useSubMesh()) { for (faPatchVectorField& Up : U.boundaryFieldRef()) {