OF 1.7.0 & paraView 3.8.1 (paraFoam)
Dear Foamers,
i've downloaded paraView 3.8.1 from paraview.org i have OF 1.7.0 and Ubuntu 10.10 What should i do to use paraFoam in terminal and using paraView software in OF cases? Thanks in advance, |
Hi Maysam,
Try following these instructions: Using the official pre-built ParaView 3.8.0 version with OpenFOAM... It should work with 3.8.1 as well. Best regards, Bruno |
Thank you very much for your answer,
i didn't used source pack for OF installation. installation of OF has been done in terminal of Ubuntu 10.04 Now, i've upgraded to Ubuntu 10.10 and want to install ParaView 3.8.1 Your useful informations is not suitable for this situation i think because it tells: mkdir: cannot create directory `/opt/paraviewopenfoam380': Permission denied After typing: mkdir -p $ParaView_DIR Switching to root (#) also had no success. What is your idea? Should i install OF from source pack from first? Best regards, Maysam |
Hi Maysam,
Quote:
There is also another solution, that involves editing the file "OpenFOAM-1.7.1/etc/applications/paraview3/bashrc"... but I think the previous explanation is the quickest :p Best regards, Bruno |
I've done 1 but after typing ~/.bashrc this error is seen:
root@maysam-laptop:~# ~/.bashrc -su: /root/.bashrc: Permission denied |
Hi Maysam,
Quote:
______________________ And what I meant by "remember" was this: User Configuration But right now, you only have to run that line I've told you about! Best regards, Bruno |
Quote:
Code:
maysam@maysam-laptop:~$ sed -i -e 's=\.OpenFOAM=\.foam=' $WM_PROJECT_DIR/bin/paraFoam Code:
root@maysam-laptop:~# sed -i -e 's=\.OpenFOAM=\.foam=' $WM_PROJECT_DIR/bin/paraFoam Best, |
Hi Maysam,
Run this as root: Code:
sed -i -e 's=\.OpenFOAM=\.foam=' /opt/openfoam170/bin/paraFoam Bruno |
The problem is solved.
Thank you very much Bruno. |
All times are GMT -4. The time now is 13:48. |