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] Installing solids4foam with OF9

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2023, 10:45
Default Installing solids4foam with OF9
  #1
New Member
 
Join Date: Jun 2011
Posts: 22
Rep Power: 14
timbojones is on a distinguished road
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
The entries shown in bold refer to directories that don't exist in my $FOAM_SRC directory for OF 9. I also checked our ".com" installation, and they are not there, either. Finally, as far as I can tell, they are not created as part of the solids4foam compilation process. I expect I'll also have a problem with the finiteArea directory as I don't see it as part of my stock OF9 setup.

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
timbojones is offline   Reply With Quote

Old   January 29, 2023, 05:46
Default
  #2
New Member
 
siddhartha paudel
Join Date: Dec 2021
Posts: 3
Rep Power: 4
Siddhartha paudel is on a distinguished road
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
Siddhartha paudel is offline   Reply With Quote

Old   January 30, 2023, 11:16
Default Installing solids4foam with OF9
  #3
New Member
 
Join Date: Jun 2011
Posts: 22
Rep Power: 14
timbojones is on a distinguished road
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
timbojones is offline   Reply With Quote

Old   March 17, 2023, 11:37
Default
  #4
New Member
 
Join Date: Jun 2011
Posts: 22
Rep Power: 14
timbojones is on a distinguished road
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!
timbojones 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
Using solids4Foam applied to FSI problems - OF9 - symmetryPlane issue awgomes OpenFOAM Running, Solving & CFD 0 October 7, 2022 08:22
[OpenFOAM.org] Error while installing OF9 in Ubuntu22.04 VVN OpenFOAM Installation 2 May 18, 2022 14:30
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53


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