TUT: use simpler faMeshDefinition

This commit is contained in:
Mark Olesen 2022-09-20 12:14:34 +02:00
parent 84db37f62f
commit 1695f2f5b9
13 changed files with 55 additions and 63 deletions

View File

@ -6,8 +6,6 @@ cd "${0%/*}" || exit # Run from this directory
cleanCase0 cleanCase0
rm -rf constant/boundaryData rm -rf constant/boundaryData
rm -f constant/faMesh/faceLabels
rm -f constant/faMesh/faBoundary
rm -rf constant/triSurface rm -rf constant/triSurface
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

View File

@ -14,13 +14,13 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( window ); polyMeshPatches ( window );
boundary boundary
{ {
sealing sealing
{ {
type patch; type patch;
neighbourPolyPatch fixedWall; neighbourPolyPatch fixedWall;
} }
} }

View File

@ -14,37 +14,37 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( film ); polyMeshPatches ( film );
boundary boundary
{ {
inlet inlet
{ {
type patch; type patch;
neighbourPolyPatch inlet; neighbourPolyPatch inlet;
} }
outlet outlet
{ {
type patch; type patch;
neighbourPolyPatch outlet; neighbourPolyPatch outlet;
} }
side side
{ {
type patch; type patch;
neighbourPolyPatch side; neighbourPolyPatch side;
} }
symmetry symmetry
{ {
type symmetry; type symmetry;
neighbourPolyPatch symmetry; neighbourPolyPatch symmetry;
} }
cylinder cylinder
{ {
type patch; type patch;
neighbourPolyPatch cylinder; neighbourPolyPatch cylinder;
} }
} }
@ -52,8 +52,8 @@ boundary
defaultPatch defaultPatch
{ {
name empty; name empty;
type empty; type empty;
} }

View File

@ -14,7 +14,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( outer ); polyMeshPatches ( outer );
boundary boundary
{ {

View File

@ -14,7 +14,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( "top.*" ); polyMeshPatches ( "top.*" );
boundary boundary
{ {

View File

@ -14,35 +14,31 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches (ceiling); polyMeshPatches ( ceiling );
boundary boundary
{ {
side1 side1
{ {
type patch; type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall1; neighbourPolyPatch fixedWall1;
} }
side2 side2
{ {
type patch; type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall2; neighbourPolyPatch fixedWall2;
} }
side3 side3
{ {
type patch; type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall3; neighbourPolyPatch fixedWall3;
} }
side4 side4
{ {
type patch; type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall4; neighbourPolyPatch fixedWall4;
} }
} }

View File

@ -14,25 +14,25 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( top ); polyMeshPatches ( top );
boundary boundary
{ {
left left
{ {
type patch; type patch;
neighbourPolyPatch left; neighbourPolyPatch left;
} }
right right
{ {
type patch; type patch;
neighbourPolyPatch right; neighbourPolyPatch right;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;
neighbourPolyPatch frontAndBack; neighbourPolyPatch frontAndBack;
} }
} }

View File

@ -14,13 +14,13 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( freeSurface ); polyMeshPatches ( freeSurface );
boundary boundary
{ {
frontAndBack frontAndBack
{ {
type empty; type empty;
neighbourPolyPatch frontAndBack; neighbourPolyPatch frontAndBack;
} }
} }

View File

@ -10,30 +10,29 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
location "constant/faMesh";
object faMeshDefinition; object faMeshDefinition;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( film ); polyMeshPatches ( film );
boundary boundary
{ {
inlet inlet
{ {
type patch; type patch;
neighbourPolyPatch inlet; neighbourPolyPatch inlet;
} }
outlet outlet
{ {
type patch; type patch;
neighbourPolyPatch outlet; neighbourPolyPatch outlet;
} }
side side
{ {
type patch; type patch;
neighbourPolyPatch side; neighbourPolyPatch side;
} }
} }

View File

@ -14,42 +14,42 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( film ); polyMeshPatches ( film );
boundary boundary
{ {
inlet inlet
{ {
type patch; type patch;
ownerPolyPatch film; //ownerPolyPatch film;
neighbourPolyPatch inlet; neighbourPolyPatch inlet;
} }
outlet outlet
{ {
type patch; type patch;
ownerPolyPatch film; //ownerPolyPatch film;
neighbourPolyPatch outlet; neighbourPolyPatch outlet;
} }
side side
{ {
type patch; type patch;
ownerPolyPatch film; //ownerPolyPatch film;
neighbourPolyPatch side; neighbourPolyPatch side;
} }
symmetry symmetry
{ {
type patch; type patch;
ownerPolyPatch film; //ownerPolyPatch film;
neighbourPolyPatch bottom; neighbourPolyPatch bottom;
} }
cylinder cylinder
{ {
type patch; type patch;
ownerPolyPatch film; //ownerPolyPatch film;
neighbourPolyPatch cylinder; neighbourPolyPatch cylinder;
} }
} }

View File

@ -20,19 +20,19 @@ boundary
{ {
left left
{ {
type patch; type patch;
neighbourPolyPatch left; neighbourPolyPatch left;
} }
right right
{ {
type patch; type patch;
neighbourPolyPatch right; neighbourPolyPatch right;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;
neighbourPolyPatch frontAndBack; neighbourPolyPatch frontAndBack;
} }
} }

View File

@ -14,28 +14,28 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches ( base ); polyMeshPatches ( base );
boundary boundary
{ {
inlet inlet
{ {
type patch; type patch;
ownerPolyPatch base; //ownerPolyPatch base;
neighbourPolyPatch inlet; neighbourPolyPatch inlet;
} }
outlet outlet
{ {
type patch; type patch;
ownerPolyPatch base; //ownerPolyPatch base;
neighbourPolyPatch outlet; neighbourPolyPatch outlet;
} }
sides sides
{ {
type patch; type patch;
ownerPolyPatch base; //ownerPolyPatch base;
neighbourPolyPatch sides; neighbourPolyPatch sides;
} }
} }

View File

@ -10,33 +10,32 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
location "constant/faMesh";
object faMeshDefinition; object faMeshDefinition;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshPatches 1( base ); polyMeshPatches ( base );
boundary boundary
{ {
inlet inlet
{ {
type patch; type patch;
ownerPolyPatch base; //ownerPolyPatch base;
neighbourPolyPatch inlet; neighbourPolyPatch inlet;
} }
outlet outlet
{ {
type patch; type patch;
ownerPolyPatch base; //ownerPolyPatch base;
neighbourPolyPatch outlet; neighbourPolyPatch outlet;
} }
sides sides
{ {
type patch; type patch;
ownerPolyPatch base; //ownerPolyPatch base;
neighbourPolyPatch sides; neighbourPolyPatch sides;
} }
} }