by introducing rational base-classes rather than using the hideous 'switch' statement. Further rationalization of the cell-selection mechanism will be implemented via an appropriate class hierarchy to replace the remaining 'switch' statement. Mesh-motion is currently handled very inefficiently for cellSets and not at all for inter-region coupling. The former will be improved when the cell-selection classes are written and the latter by making the meshToMesh class a MeshObject after it has been corrected for mapFields.
63 lines
1.7 KiB
C++
63 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format binary;
|
|
class polyBoundaryMesh;
|
|
location "constant/polyMesh";
|
|
object boundary;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
6
|
|
(
|
|
front
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 700;
|
|
startFace 63400;
|
|
}
|
|
back
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 700;
|
|
startFace 64100;
|
|
}
|
|
walls
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 1400;
|
|
startFace 64800;
|
|
}
|
|
porosityWall
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 1600;
|
|
startFace 66200;
|
|
}
|
|
inlet
|
|
{
|
|
type patch;
|
|
nFaces 400;
|
|
startFace 67800;
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
nFaces 400;
|
|
startFace 68200;
|
|
}
|
|
)
|
|
|
|
// ************************************************************************* //
|