CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[solids4Foam] solids4Foam installation

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

Like Tree1Likes
  • 1 Post By ugurcan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2021, 09:04
Default solids4Foam installation
  #1
New Member
 
Join Date: Mar 2021
Posts: 9
Rep Power: 2
Deep1994 is on a distinguished road
I have installed the foamextend-4.0 and also downloaded solids4Foam. However, I have not been able to install solids4Foam properly, and this has resulted in errors every time (although foamextend-4.0 is installed correctly). I get errors.

Could you please tell me where to download the solids4Foam release (in which directory I mean - ~/.. OR ~/foam/.. OR ~/foam/foamextend-4.0/..) and then how to proceed with the installation and the proper way to solve FSI problems? If there is any detailed documentation on that, it would be great of you if you could kindly share the same! Thank you in advance!
Deep1994 is offline   Reply With Quote

Old   March 1, 2021, 11:03
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 892
Rep Power: 29
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

Can you post the full log file from Allwmake here? i.e. run the following command in the solids4foam-release directory and upload log.Allwmake when it is done:
Code:
$> ./Allwmake &> log.Allwmake
Philip
bigphil is offline   Reply With Quote

Old   March 2, 2021, 02:48
Default
  #3
New Member
 
Join Date: Mar 2021
Posts: 9
Rep Power: 2
Deep1994 is on a distinguished road
Dear Philip,

I have done as you suggested:*./Allwmake &> log.Allwmake

And then I types:*$> solids4Foam -help

And I see that it gives this output:

Usage: solids4Foam [-DebugSwitches key1=val1,key2=val2,...] [-DimensionedConstants key1=val1,key2=val2,...] [-InfoSwitcheskey1=val1,key2=val2,...] [-OptimisationSwitcheskey1=val1,key2=val2,...] [-Tolerances key1=val1,key2=val2,...] [-case dir] [-dumpControlSwitches] [-noFunctionObjects] [-parallel][-help] [-doc] [-srcDoc]* *
Deep1994 is offline   Reply With Quote

Old   March 2, 2021, 05:23
Default
  #4
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 892
Rep Power: 29
bigphil will become famous soon enoughbigphil will become famous soon enough
If the solids4Foam command works (which is does from the output you have shown) then solids4foam is installed. Next step is to follow one of the tutorials.

Philip

Last edited by bigphil; March 2, 2021 at 06:35. Reason: Typo: changed soldis4foam to solids4foam
bigphil is offline   Reply With Quote

Old   March 2, 2021, 05:44
Default
  #5
New Member
 
Join Date: Mar 2021
Posts: 9
Rep Power: 2
Deep1994 is on a distinguished road
Sure, thanks Philip.
Deep1994 is offline   Reply With Quote

Old   April 7, 2021, 09:15
Default
  #6
New Member
 
Ugur
Join Date: May 2018
Posts: 5
Rep Power: 4
ugurcan is on a distinguished road
Dear all,

I am trying to compile solids4foam with foam-extend 4.1 but I have a problem. I have compiled solids4foam successfully in version: 4.0 of foam-extend. However, errors occurred when I was trying to compile it in version 4.1 of foam-extend and compilation was interrupted.

Log file of my second try of compilation process after errors occurred is attached. How can I solve this problem?

Any help would be appreciated.
Attached Files
File Type: txt log-compiling.txt (23.1 KB, 3 views)
ugurcan is offline   Reply With Quote

Old   April 7, 2021, 09:55
Default
  #7
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 892
Rep Power: 29
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by ugurcan View Post
Dear all,

I am trying to compile solids4foam with foam-extend 4.1 but I have a problem. I have compiled solids4foam successfully in version: 4.0 of foam-extend. However, errors occurred when I was trying to compile it in version 4.1 of foam-extend and compilation was interrupted.

Log file of my second try of compilation process after errors occurred is attached. How can I solve this problem?

Any help would be appreciated.
Is it possible that you have run out of disk space? Or maybe you don't have write permission to /home/ugurbuntu/foam/ugurbuntu-4.1/applications/bin/linux64GccDPInt32Opt?

The compilation seems fine, but you just get an error when the binaries are installed, even though the two libraries were installed correctly.

Philip
bigphil is offline   Reply With Quote

Old   April 13, 2021, 11:05
Default
  #8
New Member
 
Ugur
Join Date: May 2018
Posts: 5
Rep Power: 4
ugurcan is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Is it possible that you have run out of disk space? Or maybe you don't have write permission to /home/ugurbuntu/foam/ugurbuntu-4.1/applications/bin/linux64GccDPInt32Opt?

The compilation seems fine, but you just get an error when the binaries are installed, even though the two libraries were installed correctly.

Philip
Hello Philip, it is not related to disk space or permissions. I try to execute Allwclean and Allwmake again for solids4foam but it didn't work. I have installed the solids4foam with foam-extend 4.0 in the same way that I try now. Could conflict between the versions be the cause of the problem?

Uğur
ugurcan is offline   Reply With Quote

Old   April 13, 2021, 12:19
Default
  #9
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 892
Rep Power: 29
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi Uğur,

Assuming you have only one version of OpenFOAM/foam sourced at any one time then it should not be a conflict between versions. Can you attached the full output from the Allwmake script? e.g. log.Allwmake from the command Allwmake &> log.Allwmake

Philip
bigphil is offline   Reply With Quote

Old   April 13, 2021, 16:25
Default
  #10
New Member
 
Ugur
Join Date: May 2018
Posts: 5
Rep Power: 4
ugurcan is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Hi Uğur,

Assuming you have only one version of OpenFOAM/foam sourced at any one time then it should not be a conflict between versions. Can you attached the full output from the Allwmake script? e.g. log.Allwmake from the command Allwmake &> log.Allwmake

Philip
Hi Philip,

Yes, I sourced only one version (4.1). The full output from the Allwmake command is attached now.

Uğur
Attached Files
File Type: zip log.zip (22.9 KB, 0 views)
ugurcan is offline   Reply With Quote

Old   April 15, 2021, 04:06
Default
  #11
New Member
 
Ugur
Join Date: May 2018
Posts: 5
Rep Power: 4
ugurcan is on a distinguished road
My installation problem of solids4foam was solved. The reason is that foam-extend 4.1 was not successfully compiled because of missing some dependencies so the compilation of solids4foam was also interrupted. There is a typo in the below wiki web-site for installation of foam-extend 4.1 on ubuntu 18.04:

https://openfoamwiki.net/index.php/I...end-4.1/Ubuntu

The command line to install required packages is like follows:
Code:
sudo apt-get install git-core build-essential binutils-dev cmake flex \
zlib1g-dev  libncurses5-dev curl bison gnuplot gnuplot-qt gnuiplot-data \
libxt-dev rpm mercurial graphviz python python-dev python3 python3-dev
but, it should be:
Code:
sudo apt-get install git-core build-essential binutils-dev cmake flex \
zlib1g-dev  libncurses5-dev curl bison gnuplot gnuplot-qt gnuplot-data \
libxt-dev rpm mercurial graphviz python python-dev python3 python3-dev
It would be nice to make a correction. Thanks for help.

Uğur
bigphil likes this.
ugurcan is offline   Reply With Quote

Reply

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
Ansys Installation on Docker Container mohsen.shiea ANSYS 6 November 14, 2020 13:53
how do i fix installation error of ansys 19.0 on ubuntu 18.04 rid_taki ANSYS 14 May 31, 2020 05:11
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits cookcaptain OpenFOAM Installation 7 May 26, 2015 11:22
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 14:22.