Mesh manipulator that uses the intersection provided by the cyclic non-conformal poly patches to create non-conformal finite volume interfaces. More...

Public Member Functions | |
| TypeName ("fvMeshStitcher") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, fvMeshStitcher, fvMesh,(fvMesh &mesh),(mesh)) | |
| fvMeshStitcher (fvMesh &) | |
| Construct from fvMesh. More... | |
| fvMeshStitcher (const fvMeshStitcher &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~fvMeshStitcher () |
| Destructor. More... | |
| fvMesh & | mesh () |
| Return the fvMesh. More... | |
| bool | stitches () const |
| Does this stitcher do anything? More... | |
| bool | disconnect (const bool changing, const bool geometric) |
| Disconnect the mesh by removing faces from the nonConformalCyclics. More... | |
| bool | connect (const bool changing, const bool geometric, const bool load) |
| Connect the mesh by adding faces into the nonConformalCyclics. More... | |
| void | reconnect (const bool geometric) const |
| Re-compute the connection. Topology is preserved. Permits a change. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update corresponding to the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Update corresponding to the given distribution map. More... | |
| virtual bool | write (const bool write=true) const |
| Write the stitcher state. More... | |
| void | operator= (const fvMeshStitcher &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
| static autoPtr< fvMeshStitcher > | New (fvMesh &, bool changing) |
| Select, construct and return the fvMeshStitcher. More... | |
Protected Types | |
| template<class Type > | |
| using | SurfaceFieldBoundary = GeometricBoundaryField< Type, surfaceMesh > |
| Alias for surface boundary fields to reduce verbosity of method. More... | |
| using | part = patchToPatches::intersection::part |
| Alias the patchToPatch intersection part struct. More... | |
| using | couple = patchToPatches::intersection::couple |
| Alias the patchToPatch intersection couple struct. More... | |
Protected Member Functions | |
| boolList | patchCoupleds () const |
| Determine which patches are coupled; i.e., for which. More... | |
| bool | geometric () const |
| Is the connection "geometric", or has the topology just been. More... | |
| tmp< DimensionedField< scalar, volMesh > > | openness () const |
| Return the non-dimensional cell openness for debugging/checking. More... | |
| tmp< DimensionedField< scalar, volMesh > > | volumeConservationError (const label n) const |
| Return the non-dimensional old-time volume conservation error. More... | |
| tmp< DimensionedField< scalar, volMesh > > | projectedVolumeFraction () const |
| Return the projected volume fraction for debugging/checking. More... | |
Mesh manipulator that uses the intersection provided by the cyclic non-conformal poly patches to create non-conformal finite volume interfaces.
Definition at line 55 of file fvMeshStitcher.H.
|
protected |
Alias for surface boundary fields to reduce verbosity of method.
definitions below
Definition at line 64 of file fvMeshStitcher.H.
|
protected |
Alias the patchToPatch intersection part struct.
Definition at line 67 of file fvMeshStitcher.H.
|
protected |
Alias the patchToPatch intersection couple struct.
Definition at line 70 of file fvMeshStitcher.H.
|
explicit |
Construct from fvMesh.
Definition at line 2242 of file fvMeshStitcher.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 2253 of file fvMeshStitcher.C.
|
protected |
Determine which patches are coupled; i.e., for which.
non-conformal patches are the remote or neighbouring meshes available
Definition at line 2107 of file fvMeshStitcher.C.
References forAll, mappedFvPatchBaseBase::haveNbr(), nonConformalMappedWallFvPatch::nbrPatch(), UPstream::parRun(), nonConformalFvPatch::patch(), patchi, processorCyclicFvPatch::referPatchIndex(), Foam::patchToPatchTools::singleProcess(), and fvPatch::size().

|
protected |
Is the connection "geometric", or has the topology just been.
loaded and stabilisation geometry applied?
Definition at line 2159 of file fvMeshStitcher.C.
References forAll, polyPatch::magFaceAreas(), Foam::max(), patchi, Foam::reduce(), Foam::returnReduce(), and polyPatch::start().

|
protected |
Return the non-dimensional cell openness for debugging/checking.
Definition at line 2194 of file fvMeshStitcher.C.
References Foam::cbrt(), Foam::cmptMag(), Foam::mag(), Foam::max(), Foam::sqr(), Foam::fvc::surfaceIntegrate(), and Foam::fvc::surfaceSum().

|
protected |
Return the non-dimensional old-time volume conservation error.
for a specified old-time index for debugging/checking
Definition at line 2207 of file fvMeshStitcher.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, n, OldTimeField< FieldType >::oldTime(), and Foam::fvc::surfaceIntegrate().

|
protected |
Return the projected volume fraction for debugging/checking.
Definition at line 2229 of file fvMeshStitcher.C.
References Foam::mag(), and Foam::fvc::surfaceIntegrate().

| TypeName | ( | "fvMeshStitcher" | ) |
Runtime type information.
|
static |
Select, construct and return the fvMeshStitcher.
Definition at line 30 of file fvMeshStitcherNew.C.
References TimePaths::constant(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, typeIOobject< Type >::headerOk(), Foam::libs, fvMeshStitcher::mesh(), Foam::nl, IOobject::NO_WRITE, dlLibraryTable::open(), IOobject::READ_IF_PRESENT, and fvMesh::time().
Referenced by fvMesh::postConstruct().


|
inline |
Return the fvMesh.
Definition at line 446 of file fvMeshStitcher.H.
Referenced by fvMeshStitcher::New().

| bool stitches | ( | ) | const |
Does this stitcher do anything?
Definition at line 2259 of file fvMeshStitcher.C.
References forAll, and patchi.
Referenced by shockFluid::preSolve().

| bool disconnect | ( | const bool | changing, |
| const bool | geometric | ||
| ) |
Disconnect the mesh by removing faces from the nonConformalCyclics.
Definition at line 2280 of file fvMeshStitcher.C.
References forAll.
| bool connect | ( | const bool | changing, |
| const bool | geometric, | ||
| const bool | load | ||
| ) |
Connect the mesh by adding faces into the nonConformalCyclics.
Definition at line 2311 of file fvMeshStitcher.C.
References forAll.
| void reconnect | ( | const bool | geometric | ) | const |
Re-compute the connection. Topology is preserved. Permits a change.
in whether or not the connection is "geometric".
Definition at line 2362 of file fvMeshStitcher.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::null().

|
virtual |
Update corresponding to the given map.
Definition at line 2408 of file fvMeshStitcher.C.
|
virtual |
Update from another mesh using the given map.
Definition at line 2412 of file fvMeshStitcher.C.
|
virtual |
Update corresponding to the given distribution map.
Definition at line 2416 of file fvMeshStitcher.C.
|
inlinevirtual |
Write the stitcher state.
Definition at line 483 of file fvMeshStitcher.H.
|
delete |
Disallow default bitwise assignment.