BUG: faOption-limitVelocity: remove remnants of fvOption

COMP: ensure compilation of faOption-limitVelocity
This commit is contained in:
sergio
2021-08-03 08:28:52 -07:00
committed by Andrew Heather
parent eabafe5f9e
commit 9e8fd66ed2
2 changed files with 6 additions and 1 deletions

View File

@ -13,4 +13,9 @@ $(derivedSources)/jouleHeatingSource/jouleHeatingSource.C
$(derivedSources)/contactHeatFluxSource/contactHeatFluxSource.C $(derivedSources)/contactHeatFluxSource/contactHeatFluxSource.C
$(derivedSources)/externalFileSource/externalFileSource.C $(derivedSources)/externalFileSource/externalFileSource.C
/* Corrections */
corrections=corrections
$(corrections)/limitVelocity/limitVelocity.C
LIB = $(FOAM_LIBBIN)/libfaOptions LIB = $(FOAM_LIBBIN)/libfaOptions

View File

@ -96,7 +96,7 @@ void Foam::fa::limitVelocity::correct(areaVectorField& U)
} }
// Handle boundaries in the case of 'all' // Handle boundaries in the case of 'all'
if (!cellSetOption::useSubMesh()) if (!faceSetOption::useSubMesh())
{ {
for (faPatchVectorField& Up : U.boundaryFieldRef()) for (faPatchVectorField& Up : U.boundaryFieldRef())
{ {