paraFoam command no longer working after upgrading to Ubuntu 13.04
Hi all.
I suspect this to be a relatively simple error on my part, but I don't know much about linux and googling hasn't helped me, so i'm a bit lost. I recently upgraded to Ubuntu 13.04, and now everytime i try and run the paraFoam command I get the following error : Code:
created temporary 'whirl_0.05r_0.01in_4.0w.OpenFOAM' |
I've also just tried reinstalling openfoam. I still have the same problem.
|
How did you install paraview?
Code:
sudo apt-get install paraview Code:
sudo apt-get install paraviewopenfoam3120 The only thing I had to do special was change the mirror it was accessing. OpenFOAM.org says to use: Code:
VERS=$(lsb_release -cs) Code:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu precise main > /etc/apt/sources.list.d/openfoam.list" |
Thanks for the help! I don't quite have it working yet though. If anyone else is trying this, remember to type:
Code:
sudo apt-get update Code:
/opt/openfoam220/bin/paraFoam: 267: /opt/openfoam220/bin/paraFoam: paraview: not found |
With Ubuntu 13 and paraview 3.98.0, I get some crash with 3D mesh.
If someone wants a quick solution: 1) remove paraview 3.98.0 (exp1) 2) download the last paraview binary installer (3.98.1) : http://www.paraview.org/paraview/resources/software.php 3) extract everything to your home folder. 4) add an alias to your bash. At the end of the file, add something like Code:
alias para='/home/YourName/ParaView-3.98.1-Linux-64bit/bin/paraview' |
Hello all,
the solution is quite simple. The paraFoam is a script and you can run it with parameters. The paraFoam script file you can find in /opt/openfoam220/bin. Simply start the paraView application with paraFoam -builtin command and the application starts as before. Usage: ${0##*/} [OPTION] [PARAVIEW_OPTION] options: -block use blockMesh reader (uses .blockMesh extension) -builtin use VTK builtin OpenFOAM reader (uses .foam extension) -case <dir> specify alternative case directory, default is the cwd -region <name> specify alternative mesh region -touch only create the file (eg, .blockMesh, .OpenFOAM, etc) -touchAll create .blockMesh, .OpenFOAM files (and for all regions) -help print the usage I hope it will help you. Eduard |
Hi Eduard,
the solution you have given is quiet simple. But as I'm a new user of OpenFOAM and don't have much idea of Ubuntu, couldn't understand your solution clearly. As you have paraFoam script file can be find in /opt/openfoam220/bin, what to after that? Could you please explain a little bit more? :) Thanks! Tariq |
Quote:
Is paraFoam running in your computer now? If yes, can you please help me installing it? :( |
Hello Tariq,
Once you have paraView installed (use the installation manual on openFoam page) you normally start the application from terminal window using the command paraFoam (note: you must be in your solved task directory). Unfortunately, this does not work at Ubuntu 13.04. However, if you start the paraView by command "paraFoam -builtin", it starts the paraView and loads your calculated task. I hope it helps you now. Eduard |
Quote:
thank you very much, it's working now! :) |
All times are GMT -4. The time now is 09:42. |