mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added cylinderToCell and sphereToCell options
This commit is contained in:
@ -79,6 +79,22 @@ topoSetSources
|
|||||||
k (10 10 10);
|
k (10 10 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cells with centre within cylinder
|
||||||
|
cylinderToCell
|
||||||
|
{
|
||||||
|
p1 (0.2 0.2 -10); // start point on cylinder axis
|
||||||
|
p2 (0.2 0.2 0); // end point on cylinder axis
|
||||||
|
radius 5.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Cells with centre within sphere
|
||||||
|
sphereToCell
|
||||||
|
{
|
||||||
|
centre (0.2 0.2 -10);
|
||||||
|
radius 5.0;
|
||||||
|
}
|
||||||
|
|
||||||
// Cells in cell zone
|
// Cells in cell zone
|
||||||
zoneToCell
|
zoneToCell
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user