CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] paraFoam command doesn't work

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

Like Tree1Likes
  • 1 Post By mm66

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2019, 06:10
Default paraFoam command doesn't work
  #1
New Member
 
Francesca Mangani
Join Date: Oct 2019
Posts: 7
Rep Power: 2
FrancescaMangani is on a distinguished road
Goodmorning,


I have problems with the command "paraFoam" and also "paraFoam -block", when I run them I obtain this:





FATAL ERROR: The official reader module for OpenFOAM data does not exist on
your system. This means that the version of ParaView you are using was not
compiled with OpenFOAM, or distributed with a packaged version of OpenFOAM.

For information on packaged versions of OpenFOAM/ParaView and compilation of
OpenFOAM/ParaView, see https://openfoam.org/download

Alternatively, you might be able to view your OpenFOAM data with the reader
module provided with ParaView by running:
paraFoam -builtin





Instead, "paraFoam -builtin" works, but why the others don't work?
FrancescaMangani is offline   Reply With Quote

Old   November 4, 2019, 04:15
Default
  #2
Member
 
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 7
virengos will become famous soon enough
Hello Francesca,
it seems paraFoam is not installed on your machine. You can check simply the installation path on Linux as follows:
Code:
$ which paraFoam
$ which paraview

There are two independently developed
reader for OpenFOAM and ParaView!
1.)
ParaView built-in OpenFOAM reader => vtkOpenFOAMReader
2.) OpenFOAM has with an alternative reader
=> PV4FoamReader

How have you installed OpenFOAM and what is your system configuration?

best,
Damian
__________________
Get more support about Meshing with Salome and Visualization with ParaView in my growing groups
https://bit.ly/2lFfDkQ
https://bit.ly/2k2u8Pj
virengos is offline   Reply With Quote

Old   November 4, 2019, 05:42
Default
  #3
New Member
 
Francesca Mangani
Join Date: Oct 2019
Posts: 7
Rep Power: 2
FrancescaMangani is on a distinguished road
Hello Damian!
Thank you for your reply!


Checking the paths with



which paraFoam
wich paraview


as you suggested, I get correctly the paths:


/home/francesca/OpenFOAM/OpenFOAM-7/bin/paraFoam


and



/home/francesca/OpenFOAM/ThirdParty-7/platforms/linux64Gcc/ParaView-5.6.0/bin/paraview



For the installation of OpenFoam and Paraview I followed the instructions from this websites: https://openfoamwiki.net/index.php/I...7/Ubuntu/18.04


I have Debian9 and I installed openfoam 7: there were no installation instructions of openfoam7 for debian, but the compilation ended up well, I think.
With "system configuration" do you mean these info,


francesca@debian:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 61
Model name: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
Stepping: 4
CPU MHz: 2400.000
CPU max MHz: 3000,0000
CPU min MHz: 500,0000
BogoMIPS: 4792.95
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 4096K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts





right?





How can I check if I have those reader you meant? And how can I install them?





Thank you in advance!!
FrancescaMangani is offline   Reply With Quote

Old   November 4, 2019, 11:07
Default
  #4
Member
 
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 7
virengos will become famous soon enough
ok, it seems both versions are at least available on your machine!
What are you trying to do? To open some OpenFOAM simulations results?
It should work also with the paraview version and created empty case.foam file in your simulation folder.
Check also this thread here in the forum:
paraFoam command no longer working after upgrading to Ubuntu 13.04
Have you added the
Code:
source /opt/openfoam7/etc/bashrc
at the end of your ~/.bashrc file?
__________________
Get more support about Meshing with Salome and Visualization with ParaView in my growing groups
https://bit.ly/2lFfDkQ
https://bit.ly/2k2u8Pj
virengos is offline   Reply With Quote

Old   November 4, 2019, 15:48
Default
  #5
Member
 
Join Date: Mar 2019
Posts: 49
Rep Power: 3
mm66 is on a distinguished road
Quote:
Originally Posted by virengos View Post
ok, it seems both versions are at least available on your machine!
What are you trying to do? To open some OpenFOAM simulations results?
It should work also with the paraview version and created empty case.foam file in your simulation folder.
Check also this thread here in the forum:
paraFoam command no longer working after upgrading to Ubuntu 13.04
Have you added the
Code:
source /opt/openfoam7/etc/bashrc
at the end of your ~/.bashrc file?
I believe it should be:

Code:
/home/francesca/OpenFOAM/OpenFOAM-7/etc/bashrc
which should be added to the ~/.bashrc file.
virengos likes this.
mm66 is offline   Reply With Quote

Old   July 1, 2020, 05:46
Default missing paraview
  #6
New Member
 
Join Date: May 2020
Posts: 3
Rep Power: 2
sunflowers is on a distinguished road
Hey,


I do get the same first error, but using the "which paraview" demand I get nothing...


checking your link:
/home/francesca/OpenFOAM/ThirdParty-7/platforms/linux64Gcc/ParaView-5.6.0/bin/paraview

I noticed, that I don't have a ParaView-file under linux64Gcc... I do have one under ThirdParty-7, but this one doesn't include a bin-file... so I guess that is the problem, but I've no clue how to fix it.
Can anybody help? (:
sunflowers is offline   Reply With Quote

Reply

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
"Number of faces in face and owners does not match" in paraFoam (topological changes) sheaker OpenFOAM Running, Solving & CFD 3 October 30, 2019 20:22
[OpenFOAM] Problem postprocessing decomposed case with 'paraFoam -builtin' bentkj ParaView 4 February 21, 2017 04:22
Simple UDF for piston movement NicolasCheshire Fluent UDF and Scheme Programming 1 October 7, 2016 10:36
First order in fvSchemes does not seem to work gerritgroot OpenFOAM Running, Solving & CFD 0 September 30, 2015 20:06
[OpenFOAM] Weird Problem with ParaFoam via SSH cwang5 ParaView 2 July 19, 2010 09:00


All times are GMT -4. The time now is 15:31.