BUG: blockMesh: incorrect sqrt. Fixes #3217

This commit is contained in:
mattijs
2024-09-04 09:29:19 +01:00
parent 60e5f0e0ae
commit 483e9892ee
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ geometry
}
// Box size
vo #eval{ sqrt($outerRadius/3) };
vo #eval{ $outerRadius/sqrt(3) };
vertices
(

View File

@ -38,7 +38,7 @@ geometry
}
// Outer box size
vo #eval{ sqrt($outerRadius/3) };
vo #eval{ $outerRadius/sqrt(3) };
// Inner box size - % of overall dimension
vi #eval{ $vo * $innerRatio };

View File

@ -45,7 +45,7 @@ geometry
// Outer box size (approximate)
vo #eval{ sqrt($outerRadius/3) };
vo #eval{ $outerRadius/sqrt(3) };
// Inner box size - % of overall dimension
vi #eval{ $vo * $innerRatio };