mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: sampledCuttingPlane: user specifiable merge tolerance
This commit is contained in:
@ -206,6 +206,8 @@ surfaces
|
|||||||
//exposedPatchName fixedWalls; // Optional: zone only
|
//exposedPatchName fixedWalls; // Optional: zone only
|
||||||
|
|
||||||
// regularise false; // Optional: do not simplify
|
// regularise false; // Optional: do not simplify
|
||||||
|
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
|
||||||
|
// to merge points (default=1e-6)
|
||||||
}
|
}
|
||||||
constantIso
|
constantIso
|
||||||
{
|
{
|
||||||
@ -216,6 +218,8 @@ surfaces
|
|||||||
isoValue 0.5;
|
isoValue 0.5;
|
||||||
interpolate false;
|
interpolate false;
|
||||||
regularise false; // do not simplify
|
regularise false; // do not simplify
|
||||||
|
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
|
||||||
|
// to merge points (default=1e-6)
|
||||||
}
|
}
|
||||||
|
|
||||||
triangleCut
|
triangleCut
|
||||||
@ -234,6 +238,8 @@ surfaces
|
|||||||
//exposedPatchName fixedWalls; // Optional: zone only
|
//exposedPatchName fixedWalls; // Optional: zone only
|
||||||
|
|
||||||
// regularise false; // Optional: do not simplify
|
// regularise false; // Optional: do not simplify
|
||||||
|
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
|
||||||
|
// to merge points (default=1e-6)
|
||||||
}
|
}
|
||||||
|
|
||||||
distance
|
distance
|
||||||
@ -249,6 +255,8 @@ surfaces
|
|||||||
distance 0.0;
|
distance 0.0;
|
||||||
|
|
||||||
interpolate false;
|
interpolate false;
|
||||||
|
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
|
||||||
|
// to merge points (default=1e-6)
|
||||||
}
|
}
|
||||||
|
|
||||||
triSurfaceSampling
|
triSurfaceSampling
|
||||||
|
|||||||
@ -229,7 +229,8 @@ void Foam::sampledCuttingPlane::createGeometry()
|
|||||||
cellDistance,
|
cellDistance,
|
||||||
pointDistance_,
|
pointDistance_,
|
||||||
0.0,
|
0.0,
|
||||||
regularise_
|
regularise_,
|
||||||
|
mergeTol_
|
||||||
)
|
)
|
||||||
//new isoSurfaceCell
|
//new isoSurfaceCell
|
||||||
//(
|
//(
|
||||||
@ -237,7 +238,8 @@ void Foam::sampledCuttingPlane::createGeometry()
|
|||||||
// cellDistance,
|
// cellDistance,
|
||||||
// pointDistance_,
|
// pointDistance_,
|
||||||
// 0.0,
|
// 0.0,
|
||||||
// regularise_
|
// regularise_,
|
||||||
|
// mergeTol_
|
||||||
//)
|
//)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user