|
[Sponsors] |
![]() |
![]() |
#21 |
New Member
Filippo Azzini
Join Date: Apr 2020
Posts: 10
Rep Power: 6 ![]() |
Hi everybody, i have the same error while compiling solid4Foam:
Code:
/usr/bin/ld: impossibile trovare -lgfortran Code:
GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 I'm working on Ubuntu 20.04, with foam extended 4.0 Thanks a lot for your help Filippo ![]() |
|
![]() |
![]() |
![]() |
![]() |
#22 |
Senior Member
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10 ![]() |
Hi Filippo,
Fe40 works with gcc-5 and g++-5, so you have to install gfortran-5. I am working with fe41 and I have to install gfortran-7 in order to install solids4Foam, because fe41 works with gcc-7 and g++-7. Regards. Last edited by dewey; September 22, 2021 at 13:56. |
|
![]() |
![]() |
![]() |
![]() |
#23 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
To add to dewey's answer:
Even though gcc-9 is the default version on Ubuntu 20.04, I suspect that foam-extend-4.0 is using gcc-5 or similar as I don't think foam-extend will compile with gcc-9 (at least without many changes). Philip |
|
![]() |
![]() |
![]() |
![]() |
#24 |
New Member
Filippo Azzini
Join Date: Apr 2020
Posts: 10
Rep Power: 6 ![]() |
thank you so much dewey and philip, now i have compiled solids4Foam
All the best Filippo ![]() |
|
![]() |
![]() |
![]() |
![]() |
#25 | |
New Member
Anas Muhamad Pauzi
Join Date: Nov 2019
Posts: 16
Rep Power: 6 ![]() |
Hi
Did you manage to solve your problem? I had the same problem too when installing in my new laptop, the FE40 was installed and running perfectly. But couldn't type in solids4Foam "solids4Foam: command not found" Please help Tq ANAS Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#26 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
Code:
./Allwmake &> log.Allwmake Philip |
||
![]() |
![]() |
![]() |
![]() |
#27 |
New Member
Anas Muhamad Pauzi
Join Date: Nov 2019
Posts: 16
Rep Power: 6 ![]() |
Thank you Phillip for the answer, just realized the solution already mentioned above.
I'm installing solids4Foam on Foam-Extend-4.0 and Ubuntu-20.04 sudo apt install gfortran-5 sudo apt-get update ./Allclean ./Allwmake |
|
![]() |
![]() |
![]() |
![]() |
#28 | |
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 4 ![]() |
Quote:
I am also unsure as to which directory I should download solids4foam into. Could someone please advise me? Best regards Merlin |
||
![]() |
![]() |
![]() |
![]() |
#29 | |
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 4 ![]() |
Quote:
Hi, I've noticed that you succesfully installed and compiled foam extend 4.0 on ubuntu 20.04. I have had great trouble in doing this. Could you please provide me with the exact steps that you took and any modifications you made to the code to install it successfully? Best regards Merlin |
||
![]() |
![]() |
![]() |
![]() |
#30 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
You can try follow the (limited) documentation here: https://bitbucket.org/philip_cardiff...documentation/. You can download solids4foam to anywhere you like; I place it in $FOAM_RUN/.. |
||
![]() |
![]() |
![]() |
![]() |
#31 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#32 | |
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 4 ![]() |
Quote:
Ok thank you very much |
||
![]() |
![]() |
![]() |
![]() |
#33 |
Senior Member
|
Dear Prof. Cardiff,
I now need to set different soil properties (those in constant dictionary) in two regions. I tried to set them by using setFileds but it is not allowed. Do you have any ideas? Thanks. |
|
![]() |
![]() |
![]() |
![]() |
#34 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
For each material, it is expected that a cellZone exists with the same name, to designate the different material regions. |
||
![]() |
![]() |
![]() |
![]() |
#35 | |
Senior Member
|
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#36 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
As an example mechanicalProperties, see here: https://bitbucket.org/philip_cardiff...icalProperties, which is: Code:
mechanical ( steel { type linearElastic; rho rho [1 -3 0 0 0 0 0] 7854; E E [1 -1 -2 0 0 0 0] 200e+9; nu nu [0 0 0 0 0 0 0] 0.3; } aluminium { type linearElastic; rho rho [1 -3 0 0 0 0 0] 7854; E E [1 -1 -2 0 0 0 0] 2e+9; nu nu [0 0 0 0 0 0 0] 0.2; } ); However, for the porosity related properties used by the poro-elastic solid model, many parameters are currently only implemented as uniform scalars, for example the properties given in solidProperties: Code:
hydraulicConductivity hydraulicConductivity [0 1 -1 0 0 0 0] 1e-3; porosity porosity [0 0 0 0 0 0 0] 0.2; waterSpecificWeight waterSpecificWeight [1 -2 -2 0 0 0 0] 9.807e+03; degreeOfSaturation degreeOfSaturation [0 0 0 0 0 0 0] 0.9; waterBulkModulus waterBulkModulus [1 -1 -2 0 0 0 0] 2.15e+09; ![]() |
||
![]() |
![]() |
![]() |
![]() |
#37 |
New Member
Juan Salazar
Join Date: Jun 2019
Posts: 19
Rep Power: 7 ![]() |
I was able to compile FE41 with gcc@9.3.0. However, I am not able to compile the development branch of solids4foam. Attached is my log.Allwmake file. The summary of errors is as follows:
Code:
error: call of overloaded ‘pow(int, int)’ is ambiguous Code:
error: no matching function for call to ‘distance(int&, int&)’ Code:
error: no type named ‘difference_type’ in ‘struct std::iterator_traits<int>’ Link to log file since it exceeds the permitted size limit. https://www.dropbox.com/s/l1rex248wysc0g3/log.Allwmake.gz?dl=0 Any help is greatly appreciated! MPI=openmpi-4.0.4 gcc=9.3.0 OS=CentOS Stream 8 make=GNU Make 4.2.1 Eigen=3.3.7 (installed with gcc@9.3.0) Last edited by saladbowl; March 25, 2022 at 00:25. Reason: Forgot to include Eigen version |
|
![]() |
![]() |
![]() |
![]() |
#38 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#39 |
New Member
ysh
Join Date: Nov 2022
Posts: 5
Rep Power: 3 ![]() |
Dear all,
I am trying to compile solids4foam with foam-extend 4.1 but I have problems.I don't know what to do to solve these problems. Hope to get some help here. Log file of my try of compilation process after errors occurred is attached. Any help would be appreciated. |
|
![]() |
![]() |
![]() |
![]() |
#40 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,091
Rep Power: 34 ![]() ![]() |
Quote:
There seems to be a compatibility issue between the MPI used by your PETSc installation and the MPI used by your OpenFOAM installation. One solution is to install solids4foam without PETSc support. To do this, unset the PETSC_DIR variable, i.e. Code:
> unset PETSC_DIR > ./Allwclean > ./Allwmake Philip Last edited by bigphil; April 28, 2023 at 05:30. Reason: Change "with" to "without" |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Installation on Docker Container | mohsen.shiea | ANSYS | 11 | March 14, 2024 11:18 |
how do i fix installation error of ansys 19.0 on ubuntu 18.04 | rid_taki | ANSYS | 15 | June 7, 2021 06:32 |
[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 |