CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Trouble running paraFoam in cavity tutorial (https://www.cfd-online.com/Forums/paraview/142854-trouble-running-parafoam-cavity-tutorial.html)

sweisenb October 10, 2014 15:28

Trouble running paraFoam in cavity tutorial
 
Hello,

I am new to OpenFOAM. I recently installed OpenFOAM 2.3.0 on a Ubuntu 14.04 OS, and am trying to go through the first standard "cavity" case file.

In attempting to visualize the mesh in ParaView, I was able to open the GUI by typing "paraFoam" in the terminal under the case directory. However, the following errors popped up, and I was not able to visualize the mesh:

p, li { white-space: pre-wrap; } ERROR: In /home/sweisenb/OpenFOAM/OpenFOAM-2.3.0/applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/PV4FoamReader/vtkPV4FoamReader.cxx, line 216
vtkPV4FoamReader (0x320b360): could not find valid OpenFOAM mesh


ERROR: In /home/sweisenb/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754
vtkPVCompositeDataPipeline (0x336c820): Algorithm vtkPV4FoamReader(0x320b360) returned failure for request: vtkInformation (0x33a5230)
Debug: Off
Modified Time: 90100
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0


ERROR: In /home/sweisenb/OpenFOAM/OpenFOAM-2.3.0/applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/PV4FoamReader/vtkPV4FoamReader.cxx, line 216
vtkPV4FoamReader (0x320b360): could not find valid OpenFOAM mesh


ERROR: In /home/sweisenb/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754
vtkPVCompositeDataPipeline (0x336c820): Algorithm vtkPV4FoamReader(0x320b360) returned failure for request: vtkInformation (0x33a5230)
Debug: Off
Modified Time: 90100
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0


If anyone has encountered this before or has a way to fix it, I would be grateful. I am new to programming and to working with opensource software, so please elaborate...

Thank you!

alexeym October 10, 2014 15:51

Hi,

it seems you've forgotten to generate mesh with blockMesh utility.

sweisenb October 10, 2014 15:56

Thank you alexeym, looks like I overlooked that important step...

I appreciate you posting the reply so quickly!


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