Hi Robert,

This sounds intriguing - I wonder if there is something with 32/64-bits 
involved?

The reader needs a cleanup (https://gitlab.kitware.com/vtk/vtk/issues/17096), 
but I'm rather short of personal free time to tackle it (and no funding for it 
at the moment).

However, even after a cleanup the reader will continue to remain rather fragile 
with regard to handling various dictionary items, especially things like 
"#includeEtc" that imply a much deeper knowledge of the OpenFOAM logic than is 
possible based on the output files alone.  It is for this reason that the "skip 
zero" switch was added. The intention is to skip over the "0/" fields that 
contain most of the includes. Subsequent output fields will not normally 
contain any #include directives.  The only slightly odd output element can be 
"#{" .. "#}" verbatim strings (associated with user-coding), but the reader 
should silently skip over these and not cause any problem.

Cheers,
/mark

________________________________________
From: ParaView <[email protected]> on behalf of Robert Sawko 
<[email protected]>
Sent: Monday, October 2, 2017 2:01 AM
To: ParaView
Cc: Robert Allan
Subject: [Paraview] Specific OpenFOAM case crashes the server

Dear All,

I have been recently testing remote rendering in paraview and I seem to have
concocted a case which breaks remotely works locally. The case is an OpenFOAM
U-bend simulation and I am happy to share the files. They're about 61MB.

On the remote side I get:

pvserver: /.../viz/ParaView-v5.4.1/VTK/IO/Geometry/vtkOpenFOAMReader.cxx:3798: 
void vtkFoamEntryValue::ReadList(vtkFoamIOobject&): Assertion `"Label type not 
set!" && this->GetLabelType() != NO_LABEL_TYPE' failed.

On the local side it looks that I simply get disconnected which makes sense
seeing that the server core dumped.

I tried to remove all weirdness from this case and at the moment it is really
just a tet+quad mesh and some case files. If I open the case directly with the
client everything works.

I am really keen to solve it as when remote viz works, it's absolutely
brilliant. I would appreciate comments. Thanks.


A side note is that looks to me that PV OpenFOAM reader cannot handle
"included" files used by OpenFOAM.

Best wishes,
Robert
--
No deltas, no Cardanos, no hope...
http://en.wikipedia.org/wiki/Abel–Ruffini_theorem
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to