mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: handle manifold cells in VTK, Ensight output (#2396)
- also disables PointData if manifold cells are detected. This is a partial workaround for volPointInterpolation problems with handling manifold cells.
This commit is contained in:
@ -86,6 +86,17 @@ Description
|
||||
{
|
||||
// Use the appropriate mesh (baseMesh or subMesh)
|
||||
vtuMeshCells.reset(meshProxy.mesh());
|
||||
|
||||
if (doPointValues && vtuMeshCells.manifold())
|
||||
{
|
||||
doPointValues = false;
|
||||
nPointFields = 0;
|
||||
Warning
|
||||
<< nl
|
||||
<< "Manifold cells detected (eg, AMI) - disabling PointData"
|
||||
<< nl
|
||||
<< endl;
|
||||
}
|
||||
}
|
||||
|
||||
internalWriter = autoPtr<vtk::internalWriter>::New
|
||||
|
||||
Reference in New Issue
Block a user