This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/mesh/cfMesh/cartesianMesh/singleOrifice/system/meshDict

111 lines
2.1 KiB
Text
Raw Normal View History

2014-11-09 00:10:28 +00:00
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2015-05-15 13:57:39 +00:00
| \\ / F ield | cfMesh: A library for mesh generation |
2014-11-09 00:10:28 +00:00
| \\ / O peration | |
2015-05-15 13:57:39 +00:00
| \\ / A nd | Author: Franjo Juretic |
2014-11-09 00:10:28 +00:00
| \\/ M anipulation | E-mail: franjo.juretic@c-fields.com |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object meshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
surfaceFile "singleOrifice.stl";
maxCellSize 3.0;
boundaryCellSize 1.0;
minCellSize 0.50;
2015-07-14 12:21:40 +00:00
anisotropicSources
{
Plane
{
type plane;
origin (0 0 -20);
normal (0 0 1);
scalingDistance 45;
scalingFactor 2;
}
}
2014-11-09 00:10:28 +00:00
localRefinement
{
"orificeRegion.*"
{
cellSize 0.2;
2015-05-15 13:57:39 +00:00
}
2014-11-09 00:10:28 +00:00
}
boundaryLayers
{
// nLayers 3;
// thicknessRatio 1.2;
// maxFirstLayerThickness 0.5;
patchBoundaryLayers
{
"orificeRegion.*"
{
nLayers 4;
thicknessRatio 1.2;
maxFirstLayerThickness 0.2;
allowDiscontinuity 0;
}
"fixedWalls.*"
2014-11-09 00:10:28 +00:00
{
nLayers 4;
thicknessRatio 1.2;
maxFirstLayerThickness 0.5;
allowDiscontinuity 0;
}
}
}
renameBoundary
{
defaultName fixedWalls;
defaultType wall;
2014-11-09 00:10:28 +00:00
newPatchNames
{
"orificeRegion.*"
{
newName orificeRegion;
newType wall;
2014-11-09 00:10:28 +00:00
}
2015-05-15 13:57:39 +00:00
2014-11-09 00:10:28 +00:00
"inlet.*"
{
newName inlet;
newType patch;
}
"outlet.*"
{
newName outlet;
newType patch;
}
}
}
2015-05-15 13:57:39 +00:00
2014-11-09 00:10:28 +00:00
// ************************************************************************* //