CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to start running OpenFoam v18.12 on xubuntu

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2019, 11:20
Default How to start running OpenFoam v18.12 on xubuntu
  #1
New Member
 
Giuseppe
Join Date: Mar 2019
Posts: 18
Rep Power: 7
Maxwell87 is on a distinguished road
hello guys i have some problems with open foam
i have followed the installation page here
https://www.openfoam.com/download/in...nary-linux.php
"docker, installing docker and Installing and running OpenFOAM"

how can i start using openFoam now? i cannot see any openFoam folder with tutorials and all, as the old openFoam versions

any advices about?
Maxwell87 is offline   Reply With Quote

Old   March 2, 2019, 13:05
Default
  #2
New Member
 
Mattia
Join Date: May 2018
Location: Novara - Italy
Posts: 29
Rep Power: 8
time- is on a distinguished road
Hi Giuseppe,
if you strictly followed instructions you should now have a startOpenFOAM script somewhere in your home folder (or wherever you downloaded it).

just make it executable and run it:

Code:
chmod +x ./startOpenFOAM
./startOpenFOAM
a bash shell will pop with the specific env sourced.
This is your fully working OF environment.

Alias work the same, just call "foam" or "run" to jump to the correct folders.
paraFOAM won't work. Just install paraview's binaries and use it outside container's shell.

Keep in mind that only $WM_PROJECT_USER_DIR is mapped to your local filesystem. All OF related directories are stored in the container filesystem.

I personally don't like docker and I always compile from source. If you have enough time or power, just build from source

Bye
time- is offline   Reply With Quote

Old   March 4, 2019, 07:03
Default
  #3
New Member
 
Giuseppe
Join Date: Mar 2019
Posts: 18
Rep Power: 7
Maxwell87 is on a distinguished road
Quote:
Originally Posted by time- View Post
Hi Giuseppe,
if you strictly followed instructions you should now have a startOpenFOAM script somewhere in your home folder (or wherever you downloaded it).

just make it executable and run it:

Code:
chmod +x ./startOpenFOAM
./startOpenFOAM
a bash shell will pop with the specific env sourced.
This is your fully working OF environment.

Alias work the same, just call "foam" or "run" to jump to the correct folders.
paraFOAM won't work. Just install paraview's binaries and use it outside container's shell.

Keep in mind that only $WM_PROJECT_USER_DIR is mapped to your local filesystem. All OF related directories are stored in the container filesystem.

I personally don't like docker and I always compile from source. If you have enough time or power, just build from source

Bye
that's first time i use docker and i don't like at all! everytime i wanna use it, i have to create a folder to make codec run, it's terrible! i think i will try to compile it by source as before. i can't even find OpenFOAM folder with tutorial and all the evnviroment
i will try and i will make you know, my frriend
Ps; paraview is installed and it works
bye
Maxwell87 is offline   Reply With Quote

Old   March 4, 2019, 09:26
Default
  #4
New Member
 
Giuseppe
Join Date: Mar 2019
Posts: 18
Rep Power: 7
Maxwell87 is on a distinguished road
Quote:
Originally Posted by time- View Post
Hi Giuseppe,
if you strictly followed instructions you should now have a startOpenFOAM script somewhere in your home folder (or wherever you downloaded it).

just make it executable and run it:

Code:
chmod +x ./startOpenFOAM
./startOpenFOAM
a bash shell will pop with the specific env sourced.
This is your fully working OF environment.

Alias work the same, just call "foam" or "run" to jump to the correct folders.
paraFOAM won't work. Just install paraview's binaries and use it outside container's shell.

Keep in mind that only $WM_PROJECT_USER_DIR is mapped to your local filesystem. All OF related directories are stored in the container filesystem.

I personally don't like docker and I always compile from source. If you have enough time or power, just build from source

Bye
i am compiling, all is going great. can i ask you something? i have already installed Paraview, so can i skip this process i have read on the site?

cd $WM_THIRD_PARTY_DIR
./makeParaView

or should i compile it again? let me know...
Maxwell87 is offline   Reply With Quote

Old   March 4, 2019, 13:58
Default
  #5
New Member
 
Mattia
Join Date: May 2018
Location: Novara - Italy
Posts: 29
Rep Power: 8
time- is on a distinguished road
If you installed paraview from your distribution binaries you don't need to compile. I don't remember if you need to export its path to make parafoam work as I don't use distro binaries nor parafoam script, just check it out.
time- is offline   Reply With Quote

Old   March 4, 2019, 15:14
Default
  #6
New Member
 
Giuseppe
Join Date: Mar 2019
Posts: 18
Rep Power: 7
Maxwell87 is on a distinguished road
Quote:
Originally Posted by time- View Post
If you installed paraview from your distribution binaries you don't need to compile. I don't remember if you need to export its path to make parafoam work as I don't use distro binaries nor parafoam script, just check it out.
thanks
it seems to work so good
i will check with another simulation next days
Maxwell87 is offline   Reply With Quote

Old   March 19, 2019, 14:42
Default
  #7
New Member
 
Giuseppe
Join Date: Mar 2019
Posts: 18
Rep Power: 7
Maxwell87 is on a distinguished road
hi guys, i understood what to do, the only problem was that on Xubuntu
my system .bashrc file was totally empty
anyway, i pasted the line source ~/OpenFOAM/OpenFOAM-v1812/etc/bashrc
and all works great now
i can avoid to source the enviroment everytime finally
Maxwell87 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
Getting Started with OpenFOAM wyldckat OpenFOAM 26 June 21, 2024 06:54
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFOAM parallel on VM? pimpleDyMFoam propeller tutorial has been running for hours. MBttR OpenFOAM Running, Solving & CFD 0 June 13, 2016 10:58
[OpenFOAM.org] Running OpenFOAM KateEisenhower OpenFOAM Installation 3 March 10, 2015 13:56


All times are GMT -4. The time now is 20:35.