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

[OpenFOAM.com] Installing OpenFoam-v1706 on Ubuntu 20.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2022, 10:14
Default Installing OpenFoam-v1706 on Ubuntu 20.04
  #1
New Member
 
shahin mohammad nejad
Join Date: May 2022
Posts: 1
Rep Power: 0
Shahin123 is on a distinguished road
Hello,

I have been trying to install OpenFoam-v1706 on Ubuntu 20.04. For doing that I have been following the instructions in (https://hystrath.github.io/installation/). I added "source $HOME/OpenFOAM-v1706/etc/bashrc" also to my bashrc file. After running "./Allwmake" in $WM_PROJECT_DIR folder, I face some errors that you can see in the attachment.
I would be very thankful if someone could tell me how I can solve this issue.
The thing is I tried to proceed with the installation. To do so, based on instructions I must go to $WM_PROJECT_USER_DIR. When I run "echo $WM_PROJECT_USER_DIR" it gives the path to this folder, but when I run "cd $WM_PROJECT_USER_DIR", it says no such file or directory!
Any comment that would solve my problem is highly appreciated
Attached Images
File Type: jpg error_openfoam.jpg (187.3 KB, 32 views)
Shahin123 is offline   Reply With Quote

Old   July 14, 2022, 07:29
Default
  #2
New Member
 
Alexander Cushen
Join Date: Jul 2022
Posts: 6
Rep Power: 3
AlexanderCushen is on a distinguished road
I am in the exact same situation, having the exact same issue. I have a completely fresh installation of Ubuntu 20.04 and just want to get dsmcFOAM+ working.
AlexanderCushen is offline   Reply With Quote

Old   July 14, 2022, 17:31
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
If you need that directory, just create it with mkdir.
olesen is offline   Reply With Quote

Old   December 17, 2023, 04:01
Default
  #4
New Member
 
lihui
Join Date: Apr 2022
Posts: 7
Rep Power: 4
lihuihh is on a distinguished road
Quote:
Originally Posted by AlexanderCushen View Post
I am in the exact same situation, having the exact same issue. I have a completely fresh installation of Ubuntu 20.04 and just want to get dsmcFOAM+ working.
Hello, have you ever encountered a problem with the calculation of automatic stops when running dsmcfoam+? This question has been bothering me.
lihuihh is offline   Reply With Quote

Old   April 15, 2024, 03:46
Default
  #5
New Member
 
Join Date: Apr 2024
Posts: 1
Rep Power: 0
atimogus is on a distinguished road
so i had the same error

Quote:
/usr/bin/ld: cannot find -lscotchDecomp
collect2: error: ld returned 1 exit status
make[2]: *** [/home/pc/OpenFOAM/OpenFOAM-v1706/wmake/makefiles/general:142: /home/pc/OpenFOAM/OpenFOAM-v1706/platforms/linux64GccDPInt32Opt/bin/foamList] Error 1
make[2]: Leaving directory '/home/pc/OpenFOAM/OpenFOAM-v1706/applications/utilities/miscellaneous/foamList'
make[1]: *** [/home/pc/OpenFOAM/OpenFOAM-v1706/wmake/makefiles/apps:39: foamList] Error 2
make[1]: Leaving directory '/home/pc/OpenFOAM/OpenFOAM-v1706/applications/utilities/miscellaneous'
make: *** [/home/pc/OpenFOAM/OpenFOAM-v1706/wmake/makefiles/apps:39: miscellaneous] Error 2
i had the same problem with $WM_PROJECT_DIR but then i just made clean installation of ubuntu 20.04, to fix this error you are getting in picture i jusr run this command below

Quote:
sudo apt-get install libscotch-dev scotch
and then i runned installation again

Quote:
./Allwmake -j 4
4 is number of cores you want your installation to use (according to ChatGPT)

after that i runned

Quote:
git clone https://github.com/hystrath/hyStrath.git --branch master --single-branch

cd hyStrath/

./install.sh 2 2>/dev/null
and i was able to install hyStrath-s solvers
atimogus is offline   Reply With Quote

Reply

Tags
dsmcfoam+, instalation.


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
[Other] Looking for instructions/suggestions on installing Ubuntu as 2nd OS for OpenFOAM Alan Thomason OpenFOAM Installation 5 September 9, 2015 16:52
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04 arieljeds OpenFOAM Installation 6 August 19, 2015 07:39
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Prolem installing OpenFOAM Ver 2.3.0 source in Ubuntu 13.1.0 on VMware zandi OpenFOAM Installation 5 March 31, 2014 03:57
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 14:43


All times are GMT -4. The time now is 00:06.