ENH: use "origin" for searchable sphere etc. (#1060)

- replaces "centre", using the same keyword as other objects
  (eg, plane, rotatedBox, coordinateSystem etc).
This commit is contained in:
Mark Olesen
2018-10-29 15:51:05 +00:00
parent c2e58dca64
commit 50fe195374
12 changed files with 72 additions and 68 deletions

View File

@ -25,8 +25,8 @@ actions
source sphereToCell;
sourceInfo
{
centre (0.125 0.375 0.05);
radius 0.005;
origin (0.125 0.375 0.05);
radius 0.005;
}
}
);

View File

@ -110,7 +110,7 @@ actions
source sphereToCell;
sourceInfo
{
centre (-0.3 -0.3 -0.3);
origin (-0.3 -0.3 -0.3);
radius 0.4;
}
}

View File

@ -110,7 +110,7 @@ FoamFile
// // Cells with centre within sphere
// source sphereToCell;
// {
// centre (0.2 0.2 -10);
// origin (0.2 0.2 -10);
// radius 5.0;
// }
//

View File

@ -27,8 +27,9 @@ regions
(
sphereToCell
{
centre (0.5 0.5 0);
radius 0.1;
centre (0.5 0.5 0);
radius 0.1;
fieldValues
(
volScalarFieldValue alpha.water 0

View File

@ -27,8 +27,9 @@ regions
(
sphereToCell
{
centre (0.5 0.5 0.5);
radius 0.1;
origin (0.5 0.5 0.5);
radius 0.1;
fieldValues
(
volScalarFieldValue alpha.water 0