STYLE: code cleanup searchableSurface (issue #929)

- improve doxygen entries for searchable surfaces.

- support selection of searchable surfaces with shorter names.
  Eg,
      type   box | cylinder | ...;
  vs  type   searchableBox | searchableCylinder | ...;
This commit is contained in:
Mark Olesen
2018-07-06 11:03:28 +02:00
parent 1ee5144079
commit d530bc254a
82 changed files with 804 additions and 700 deletions

View File

@ -39,8 +39,7 @@ geometry
type wall;
}
}
};
}
// Settings for the castellatedMesh generation.

View File

@ -39,8 +39,7 @@ geometry
type wall;
}
}
};
}
// Settings for the castellatedMesh generation.

View File

@ -27,7 +27,7 @@ baffles
{
//- Select faces and orientation through a searchableSurface
type searchableSurface;
surface searchablePlate;
surface plate;
origin (0.3042 0.0493 -100);
span (0 0.1584 200);

View File

@ -130,7 +130,8 @@ geometry
name rotating;
type triSurfaceMesh;
}
};
}
// Settings for the castellatedMesh generation.
castellatedMeshControls

View File

@ -33,7 +33,7 @@ geometry
type triSurfaceMesh;
name motorBike;
}
};
}
//// Optional: avoid patch-face merging. Allows mesh to be used for

View File

@ -30,10 +30,10 @@ geometry
{
cylinder
{
type searchableCylinder;
point1 (0 0 -1);
point2 (0 0 1);
radius $radius;
type cylinder;
point1 (0 0 -1);
point2 (0 0 1);
radius $radius;
}
}

View File

@ -27,7 +27,7 @@ geometry
type closedTriSurfaceMesh;
name sloshingCylinder;
}
};
}
castellatedMeshControls
{

View File

@ -36,7 +36,7 @@ geometry
{
ascii
{
name innerCylinder;
name innerCylinder;
}
}
}
@ -48,7 +48,7 @@ geometry
{
ascii
{
name innerCylinderSmall;
name innerCylinderSmall;
}
}
}
@ -60,7 +60,7 @@ geometry
{
ascii
{
name outerCylinder;
name outerCylinder;
}
}
}
@ -72,7 +72,7 @@ geometry
{
ascii
{
name propellerTip;
name propellerTip;
}
}
}
@ -84,7 +84,7 @@ geometry
{
ascii
{
name propellerStem1;
name propellerStem1;
}
}
}
@ -96,7 +96,7 @@ geometry
{
ascii
{
name propellerStem2;
name propellerStem2;
}
}
}
@ -108,11 +108,11 @@ geometry
{
ascii
{
name propellerStem3;
name propellerStem3;
}
}
}
};
}

View File

@ -45,20 +45,19 @@ geometry
refinement1
{
type searchableSphere;
type sphere;
centre (0 0 0.0025);
radius 0.0075;
}
refinement2
{
type searchableCylinder;
type cylinder;
point1 (0 0 0);
point2 (0 0 0.03);
radius 0.0075;
}
};
}
// Settings for the castellatedMesh generation.

View File

@ -794,10 +794,10 @@ boundary
/* optional
surface
{
type searchableCylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
type cylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
}
*/
faces
@ -821,10 +821,10 @@ boundary
/* optional
surface
{
type searchableCylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
type cylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
}
*/
faces