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

[OpenFOAM.org] paraFoam command not working (installed openFoam from source + its Third-party)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2022, 10:16
Default paraFoam command not working (installed openFoam from source + its Third-party)
  #1
New Member
 
Marrie
Join Date: Dec 2014
Posts: 13
Rep Power: 0
manle0312 is on a distinguished road
Hello all,
I pulled the source codes for openFoam and Third-party here:
https://github.com/OpenFOAM
I picked the non dev version, so OpenFOAM-9 and ThirdParty-9. My system is Arch Linux.

I installed OpenFOAM successfully (compile + source the path in bashrc) This is because I tested with the lid driven cavity case and blockMesh + icoFOAM command works and I do have some data files, ready to plot.

For ThirdParty-9, I also compile successfully by following:

https://openfoam.org/download/source...arty-software/

After installation, I am able to type "paraview" and Paraview launches.

Now, OpenFOAM also comes with paraFoam command. When I type "paraFoam", I got error saying "official reader for OpenFOAM does not exist on your system". It also prompts me to try
Code:
paraFoam -built in
.

When I tried
Code:
paraFoam -built in
, paraView launches. Is
Code:
paraFoam
supposed to launch paraView? Not sure why it works with the suggested
Code:
paraFoam -builtin
and not a normal
Code:
paraFoam
.

I use the
Code:
which
command on both paraFoam and paraview, and I do have both of them on my system. They are just at different locations.


Any help is appreciated.
manle0312 is offline   Reply With Quote

Old   February 6, 2022, 05:23
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
https://discourse.paraview.org/t/i-w...n-should-i-use
https://develop.openfoam.com/Develop...raview-plugins
olesen is offline   Reply With Quote

Old   April 2, 2022, 08:18
Default
  #3
New Member
 
Join Date: Jul 2019
Location: MARS
Posts: 9
Rep Power: 7
lxufeishi is on a distinguished road
Hello,

After loading the openFoam environment, check the paraview directory:
Code:
echo $ParaView_DIR
Make sure your paraview is installed in the same path.
Otherwise, make a soft link from your installation path (probably in ThirdParty-9/build/.../paraview.../) to $ParaView_LIB_DIR:
Code:
ln -s YOUR_PATH $ParaView_LIB_DIR
Then you can use paraFoam

Cheers,
lxufeishi is offline   Reply With Quote

Old   November 18, 2024, 06:19
Default
  #4
Member
 
Join Date: Jan 2018
Posts: 34
Rep Power: 8
UchihaMadara is on a distinguished road
This ends up giving ln: failed to create symbolic link ...<all my path stuff > ...file name too long!!!
UchihaMadara is offline   Reply With Quote

Reply

Tags
openfoam, paraview


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
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41


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