mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -39,8 +39,7 @@ geometry
|
||||
type wall;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Settings for the castellatedMesh generation.
|
||||
|
||||
@ -39,8 +39,7 @@ geometry
|
||||
type wall;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Settings for the castellatedMesh generation.
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -130,7 +130,8 @@ geometry
|
||||
name rotating;
|
||||
type triSurfaceMesh;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// Settings for the castellatedMesh generation.
|
||||
castellatedMeshControls
|
||||
|
||||
@ -33,7 +33,7 @@ geometry
|
||||
type triSurfaceMesh;
|
||||
name motorBike;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
//// Optional: avoid patch-face merging. Allows mesh to be used for
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ geometry
|
||||
type closedTriSurfaceMesh;
|
||||
name sloshingCylinder;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
castellatedMeshControls
|
||||
{
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user