CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Error when loading .foam file in Paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2020, 15:20
Default Error when loading .foam file in Paraview
  #1
Member
 
Daniel
Join Date: May 2018
Posts: 31
Rep Power: 5
CFDanielGER is on a distinguished road
Hello everybody,

I am very new to OpenFOAM and Paraview.

Currently I try to simulate a 2D backward-facing step with OpenFOAM and do the postprocessing with Paraview.

I am using OpenFOAM v1912 with Docker on my MacBookPro from 2013 and Paraview 5.9.
When loading the .foam file in Paraview I get the following error:

ERROR: In /opt/glr/paraview/paraview-ci/build/superbuild/paraview/src/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 5226
vtkOpenFOAMReaderPrivate (0x7fc1a7e32950): Error opening /Users/Daniel/Documents/OpenFOAM/BFS_DNS/constant/polyMesh/faces.gz: Can't open. If you are trying to read a parallel decomposed case, set Case Type to Decomposed Case.

ERROR: In /opt/glr/paraview/paraview-ci/build/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 753
vtkPVCompositeDataPipeline (0x600003ce3f00): Algorithm vtkPOpenFOAMReader(0x7fc1a7cc3e30) returned failure for request: vtkInformation (0x600001ba9080)
Debug: Off
Modified Time: 1670090
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0

But this only happens, when I increase the number of cells. If I have a relatively coarse mesh, I can load the .foam file and see the mesh and also the results. I didn't make any options with decomposed mesh.

I already updated Paraview to the newest version but the error remains. Opening the .foam file on another machine doesn't make any problems. It happens only on my laptop.

I read, that one can also use the foamToVTK command to create a file which can be opened in Paraview. But when executing this command I get the following error:
--> FOAM FATAL ERROR:
Cannot find file "points" in directory "polyMesh" in times "0" down to constant

From function virtual Foam::IOobject Foam::fileOperation::findInstance(const Foam::IOobject&, Foam::scalar, const Foam::word&) const
in file global/fileOperations/fileOperation/fileOperation.C at line 870.

FOAM exiting

Did anybody of you have some similar problems and may help me? I would really appreciate it. I don't know what to do anymore ...

Many thanks in advance.

Best regards,
Daniel
CFDanielGER is offline   Reply With Quote

Reply

Tags
paraview

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18


All times are GMT -4. The time now is 01:08.