Go to the documentation of this file.
59 class mapAddedPolyMesh;
82 const label unmappedIndex
129 const bool validBoundary =
true
Adds two fvMeshes without using any polyMesh morphing. Uses polyMeshAdder.
Adds two meshes without using any polyMesh morphing.
static autoPtr< mapAddedPolyMesh > add(fvMesh &mesh0, const fvMesh &mesh1, const faceCoupleInfo &coupleInfo, const bool validBoundary=true)
Inplace add mesh to fvMesh. Maps all stored fields. Returns map.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
static void MapVolFields(const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd)
Map all volFields of Type.
static void MapSurfaceField(const mapAddedPolyMesh &meshMap, GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const GeometricField< Type, fvsPatchField, surfaceMesh > &fldToAdd)
Update single surfaceField.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Mesh data needed to do the Finite Volume discretisation.
static labelList calcPatchMap(const label oldStart, const label oldSize, const labelList &oldToNew, const polyPatch &newPatch, const label unmappedIndex)
Calculate map from new patch faces to old patch faces. -1 where.
static void MapDimField(const mapAddedPolyMesh &meshMap, DimensionedField< Type, volMesh > &fld, const DimensionedField< Type, volMesh > &fldToAdd)
Update single dimensionedField.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void MapDimFields(const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd)
Map all DimensionedFields of Type.
static void MapVolField(const mapAddedPolyMesh &meshMap, GeometricField< Type, fvPatchField, volMesh > &fld, const GeometricField< Type, fvPatchField, volMesh > &fldToAdd)
Update single volField.
Container for information needed to couple to meshes. When constructed from two meshes and a geometri...
Class containing mesh-to-mesh mapping information after a mesh addition where we add a mesh ('added m...
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static void MapSurfaceFields(const mapAddedPolyMesh &, const fvMesh &mesh, const fvMesh &meshToAdd)
Map all surfaceFields of Type.