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

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