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()) {