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

@ -21,28 +21,24 @@ boundary
side1
{
type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall1;
}
side2
{
type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall2;
}
side3
{
type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall3;
}
side4
{
type patch;
ownerPolyPatch ceiling;
neighbourPolyPatch fixedWall4;
}
}

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant/faMesh";
object faMeshDefinition;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -21,35 +21,35 @@ boundary
inlet
{
type patch;
ownerPolyPatch film;
//ownerPolyPatch film;
neighbourPolyPatch inlet;
}
outlet
{
type patch;
ownerPolyPatch film;
//ownerPolyPatch film;
neighbourPolyPatch outlet;
}
side
{
type patch;
ownerPolyPatch film;
//ownerPolyPatch film;
neighbourPolyPatch side;
}
symmetry
{
type patch;
ownerPolyPatch film;
//ownerPolyPatch film;
neighbourPolyPatch bottom;
}
cylinder
{
type patch;
ownerPolyPatch film;
//ownerPolyPatch film;
neighbourPolyPatch cylinder;
}
}

View File

@ -21,21 +21,21 @@ boundary
inlet
{
type patch;
ownerPolyPatch base;
//ownerPolyPatch base;
neighbourPolyPatch inlet;
}
outlet
{
type patch;
ownerPolyPatch base;
//ownerPolyPatch base;
neighbourPolyPatch outlet;
}
sides
{
type patch;
ownerPolyPatch base;
//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;
//ownerPolyPatch base;
neighbourPolyPatch inlet;
}
outlet
{
type patch;
ownerPolyPatch base;
//ownerPolyPatch base;
neighbourPolyPatch outlet;
}
sides
{
type patch;
ownerPolyPatch base;
//ownerPolyPatch base;
neighbourPolyPatch sides;
}
}