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

[foam-extend.org] Installing FOAM-Extend 4.0 on Ubuntu 20.04

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By serfriz
  • 1 Post By serfriz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2020, 04:27
Post Installing FOAM-Extend 4.0 on Ubuntu 20.04
  #1
New Member
 
Sergio Fraile
Join Date: Jun 2020
Location: California, USA
Posts: 6
Rep Power: 2
serfriz is on a distinguished road
Hello everyone, I have spent some time this week trying to make foam-extend 4.0 work with my Ubuntu 20.04 installation. So I decided to share what I learned here and help other users. I created a git repository with the changes and steps needed to make it work: https://gitlab.com/serfriz/foam-extend-4.0-ubuntu-20.04

Please, note that my installation directory is ~/Apps/FOAM-Extend/ so if you want to install it in the default ~/foam/ folder you will have to modify the etc/bashrc file. Also, paraview is set to compile without python to avoid some compilation errors (I don't need it).

Please let me know if you have any questions!
Sebastian3232 likes this.

Last edited by serfriz; June 20, 2020 at 04:35. Reason: fix link
serfriz is offline   Reply With Quote

Old   July 8, 2020, 09:08
Default
  #2
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 210
Rep Power: 14
sita is on a distinguished road
Hi Sergio,

Brilliant, that's exactly what I was looking for, that'll save me loads of time (and frustration...), thanks a lot!

Just to let you know: to get the git clone working, I had to use the https-link, as the git version gave me a "Permission denied (publickey)" error. Could be a problem on my side, not sure, just thought I should let you know.

Best wishes,
Sita
sita is online now   Reply With Quote

Old   July 13, 2020, 17:03
Default
  #3
New Member
 
Sergio Fraile
Join Date: Jun 2020
Location: California, USA
Posts: 6
Rep Power: 2
serfriz is on a distinguished road
Quote:
Originally Posted by sita View Post
Hi Sergio,

Brilliant, that's exactly what I was looking for, that'll save me loads of time (and frustration...), thanks a lot!

Just to let you know: to get the git clone working, I had to use the https-link, as the git version gave me a "Permission denied (publickey)" error. Could be a problem on my side, not sure, just thought I should let you know.

Best wishes,
Sita

Hi Sita, you are right, I just updated the readme file with the https link!


Thanks!
serfriz is offline   Reply With Quote

Old   August 5, 2020, 20:56
Default
  #4
New Member
 
Elaxender david
Join Date: Nov 2017
Posts: 17
Rep Power: 5
Engin.shlxtn is on a distinguished road
[QUOTE=serfriz;775251]Hello everyone, I have spent some time this week trying to make foam-extend 4.0 work with my Ubuntu 20.04 installation. So I decided to share what I learned here and help other users. I created a git repository with the changes and steps needed to make it work: https://gitlab.com/serfriz/foam-extend-4.0-ubuntu-20.04

Please, note that my installation directory is ~/Apps/FOAM-Extend/ so if you want to install it in the default ~/foam/ folder you will have to modify the etc/bashrc file. Also, paraview is set to compile without python to avoid some compilation errors (I don't need it).
Hello




It doesn't work in Linux mint20.I worked coordinating the points.

thanks
Engin.shlxtn is offline   Reply With Quote

Old   August 6, 2020, 21:39
Default
  #5
New Member
 
Sergio Fraile
Join Date: Jun 2020
Location: California, USA
Posts: 6
Rep Power: 2
serfriz is on a distinguished road
Quote:
Originally Posted by Engin.shlxtn View Post
Hello

It doesn't work in Linux mint20.I worked coordinating the points.

thanks

Sorry, I haven't tried with Linux Mint. Some of the steps include installing packages for Ubuntu, so they might not work with Linux Mint.
Oliva likes this.
serfriz is offline   Reply With Quote

Old   August 7, 2020, 14:52
Default
  #6
New Member
 
André da Luz Moreira
Join Date: Feb 2019
Posts: 2
Rep Power: 0
andredaluzmoreira is on a distinguished road
Out of curiosity: any reason for using 4.0 instead of 4.1?

Btw, I'm finishing up a script to build a Docker image with foam-extend 4.1 base on Ubuntu 18.04, and I already have a script for a CentOS image. I'll post the link here when I make sure everything runs smoothly.
andredaluzmoreira is offline   Reply With Quote

Old   August 7, 2020, 20:52
Default
  #7
New Member
 
Sergio Fraile
Join Date: Jun 2020
Location: California, USA
Posts: 6
Rep Power: 2
serfriz is on a distinguished road
Quote:
Originally Posted by andredaluzmoreira View Post
Out of curiosity: any reason for using 4.0 instead of 4.1?

Btw, I'm finishing up a script to build a Docker image with foam-extend 4.1 base on Ubuntu 18.04, and I already have a script for a CentOS image. I'll post the link here when I make sure everything runs smoothly.

I read there were still some bugs in foam-extend 4.1 and the library solids4foam is only fully compatible with foam-extend 4.0 (for now).
serfriz is offline   Reply With Quote

Old   August 15, 2020, 21:54
Default It osen't work
  #8
New Member
 
Elaxender david
Join Date: Nov 2017
Posts: 17
Rep Power: 5
Engin.shlxtn is on a distinguished road
Quote:
Originally Posted by serfriz View Post
Hello everyone, I have spent some time this week trying to make foam-extend 4.0 work with my Ubuntu 20.04 installation. So I decided to share what I learned here and help other users. I created a git repository with the changes and steps needed to make it work: https://gitlab.com/serfriz/foam-extend-4.0-ubuntu-20.04

Please, note that my installation directory is ~/Apps/FOAM-Extend/ so if you want to install it in the default ~/foam/ folder you will have to modify the etc/bashrc file. Also, paraview is set to compile without python to avoid some compilation errors (I don't need it).

Please let me know if you have any questions!

Hello


I tried to do it on ubuntu20.04, but failed.
Engin.shlxtn is offline   Reply With Quote

Reply

Tags
foam-extend 4.0, installation guide, ubuntu 20.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[foam-extend.org] How to install foam-extend 4.0 in UBUNTU 18.04 silvino OpenFOAM Installation 18 April 15, 2020 10:45
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 1 May 19, 2017 11:13
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 mnobrega OpenFOAM Community Contributions 6 April 1, 2014 02:47
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 11:38.