38#ifndef simplifiedMeshes_columnFvMesh_H
39#define simplifiedMeshes_columnFvMesh_H
65 template<
class ZoneMeshType>
68 const word& zoneTypeName,
70 ZoneMeshType& zoneType
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Mesh data needed to do the Finite Volume discretisation.
static const word & regionName(const word ®ion)
The mesh region name or word::null if polyMesh::defaultRegion.
static word defaultRegion
Return the default region name.
Functions to generate simplified finite volume meshes.
simplifiedFvMesh(const IOobject &io, pointField &&points, faceList &&faces, labelList &&allOwner, labelList &&allNeighbour)
Constructor.
dictionary patchEntries_
Dictionary of patch information.
pointField points1D_
Points.
labelList neighbour1D_
Neighbour addressing.
label nPatchWithFace_
Number of patches with at least 1 local face.
bool createFromMesh_
Created from existing mesh (false = from field).
labelList owner1D_
Owner addressing.
const word regionName_
Region of existing mesh.
columnFvMeshInfo(const Time &runTime, const word ®ionName)
const word localInstance_
Location of existing mesh (if present).
void addLocalPatches(fvMesh &mesh) const
Add the patches to the mesh.
void initialiseZones(fvMesh &mesh)
Initialise zones if constructed from mesh.
ClassName("columnFvMeshInfo")
Runtime type information.
Generates a 1D column representation of a mesh based on an existing mesh and/or fields.
columnFvMesh(const Time &runTime, const word ®ionName=polyMesh::defaultRegion)
Constructor.
TypeName("columnFvMesh")
Runtime type information.
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
List< label > labelList
A List of labels.
List< face > faceList
List of faces.
vectorField pointField
pointField is a vectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.