generic.*Patch: Moved to new genericPatches library

genericPatches is linked into mesh generation and manipulation utilities but not
solvers so that the solvers now check for the availability of the specified
patch types.  Bugs in the tutorials exposed by this check have been corrected.
This commit is contained in:
Henry Weller
2023-03-03 09:03:47 +00:00
parent 46e312679e
commit 25dd524c84
55 changed files with 59 additions and 13 deletions

View File

@ -8,6 +8,7 @@ EXE_LIBS = \
-lcompressibleMomentumTransportModels \
-lfluidThermophysicalModels \
-lmeshTools \
-lgenericPatches \
-ldynamicMesh \
-lfiniteVolume \
-lfvModels

View File

@ -7,5 +7,6 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lmeshTools \
-lgenericPatches \
-ltriSurface \
-llagrangian

View File

@ -6,4 +6,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lmeshTools \
-lgenericPatches \
-lfiniteVolume

View File

@ -6,4 +6,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lgenericPatches \
-ldynamicMesh

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-lmeshTools \
-lgenericPatches \
-ldynamicMesh

View File

@ -7,5 +7,6 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lmeshTools \
-lgenericPatches \
-lfiniteVolume \
-lgenericPatchFields

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lgenericPatches \
-lmeshTools

View File

@ -8,5 +8,6 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lmeshTools \
-lgenericPatches \
-ltriSurface \
-llagrangian

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -5,5 +5,6 @@ EXE_INC = \
EXE_LIBS = \
-lmeshTools \
-lgenericPatches \
-ldynamicMesh \
-lconversion

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-lmeshTools \
-lgenericPatches \
-ldynamicMesh

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-lmeshTools \
-lgenericPatches \
-lsurfMesh

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lconversion

View File

@ -2,4 +2,5 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
-lgenericPatches \
-lmeshTools

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lconversion

View File

@ -11,4 +11,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lconversion

View File

@ -7,5 +7,6 @@ EXE_INC = \
EXE_LIBS = \
-lblockMesh \
-lmeshTools \
-lgenericPatches \
-lfileFormats \
-ldynamicMesh

View File

@ -9,4 +9,5 @@ EXE_LIBS = \
-lsurfMesh \
-ldynamicMesh \
-lextrude2DMesh \
-lgenericPatches \
-lextrudeModel

View File

@ -11,4 +11,5 @@ EXE_LIBS = \
-lsurfMesh \
-lmeshTools \
-ldynamicMesh \
-lgenericPatches \
-lextrudeModel

View File

@ -9,5 +9,6 @@ EXE_LIBS = \
-lfileFormats \
-lfiniteVolume \
-lmeshTools \
-lgenericPatches \
-ldynamicMesh \
-lextrudeModel

View File

@ -10,6 +10,7 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lgenericPatchFields \
-ldecompositionMethods \
-L$(FOAM_LIBBIN)/dummy -lscotchDecomp -lptscotchDecomp \
-lmeshTools \

View File

@ -3,4 +3,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -8,6 +8,7 @@ EXE_INC = \
EXE_LIBS = \
-lmeshTools \
-lgenericPatches \
-lsampling \
-lsurfMesh \
-ldynamicMesh

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -3,5 +3,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
\
-lgenericPatches \
-lmeshTools

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -5,4 +5,5 @@ EXE_INC = \
EXE_LIBS = \
-ltriSurface \
-lgenericPatches \
-lmeshTools

View File

@ -3,4 +3,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lfiniteVolume

View File

@ -5,5 +5,6 @@ EXE_INC = \
EXE_LIBS = \
-lmeshTools \
-lgenericPatches \
-lsnappyHexMesh \
-ltriSurface

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -2,4 +2,5 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \
-lgenericPatches \
-lfiniteVolume

View File

@ -6,4 +6,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lmeshTools \
-lgenericPatches \
-ldynamicMesh

View File

@ -4,4 +4,5 @@ EXE_INC = \
EXE_LIBS = \
-ldynamicMesh \
-lgenericPatches \
-lmeshTools

View File

@ -3,4 +3,5 @@ EXE_INC = \
EXE_LIBS = \
-lfiniteVolume \
-lgenericPatches \
-lmeshTools

View File

@ -6,4 +6,5 @@ EXE_INC = \
#EXE_INC += -DDEBUG_ORDER
EXE_LIBS = \
-lgenericPatches \
-lmeshTools

View File

@ -29,6 +29,7 @@ wmake $targetType OpenFOAM
wmake $targetType fileFormats
wmake $targetType surfMesh
wmake $targetType triSurface
wmake $targetType genericPatches
wmake $targetType meshTools
# Decomposition methods needed by dummyThirdParty

View File

@ -478,7 +478,6 @@ $(polyPatches)/polyPatch/polyPatchNew.C
basicPolyPatches = $(polyPatches)/basic
$(basicPolyPatches)/coupled/coupledPolyPatch.C
$(basicPolyPatches)/generic/genericPolyPatch.C
constraintPolyPatches = $(polyPatches)/constraint
$(constraintPolyPatches)/cyclic/cyclicTransform.C
@ -606,7 +605,6 @@ $(pointPatches)/facePointPatch/facePointPatchNew.C
basicPointPatches = $(pointPatches)/basic
$(basicPointPatches)/coupled/coupledPointPatch.C
$(basicPointPatches)/generic/genericPointPatch.C
constraintPointPatches = $(pointPatches)/constraint
$(constraintPointPatches)/cyclic/cyclicPointPatch.C

View File

@ -16,7 +16,6 @@ $(fvPatches)/fvPatch/fvPatchNew.C
basicFvPatches = $(fvPatches)/basic
$(basicFvPatches)/coupled/coupledFvPatch.C
$(basicFvPatches)/generic/genericFvPatch.C
constraintFvPatches = $(fvPatches)/constraint
$(constraintFvPatches)/cyclic/cyclicFvPatch.C

View File

@ -1,3 +1,4 @@
genericFvPatch/genericFvPatch.C
genericPatchField/genericPatchField.C
genericFvPatchField/genericFvPatchFields.C
genericPointPatchField/genericPointPatchFields.C

View File

@ -1,5 +1,7 @@
EXE_INC = \
-I$(LIB_SRC)/genericPatches/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude
LIB_LIBS = \
-lgenericPatches \
-lfiniteVolume

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -0,0 +1,4 @@
genericPolyPatch/genericPolyPatch.C
genericPointPatch/genericPointPatch.C
LIB = $(FOAM_LIBBIN)/libgenericPatches

View File

@ -0,0 +1,3 @@
EXE_INC =
LIB_LIBS =

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Copy the source case
isTest "$@" && path=.. || path=$FOAM_TUTORIALS/modules/isothermalFilm
path=$FOAM_TUTORIALS/modules/isothermalFilm
cp -r $path/rivuletPanel/constant .
cp -r $path/rivuletPanel/system .
cp -r $path/rivuletPanel/0 .

View File

@ -60,7 +60,7 @@ castellatedMeshControls
patch0
{
level (2 2);
patchInfo { type slip; }
patchInfo { type wall; }
}
patch1

View File

@ -136,7 +136,7 @@ boundary
(
inlet
{
type pacth;
type patch;
faces
(
(0 1 2 3)