mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: add examples of general spheroid (#1901)
- for blockMesh meshing and as snappyHexMesh geometry (adjust the igloo aspect ratio)
This commit is contained in:
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user