TUT: use simpler faMeshDefinition
This commit is contained in:
parent
84db37f62f
commit
1695f2f5b9
@ -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
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
@ -14,13 +14,13 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
polyMeshPatches ( window );
|
polyMeshPatches ( window );
|
||||||
|
|
||||||
boundary
|
boundary
|
||||||
{
|
{
|
||||||
sealing
|
sealing
|
||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
neighbourPolyPatch fixedWall;
|
neighbourPolyPatch fixedWall;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
polyMeshPatches ( outer );
|
polyMeshPatches ( outer );
|
||||||
|
|
||||||
boundary
|
boundary
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
polyMeshPatches ( "top.*" );
|
polyMeshPatches ( "top.*" );
|
||||||
|
|
||||||
boundary
|
boundary
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,13 +14,13 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
polyMeshPatches ( freeSurface );
|
polyMeshPatches ( freeSurface );
|
||||||
|
|
||||||
boundary
|
boundary
|
||||||
{
|
{
|
||||||
frontAndBack
|
frontAndBack
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
neighbourPolyPatch frontAndBack;
|
neighbourPolyPatch frontAndBack;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user