36 namespace zoneGenerators
71 const fvMesh&
mesh = refCast<const fvMesh>(mesh_);
75 refCast<const fvMeshMovers::multiValveEngine>(
mesh.
mover())
88 if (pbm[
patchi].localPoints().size())
99 label nPistonPatchPoints = 0;
103 nPistonPatchPoints += pbm[
patchi].meshPoints().
size();
112 labelList pistonPatchPoints(nPistonPatchPoints);
115 nPistonPatchPoints = 0;
123 pistonPatchPoints[nPistonPatchPoints] =
mp[ppi];
128 nPistonPatchPoints++;
146 pistonPatchPointData,
157 forAll(allPointData, pointi)
159 if (allPointData[pointi].inBowl())
161 pointIndices[zpi++] = pointi;
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void setSize(const label)
Reset size of List.
Wave propagation of information through grid. Every iteration information goes through one layer of e...
label size() const
Return the number of elements in the UPtrList.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const labelHashSet & patchSet
Object patchSet.
static word pistonBowlName
Name of the piston bowl pointZone.
A mesh mover using explicit node translation based on scaled distance functions per moving object....
const pistonObject & piston
Piston object.
Mesh data needed to do the Finite Volume discretisation.
const fvMeshMover & mover() const
Return the mover function class.
label nTotalPoints() const
Return total number of points in decomposed mesh. Not.
Class used to pass data into container.
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
Named list of point indices representing a sub-set of the mesh faces.
Mesh consisting of general polyhedral cells.
const globalMeshData & globalData() const
Return parallel info.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
virtual const pointField & points() const
Return raw points.
A class for handling words, derived from string.
Abstract base class for all zoneGenerators, providing runtime selection.
A zoneGenerator which selects the points within the engine piston bowl.
virtual ~pistonBowlPoints()
Destructor.
virtual zoneSet generate() const
Generate and return the zoneSet.
pistonBowlPoints(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
Zone container returned by zoneGenerator::generate.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar mp
Proton mass.
defineTypeNameAndDebug(cylinderHeadPoints, 0)
addToRunTimeSelectionTable(zoneGenerator, cylinderHeadPoints, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.