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
|
||||
|
||||
rm -rf constant/boundaryData
|
||||
rm -f constant/faMesh/faceLabels
|
||||
rm -f constant/faMesh/faBoundary
|
||||
rm -rf constant/triSurface
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -14,13 +14,13 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( window );
|
||||
polyMeshPatches ( window );
|
||||
|
||||
boundary
|
||||
{
|
||||
sealing
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch fixedWall;
|
||||
}
|
||||
}
|
||||
|
@ -14,37 +14,37 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( film );
|
||||
polyMeshPatches ( film );
|
||||
|
||||
boundary
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch inlet;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch outlet;
|
||||
}
|
||||
|
||||
side
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch side;
|
||||
}
|
||||
|
||||
symmetry
|
||||
{
|
||||
type symmetry;
|
||||
type symmetry;
|
||||
neighbourPolyPatch symmetry;
|
||||
}
|
||||
|
||||
cylinder
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch cylinder;
|
||||
}
|
||||
}
|
||||
@ -52,8 +52,8 @@ boundary
|
||||
|
||||
defaultPatch
|
||||
{
|
||||
name empty;
|
||||
type empty;
|
||||
name empty;
|
||||
type empty;
|
||||
}
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( outer );
|
||||
polyMeshPatches ( outer );
|
||||
|
||||
boundary
|
||||
{
|
||||
|
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( "top.*" );
|
||||
polyMeshPatches ( "top.*" );
|
||||
|
||||
boundary
|
||||
{
|
||||
|
@ -14,35 +14,31 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches (ceiling);
|
||||
polyMeshPatches ( ceiling );
|
||||
|
||||
boundary
|
||||
{
|
||||
side1
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch ceiling;
|
||||
type patch;
|
||||
neighbourPolyPatch fixedWall1;
|
||||
}
|
||||
|
||||
side2
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch ceiling;
|
||||
type patch;
|
||||
neighbourPolyPatch fixedWall2;
|
||||
}
|
||||
|
||||
side3
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch ceiling;
|
||||
type patch;
|
||||
neighbourPolyPatch fixedWall3;
|
||||
}
|
||||
|
||||
side4
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch ceiling;
|
||||
type patch;
|
||||
neighbourPolyPatch fixedWall4;
|
||||
}
|
||||
}
|
||||
|
@ -14,25 +14,25 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( top );
|
||||
polyMeshPatches ( top );
|
||||
|
||||
boundary
|
||||
{
|
||||
left
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch left;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch right;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
type empty;
|
||||
neighbourPolyPatch frontAndBack;
|
||||
}
|
||||
}
|
||||
|
@ -14,13 +14,13 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( freeSurface );
|
||||
polyMeshPatches ( freeSurface );
|
||||
|
||||
boundary
|
||||
{
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
type empty;
|
||||
neighbourPolyPatch frontAndBack;
|
||||
}
|
||||
}
|
||||
|
@ -10,30 +10,29 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant/faMesh";
|
||||
object faMeshDefinition;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( film );
|
||||
polyMeshPatches ( film );
|
||||
|
||||
boundary
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch inlet;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch outlet;
|
||||
}
|
||||
|
||||
side
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch side;
|
||||
}
|
||||
}
|
||||
|
@ -14,42 +14,42 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( film );
|
||||
polyMeshPatches ( film );
|
||||
|
||||
boundary
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch film;
|
||||
type patch;
|
||||
//ownerPolyPatch film;
|
||||
neighbourPolyPatch inlet;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch film;
|
||||
type patch;
|
||||
//ownerPolyPatch film;
|
||||
neighbourPolyPatch outlet;
|
||||
}
|
||||
|
||||
side
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch film;
|
||||
type patch;
|
||||
//ownerPolyPatch film;
|
||||
neighbourPolyPatch side;
|
||||
}
|
||||
|
||||
symmetry
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch film;
|
||||
type patch;
|
||||
//ownerPolyPatch film;
|
||||
neighbourPolyPatch bottom;
|
||||
}
|
||||
|
||||
cylinder
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch film;
|
||||
type patch;
|
||||
//ownerPolyPatch film;
|
||||
neighbourPolyPatch cylinder;
|
||||
}
|
||||
}
|
||||
|
@ -20,19 +20,19 @@ boundary
|
||||
{
|
||||
left
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch left;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type patch;
|
||||
type patch;
|
||||
neighbourPolyPatch right;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
type empty;
|
||||
neighbourPolyPatch frontAndBack;
|
||||
}
|
||||
}
|
||||
|
@ -14,28 +14,28 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches ( base );
|
||||
polyMeshPatches ( base );
|
||||
|
||||
boundary
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch base;
|
||||
type patch;
|
||||
//ownerPolyPatch base;
|
||||
neighbourPolyPatch inlet;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch base;
|
||||
type patch;
|
||||
//ownerPolyPatch base;
|
||||
neighbourPolyPatch outlet;
|
||||
}
|
||||
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch base;
|
||||
type patch;
|
||||
//ownerPolyPatch base;
|
||||
neighbourPolyPatch sides;
|
||||
}
|
||||
}
|
||||
|
@ -10,33 +10,32 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant/faMesh";
|
||||
object faMeshDefinition;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
polyMeshPatches 1( base );
|
||||
polyMeshPatches ( base );
|
||||
|
||||
boundary
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch base;
|
||||
type patch;
|
||||
//ownerPolyPatch base;
|
||||
neighbourPolyPatch inlet;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch base;
|
||||
type patch;
|
||||
//ownerPolyPatch base;
|
||||
neighbourPolyPatch outlet;
|
||||
}
|
||||
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
ownerPolyPatch base;
|
||||
type patch;
|
||||
//ownerPolyPatch base;
|
||||
neighbourPolyPatch sides;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user