|
[Sponsors] |
[solids4Foam] Installing solids4foam with OF9 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 18, 2023, 11:45 |
Installing solids4foam with OF9
|
#1 |
New Member
Join Date: Jun 2011
Posts: 22
Rep Power: 15 |
Hello,
I'm having a problem installing solids4foam 2.0 with OpenFOAM 9 on our HPC. The system is running CentOS 7, and OpenFOAM has been built with GCC 11.2. Also, a compatible version of gFortran (11.2) is installed on the system as well. My issue seems to stem from permission issues with the dynamicMesh directories (dynamicMesh and dynamicFvMesh). In looking through the options files for solids4foam, I see entries like those below. The specific example is for blockCoupledSolids4FoamTools. Code:
EXE_INC = \ -std=c++14 \ -Wno-old-style-cast -Wno-deprecated-declarations \ $(VERSION_SPECIFIC_INC) \ -I../solids4FoamModels/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteArea/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/topoChangerFvMesh/lnInclude \ -I$(LIB_SRC)/lagrangian/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude For those who have gotten this to work with OF 9, how have you done it? Any advice or insight that anyone can share would be greatly appreciated! Thanks, Timbojones |
|
January 29, 2023, 06:46 |
|
#2 |
New Member
siddhartha paudel
Join Date: Dec 2021
Posts: 3
Rep Power: 4 |
Sir,
I have also the same problem. Do you solve this problem? If you have done it, then please guide me to deal with this problem. Siddhartha paudel |
|
January 30, 2023, 12:16 |
Installing solids4foam with OF9
|
#3 |
New Member
Join Date: Jun 2011
Posts: 22
Rep Power: 15 |
Hi Siddhartha,
As of now, I have not been able to get solids4foam to compile. I tried downloading and compiling FOAM Extend (FE), but I couldn't get this to work on our HPC system because I couldn't resolve its third-party link requirements. FE has a nice installation script that will download and compile needed software. However, our HPC has no view to the public internet. If your situation is different, you might enjoy more success than I have. Regarding the makefiles themselves, they appear to be hard-coded for the FOAM extend directory structure. I haven't tried to resolve includes and libraries to an OF 9 equivalent, though this may be possible. I wish you good luck getting this to work. I'll have to explore alternative solutions for FSI. Regads, Timbojones |
|
March 17, 2023, 12:37 |
|
#4 |
New Member
Join Date: Jun 2011
Posts: 22
Rep Power: 15 |
Bump...
I'd really like to use solids4foam for some FSI work I'm doing. I'm wondering if anyone has more insight on how to compile from source against OpenFOAM 9. I see around the forum that others are using solids4foam with OF9. Is everyone using the Docker image? Unfortunately, I don't have the ability to use Docker in our HPC environment. I also tried to compile FOAM Extend, but that didn't go well for me, either... Any help the community could provide would be greatly appreciated! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Using solids4Foam applied to FSI problems - OF9 - symmetryPlane issue | awgomes | OpenFOAM Running, Solving & CFD | 0 | October 7, 2022 09:22 |
[OpenFOAM.org] Error while installing OF9 in Ubuntu22.04 | VVN | OpenFOAM Installation | 2 | May 18, 2022 15:30 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |