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
rm -rf constant/boundaryData
rm -f constant/faMesh/faceLabels
rm -f constant/faMesh/faBoundary
rm -rf constant/triSurface
# -----------------------------------------------------------------------------

View File

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

View File

@ -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;
}

View File

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

View File

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

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

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

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}