refineMesh: Added customizable direction fields to multiDirRefinement
Contribution provided by Bruno Santos Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=2004
This commit is contained in:
@ -22,8 +22,12 @@ set c0;
|
||||
// x,y,z axis. Specify in globalCoeffs section below.
|
||||
// - patchLocal : coordinate system different for every cell. Specify in
|
||||
// patchLocalCoeffs section below.
|
||||
// - fieldBased : uses the list of field names from the directions list for
|
||||
// selecting the directions to cut. Meant to be used with geometricCut, but
|
||||
// can also be used with useHexTopology.
|
||||
coordinateSystem global;
|
||||
//coordinateSystem patchLocal;
|
||||
//coordinateSystem fieldBased;
|
||||
|
||||
// .. and its coefficients. x,y in this case. (normal direction is calculated
|
||||
// as tan1^tan2)
|
||||
@ -39,7 +43,7 @@ patchLocalCoeffs
|
||||
tan1 (1 0 0);
|
||||
}
|
||||
|
||||
// List of directions to refine
|
||||
// List of directions to refine, if global or patchLocal
|
||||
directions
|
||||
(
|
||||
tan1
|
||||
@ -47,6 +51,15 @@ directions
|
||||
normal
|
||||
);
|
||||
|
||||
// List of directions to refine, if "fieldBased". Keep in mind that these
|
||||
// fields must be of type "vectorField", not "volVectorField".
|
||||
//directions
|
||||
//(
|
||||
// radialDirectionFieldName
|
||||
// angularDirectionFieldName
|
||||
// heightDirectionFieldName
|
||||
//);
|
||||
|
||||
// Whether to use hex topology. This will
|
||||
// - if patchLocal: all cells on selected patch should be hex
|
||||
// - split all hexes in 2x2x2 through the middle of edges.
|
||||
|
||||
Reference in New Issue
Block a user