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 Build Errors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2024, 06:51
Default solids4Foam Build Errors
  #1
New Member
 
Simon
Join Date: Feb 2024
Posts: 2
Rep Power: 0
SimoJJack is on a distinguished road
Hi,

I'm having issues installing solids4foam following the instructions on https://www.solids4foam.com/installa...romSource.html

I'm very new to openFOAM and WSL so it's likely I'm missing something simple


I have followed these steps:
- Starting with fresh Ubuntu Install (WSL)
- Install openFOAM - v2012 following instructions here: https://develop.openfoam.com/Develop...ompiled/debian
- Add openFOAM source to ~/bashrc with the following

Code:
 source /usr/lib/openfoam/openfoam2012/etc/bashrc
- Install petsc with:
Code:
sudo apt install petsc-dev
- Set the PETSC_DIR with:
Code:
export PETSC_DIR = /usr/lib/petscdir
(also added to ~/bashrc)

- install gfortran with
Code:
sudo apt-get install gfortran
- install gnuplot with:
Code:
sudo apt-get install gnuplot
- download solids4foam git repository V2.0 with:
Code:
git clone --branch v2.0 https://github.com/solids4foam/solids4foam.git
- Build with
Code:
cd solids4foam
./Allwmake -j 2>&1 | tee log.Allwmake
I have attached the log file for reference also.

Any help is very much appreciated.
Attached Files
File Type: zip log.zip (20.5 KB, 7 views)
SimoJJack is offline   Reply With Quote

Old   March 4, 2024, 06:47
Default
  #2
New Member
 
Ivan Batistić
Join Date: Sep 2022
Location: Zagreb, Croatia
Posts: 14
Rep Power: 3
iBatistic is on a distinguished road
You have a problem with petsc during compilation. Skip the installation of petsc ( do not set PETSC_DIR variable) and try again.
iBatistic is offline   Reply With Quote

Old   March 5, 2024, 09:13
Default
  #3
New Member
 
Simon
Join Date: Feb 2024
Posts: 2
Rep Power: 0
SimoJJack is on a distinguished road
Thank Ivan, that appears to have done the trick.
SimoJJack 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
chtMultiRegionFoam not writing any results but not giving any errors lmw354 OpenFOAM Running, Solving & CFD 5 August 29, 2021 03:04
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


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