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

[OpenFOAM] ParaFoam problem with cavity case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2008, 10:25
Default ParaFoam problem with cavity case
  #1
New Member
 
mayol
Join Date: Mar 2009
Posts: 11
Rep Power: 17
roger is on a distinguished road
Hi!

I started the "cavity" case (chapter 2: tutorials, page U-26) the other day, I have no problem running the case in FoamX, but I can't view the mesh created in paraFoam. There's a message that says:

"roger@portatil:~$ paraFoam $FOAM_RUN/tutorials/icoFoam cavity
/home/roger/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4/paraview-real: error while loading shared libraries: libXdmf.so: cannot open shared object file: No such file or directory

Does anyone know what "libXdmf.so" is? Thanks in advance. Maybe this is a silly question but it's my first time with OF. Bye!!
roger is offline   Reply With Quote

Old   July 19, 2008, 10:40
Default hi mayol can u please tell
  #2
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
hi mayol

can u please tell me how to view the mesh in paraFoam....I m not using FoamX.....i use a macintosh
mgz1985 is offline   Reply With Quote

Old   July 19, 2008, 10:53
Default The tutorial says: "The paraf
  #3
New Member
 
mayol
Join Date: Mar 2009
Posts: 11
Rep Power: 17
roger is on a distinguished road
The tutorial says: "The parafoam post-processing is started by typing at a command prompt"
paraFoam <root> <case>
"i.e. making the appropiate substitutions for <root> path and <case>, paraFoam is executed on cavity by typing"
paraFoam $FOAM_RUN/tutorials/icoFoam cavity
Then it says: "This launches the Paraview window as shown in picture ... In the selection window, the user can see that Paraview has opened cavity.foam, the module for the cavity case.

Thanks!!
roger is offline   Reply With Quote

Old   July 19, 2008, 11:06
Default thanx....shall try it......
  #4
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
thanx....shall try it......
mgz1985 is offline   Reply With Quote

Old   July 19, 2008, 11:55
Default i tried what u said but i get
  #5
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
i tried what u said but i get the following error..

mayank-guptas-macbook:icoFoam mayankgupta$ paraFoam ~/openfoam/mayank-1.4.1/run/icoFoam cavity
/Users/mayankgupta/OpenFOAM/OpenFOAM-1.4.1/bin/paraFoam: line 75: paraview: command not found
mgz1985 is offline   Reply With Quote

Old   July 21, 2008, 10:45
Default Thanks for your help! Is ther
  #6
New Member
 
mayol
Join Date: Mar 2009
Posts: 11
Rep Power: 17
roger is on a distinguished road
Thanks for your help! Is there anyone who has followed Chapter 2 of the OF's "User Guide"? What do you do when you want to view the cavity's mesh(part 2.1.2)? Do you have problems with parafoam? Any information would be great, thanks!
roger is offline   Reply With Quote

Old   July 21, 2008, 12:02
Default i was having problems with par
  #7
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
i was having problems with parafoam but then i was asked to try

foamToVTK <root> <case>

after this conversion u can open the file in paraview and visualize it....it worked for me hope it works for u
mgz1985 is offline   Reply With Quote

Old   July 22, 2008, 05:17
Default I tried and i have the same me
  #8
New Member
 
mayol
Join Date: Mar 2009
Posts: 11
Rep Power: 17
roger is on a distinguished road
I tried and i have the same message than before:

"roger@portatil:~$ paraview
/home/roger/OpenFOAM/linux/paraview-2.4.4/lib/paraview-2.4/paraview-real: error while loading shared libraries: libXdmf.so: cannot open shared object file: No such file or directory"

There's no problem in doing "foamToVTK" but then i can't open paraview (neither paraFoam). I think the problem is produced when "loading shared libraries", but don't know what to do. Thank you guys!
roger is offline   Reply With Quote

Old   July 25, 2008, 05:20
Default The problem is in the "shared
  #9
New Member
 
mayol
Join Date: Mar 2009
Posts: 11
Rep Power: 17
roger is on a distinguished road
The problem is in the "shared libraries". Anyone know what does it mean? I can not open paraFoam "thanks" to the "shared libraries" I think. Thank you!!!
roger is offline   Reply With Quote

Old   September 16, 2008, 22:00
Default libXdmf.so is a system library
  #10
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
libXdmf.so is a system library that you will have to install from your boot disk or down load from the internet. Check your boot disk first (if you have one). Not all linux builds will have it.

I dont know what linux distribution you are running - but if you can, you will save a lot of time and effort if you upgrade to SuSE 11.0

I am running OpenFoam 1.5 on SuSE 11.0 w/o any problems (thus far!)

Regarding not being able to load ParaView, I found that I can load ParaView when I call paraFOAM as follows (and NOT paraView as the documentation states), i.e in the cavity directory:

musa@linux-ip9p:~/OpenFOAM/musa-1.5/run/tutorials/icoFoam/cavity> paraFoam

In other words, you should be able to open it in the case folder (i.e, cavity).

Hope this helps
musahossein is offline   Reply With Quote

Reply


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
[OpenFOAM.com] paraFoam problem on MacOS after installing openFoam PanosK OpenFOAM Installation 7 May 1, 2021 04:05
A problem in a Fluent case after I created the interface ama294 Fluent UDF and Scheme Programming 0 January 29, 2018 23:32
[OpenFOAM.org] OpenFOAM v5 on ubuntu 14.04 - Problem with ParaFoam giorgos OpenFOAM Installation 2 October 31, 2017 07:55
Pressure boundaries at walls? Compressible Navier-Stokes 2D, Cavity problem. antoniojr Main CFD Forum 15 March 22, 2017 17:01
[OpenFOAM] Problem with spaces in paraFoam execution chrisb2244 ParaView 1 November 9, 2013 15:06


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