snappyHexMesh: 'refinementRegions', 'refinementSurfaces' and 'features' are now optional

entries in 'castellatedMeshControls' in snappyHexMeshDict to remove unnecessary clutter.
This commit is contained in:
Henry Weller
2021-06-21 13:30:53 +01:00
parent 887f67ea84
commit ca35389788
23 changed files with 34 additions and 196 deletions

View File

@ -65,8 +65,6 @@ geometry
castellatedMeshControls
{
features ();
refinementSurfaces
{
boundaries
@ -91,7 +89,7 @@ castellatedMeshControls
{
type patch;
inGroups (inlet);
}
}
}
outletSleeve
{
@ -133,16 +131,14 @@ castellatedMeshControls
}
membrane
{
level (0 0);
cellZone pipe;
faceZone membrane;
cellZoneInside insidePoint;
level (0 0);
cellZone pipe;
faceZone membrane;
mode insidePoint;
insidePoint (0 0 0);
}
}
refinementRegions {}
locationInMesh (0 0 0);
}

View File

@ -114,7 +114,7 @@ castellatedMeshControls
level (2 2);
faceZone rotatingZone;
cellZone rotatingZone;
cellZoneInside inside;
mode inside;
}
innerInlet
@ -204,10 +204,6 @@ castellatedMeshControls
resolveFeatureAngle 30;
refinementRegions
{
}
locationInMesh (0.035 0.043 0.017);
allowFreeStandingZoneFaces true;

View File

@ -189,24 +189,6 @@ castellatedMeshControls
resolveFeatureAngle 60;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -79,7 +79,7 @@ castellatedMeshControls
level (1 1);
faceZone fluidToMetal;
cellZone metal;
cellZoneInside insidePoint;
mode insidePoint;
insidePoint (0.025 0.0025 0.075);
}
@ -88,16 +88,13 @@ castellatedMeshControls
level (1 1);
faceZone metalToHeater;
cellZone heater;
cellZoneInside insidePoint;
mode insidePoint;
insidePoint (0.025 -0.005 0.075);
}
}
nCellsBetweenLevels 1;
refinementRegions
{}
locationInMesh (0.025 0.025 0.075);
}

View File

@ -106,21 +106,17 @@ castellatedMeshControls
level (1 1);
faceZone shell_to_solid;
cellZone shell;
cellZoneInside inside;
mode inside;
}
tube_to_solid
{
level (1 1);
faceZone tube_to_solid;
cellZone tube;
cellZoneInside inside;
mode inside;
}
}
refinementRegions
{
}
locationInMesh (0 0.008 0.015);
nCellsBetweenLevels 2;

View File

@ -170,7 +170,7 @@ castellatedMeshControls
level (4 4);
cellZone innerCylinder;
faceZone innerCylinder;
cellZoneInside inside;
mode inside;
}
outerCylinder
{

View File

@ -78,7 +78,7 @@ porosity
meshableSide both;
faceZone porosity;
cellZone porosity;
cellZoneInside inside;
mode inside;
}

View File

@ -82,7 +82,7 @@ castellatedMeshControls
level (4 4);
faceZone rotatingZone;
cellZone rotatingZone;
cellZoneInside inside;
mode inside;
}
}

View File

@ -145,7 +145,7 @@ castellatedMeshControls
// (inside / outside / specified insidePoint)
// faceZone sphere;
// cellZone sphere;
// cellZoneInside inside; // outside/insidePoint
// mode inside; // outside/insidePoint
}
}

View File

@ -108,25 +108,6 @@ castellatedMeshControls
// Resolve sharp angles
resolveFeatureAngle 30;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -128,29 +128,6 @@ castellatedMeshControls
resolveFeatureAngle 30;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
// refinementBox
// {
// mode inside;
// level 4;
// }
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -111,24 +111,6 @@ castellatedMeshControls
resolveFeatureAngle 45;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -111,24 +111,6 @@ castellatedMeshControls
resolveFeatureAngle 45;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -111,24 +111,6 @@ castellatedMeshControls
resolveFeatureAngle 45;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -319,7 +319,7 @@ castellatedMeshControls
level (1 2);
cellZone rotating;
faceZone rotating;
cellZoneInside insidePoint;
mode insidePoint;
insidePoint (0 0.1 0.5);
}
}
@ -330,23 +330,6 @@ castellatedMeshControls
resolveFeatureAngle 30;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// increasing order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -111,24 +111,6 @@ castellatedMeshControls
resolveFeatureAngle 45;
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
// Specifies refinement level for cells in relation to a surface. One of
// three modes
// - distance. 'levels' specifies per distance to the surface the
// wanted refinement level. The distances need to be specified in
// descending order.
// - inside. 'levels' is only one entry and only the level is used. All
// cells inside the surface get refined up to the level. The surface
// needs to be closed for this to be possible.
// - outside. Same but cells outside.
refinementRegions
{
}
// Mesh selection
// ~~~~~~~~~~~~~~

View File

@ -170,7 +170,7 @@ castellatedMeshControls
level (4 4);
cellZone innerCylinder;
faceZone innerCylinder;
cellZoneInside inside;
mode inside;
}
outerCylinder
{

View File

@ -31,10 +31,6 @@ geometry
castellatedMeshControls
{
features
(
);
refinementSurfaces
{
sloshingCylinder