Keep faces together based on geometric considerations from a searchableSurfaces list. The faces inside of each searchableSurface are to be kept together during the decomposition. More...
Public Member Functions | |
TypeName ("geometric") | |
geometric (const dictionary &dict) | |
geometric (PtrList< topoSetFaceSource > &&selections) | |
virtual | ~geometric ()=default |
virtual void | add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const |
![]() | |
TypeName ("decompositionConstraint") | |
declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &dict),(dict)) | |
decompositionConstraint (const dictionary &constraintDict) | |
decompositionConstraint (const dictionary &constraintDict, const word &modelType) | |
virtual | ~decompositionConstraint ()=default |
virtual void | apply (const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const |
Additional Inherited Members | |
![]() | |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict) |
static autoPtr< decompositionConstraint > | New (const dictionary &constraintDict, const word &modelType) |
![]() | |
void | getMinBoundaryValue (const polyMesh &mesh, const labelList &decomposition, labelList &destProc) const |
decompositionConstraint (const decompositionConstraint &)=delete | |
void | operator= (const decompositionConstraint &)=delete |
![]() | |
dictionary | coeffDict_ |
Keep faces together based on geometric considerations from a searchableSurfaces list. The faces inside of each searchableSurface are to be kept together during the decomposition.
constraints { geom1 { type geometric; grow false; selection { box1 { source box; min (-0.1 -0.01 -0.1); max (0.1 0.30 0.1); } ball { source sphere; origin (-0.1 -0.01 -0.1); radius 0.25; } blob { source surface; surfaceType triSurfaceMesh; surfaceName blob.obj; } } } }
Dictionary parameters
Property | Description | Required | Default |
---|---|---|---|
type | geometric | yes | |
grow | Grow cells with partial connectivity | no | false |
geometry | Dictionary of enclosing volumes | yes |
The selection of enclosing volumes is treated as an OR operation.
The "grow" mode includes an additional check to include cell faces for any cell that already has two or more of its faces "unblocked". This could indicate a connection over a corner, but does not distinguish between connectivity introduced by the constraint and the connectivity defined by other constraints.
Definition at line 127 of file geometricConstraint.H.
|
explicit |
Definition at line 49 of file geometricConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
|
explicit |
Definition at line 70 of file geometricConstraint.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Info.
|
virtualdefault |
TypeName | ( | "geometric" | ) |
|
virtual |
Implements decompositionConstraint.
Definition at line 91 of file geometricConstraint.C.
References topoBoolSet::addressing(), Foam::BitOps::count(), Foam::expressions::patchExpr::debug, Foam::endl(), dictionary::get(), Foam::Info, mesh, Foam::New(), dictionary::optionalSubDict(), List::resize(), Foam::returnReduce(), bitSet::set(), List::transfer(), and WarningInFunction.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.