TUT: add examples of general spheroid (#1901)

- for blockMesh meshing and as snappyHexMesh geometry
  (adjust the igloo aspect ratio)
This commit is contained in:
Mark Olesen
2020-10-26 16:42:39 +01:00
parent e9d130f022
commit 043419f30a
14 changed files with 510 additions and 13 deletions

View File

@ -31,16 +31,15 @@ geometry
{
sphere
{
type sphere;
origin (0 0 0);
radius $outerRadius;
type sphere;
origin (0 0 0);
radius $outerRadius;
}
innerSphere
{
type sphere;
origin (0 0 0);
radius #eval{ $innerRatio * $outerRadius };
$sphere
radius #eval{ $outerRadius * $innerRatio };
}
}
@ -50,8 +49,8 @@ vo #eval{ sqrt($outerRadius/3) };
mvo #eval{ -$vo };
// Inner box sizes - % of overall dimension
vi #eval{ $innerRatio*$vo };
mvi #eval{ $innerRatio*$mvo };
vi #eval{ $vo * $innerRatio };
mvi #eval{ -$mvo };
vertices
(