CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

solids4Foam & FOAM-FSI

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

Like Tree5Likes
  • 1 Post By farah.elias
  • 2 Post By bigphil
  • 2 Post By pi06jl6

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2022, 09:11
Post solids4Foam & FOAM-FSI
  #1
New Member
 
Join Date: Apr 2020
Posts: 1
Rep Power: 0
farah.elias is on a distinguished road
Hello,

I came across 3 different FSI solvers that can be used inside Foam-Extend:

I understood from another forum I found that solids4Foam is actually based on Extend-Bazaar FSI toolkit. I would like to know the reason(s) behind the switch from the Extend-Bazaar toolkit to solids4Foam toolbox. As well, in the solids4Foam, is the coupling between the fluid and solid solvers done internally in OpenFOAM?

Also, when I came across the FOAM-FSI solver, I understood one thing about it, that a preCICE adapter was written for Foam-Extend-3.2, where this adapter cannot be found on the precice.org for the Foam-Extend variant of OpenFOAM. Besides this additional functionality that I think is not included in solids4Foam, what is the difference(s) between solids4Foam and FOAM-FSI? do they solve the fluid flow and the structural part using similar algorithms (methods/techniques)? and do the same coupling methods exist in both solids4Foam and FOAM-FSI in order to couple both solid and fluid solvers?

Finally, I know there is another fourth option to solve a strongly coupled FSI problem, which is to use a fluid solver (for example using the fluid solvers of OpenFOAM) and an in-house built solid solver and couple them using preCICE. Do you believe that the latter is fairly doable because of the complexity of the coupling process with preCICE? and any comment or advice regarding this approach? or is it preferable to build the (in-house) solid solver inside solids4Foam and run everything inside Foam-Extend?

Thanks a lot in advance.

Regards,
Elias
bigphil likes this.
farah.elias is offline   Reply With Quote

Old   March 2, 2022, 19:21
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,041
Rep Power: 32
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by farah.elias View Post
I understood from another forum I found that solids4Foam is actually based on Extend-Bazaar FSI toolkit. I would like to know the reason(s) behind the switch from the Extend-Bazaar toolkit to solids4Foam toolbox. As well, in the solids4Foam, is the coupling between the fluid and solid solvers done internally in OpenFOAM?
solids4Foam is essentially just an evolution of the Extend-Bazaar FSI toolkit, where some differences are:
  • There is only one solver (solids4Foam)
  • There are many more solid models
  • There are many more solid mechanical laws
  • There are many more solid boundary conditions
  • It works with OpenFOAM.org and OpenFOAM.com as well as foam extend
  • solids4foam is under active development

As regards "is the coupling between the fluid and solid solvers done internally in OpenFOAM?", yes, the coupling is the same as in the Extend-Bazaar.


Quote:
Originally Posted by farah.elias View Post
Also, when I came across the FOAM-FSI solver, I understood one thing about it, that a preCICE adapter was written for Foam-Extend-3.2, where this adapter cannot be found on the precice.org for the Foam-Extend variant of OpenFOAM. Besides this additional functionality that I think is not included in solids4Foam, what is the difference(s) between solids4Foam and FOAM-FSI? do they solve the fluid flow and the structural part using similar algorithms (methods/techniques)? and do the same coupling methods exist in both solids4Foam and FOAM-FSI in order to couple both solid and fluid solvers?
One comment on preCICE with solids4foam, you can find a preCICE adapter for solids4foam on the feature-precice-adapter-openfoam-v1912 branch, see here: https://bitbucket.org/philip_cardiff...ction-preCICE/. I hope to merge this into the master branch in the coming months.
In the example tutorial, it uses the standard built-in OpenFOAM pimpleFoam solver for the fluid, solids4foam for the solid, and preCICE for the coupling.

As regards differences between solids4foam and FOAM-FSI, well FOAM-FSI was developed mostly independently although the solid solvers come from the same foam-extend origin. You will see that the included coupling algorithms are independently developed too and have some different features (I can see there is an interface to a dealii solid solver and also to preCICE). Although FOAM-FSI no longer seems to be under active development.

Quote:
Originally Posted by farah.elias View Post
Finally, I know there is another fourth option to solve a strongly coupled FSI problem, which is to use a fluid solver (for example using the fluid solvers of OpenFOAM) and an in-house built solid solver and couple them using preCICE. Do you believe that the latter is fairly doable because of the complexity of the coupling process with preCICE? and any comment or advice regarding this approach? or is it preferable to build the (in-house) solid solver inside solids4Foam and run everything inside Foam-Extend?
I guess it depends on what your problem is and what you background experience is. It may be possible to solve your problem in solids4foam, and you could now also try preCICE with an OpenFOAM fluid solver and solids4foam solid solver. Or you can build your workflow around preCICE and use an OpenFOAM fluid solver with one of the available open-source finite element solid solvers.

Feel free to describe your problem here and I (or others) may have suggestions/comments.

Philip
hsiao and farah.elias like this.
bigphil is offline   Reply With Quote

Old   April 26, 2022, 16:10
Default
  #3
Member
 
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 77
Rep Power: 21
pi06jl6 will become famous soon enough
I can say only the following about the packages: many good research articles have come from these packages, I would recommend preCICE and pick your poison from https://precice.org/adapters-overview.html.

OF is indeed a valuable toolbox.

But it requires significant insight into the algorithms, a steep learning curve.

I wish the best luck in your endeavors
bigphil and farah.elias like this.
pi06jl6 is offline   Reply With Quote

Old   September 14, 2022, 17:49
Default FSI in solids4Foam
  #4
New Member
 
Manchester
Join Date: Aug 2022
Posts: 6
Rep Power: 2
Tianyz is on a distinguished road
Hi, I'm using solids4Foam to simulate some FSI cases, but there is an error in my case.
Code:
--> FOAM FATAL ERROR: 
Inlet patch name inlet not found.

    From function setInletVelocity::setVelocity()
    in file functionObjects/setInletVelocity/setInletVelocity.C at line 78.

FOAM aborting
Maybe this error is related to the controDict file, but it doesn't work even I comment the functionobject in the controDict file. Can anyone please help me with it? Thank you in advance.
Tianyz is offline   Reply With Quote

Old   September 14, 2022, 18:56
Default
  #5
New Member
 
Manchester
Join Date: Aug 2022
Posts: 6
Rep Power: 2
Tianyz is on a distinguished road
Quote:
Originally Posted by Tianyz View Post
Hi, I'm using solids4Foam to simulate some FSI cases, but there is an error in my case.
Code:
--> FOAM FATAL ERROR: 
Inlet patch name inlet not found.

    From function setInletVelocity::setVelocity()
    in file functionObjects/setInletVelocity/setInletVelocity.C at line 78.

FOAM aborting
Maybe this error is related to the controDict file, but it doesn't work even I comment the functionobject in the controDict file. Can anyone please help me with it? Thank you in advance.
I fixed it, just comment this function, tried again, and then it works.
Tianyz is offline   Reply With Quote

Old   September 21, 2022, 18:45
Default The difference between oversetmesh in solids4Foam with Foam-extend 4.1 and OpenFOAM
  #6
New Member
 
Manchester
Join Date: Aug 2022
Posts: 6
Rep Power: 2
Tianyz is on a distinguished road
Hi there,

I'm new to solids4Foam. And I'm doing deformable overset mesh and FSI based on OpenFOAM. I went through OpenFOAM-2106 initially and then switch to solids4Foam because the latter one supported deformable overset mesh. However, I noticed that there are some differences between these two versions. In OpenFOAM-2106, all of the configurations can be set within a single file - dynamicMeshDict, there are a lot of entries, for instance, mass, restraints, and so on. For solids4Foam, apart from the dynamicMeshDict file, another file oversetMeshDict is necessary, so do they have the same entries ? And what's the function of the motionSubset folder? Can anyone please explain these to me?
I'll appreciate it!


Best,
Tian
Tianyz is offline   Reply With Quote

Old   September 21, 2022, 19:05
Talking Deformable overset mesh & FSI
  #7
New Member
 
Manchester
Join Date: Aug 2022
Posts: 6
Rep Power: 2
Tianyz is on a distinguished road
Hi there,

I created a case based on the overset folder from the tutorial case in solids4Foam (master brunch).
The case is flow around the long slender cylinder, which can deform according to the force exerted by the fluid domain on the surface of the structure.

Presumably, the two ends of the cylinder should be fixed on the wall, while the middle of the cylinder should deform. But the truth is the case diverged, and one end of the cylinder moved.


I uploaded the details about this case and the log file. Any comments about this case will be appreciate!
Tianyz is offline   Reply With Quote

Old   September 21, 2022, 19:19
Default
  #8
New Member
 
Manchester
Join Date: Aug 2022
Posts: 6
Rep Power: 2
Tianyz is on a distinguished road
Quote:
Originally Posted by tianyz View Post
hi there,

i created a case based on the overset folder from the tutorial case in solids4foam (master brunch).
The case is flow around the long slender cylinder, which can deform according to the force exerted by the fluid domain on the surface of the structure.

Presumably, the two ends of the cylinder should be fixed on the wall, while the middle of the cylinder should deform. But the truth is the case diverged, and one end of the cylinder moved.


I uploaded the details about this case and the log file. Any comments about this case will be appreciate!
D.png

DD.png

p.png

U.png

log.txt
Tianyz is offline   Reply With Quote

Old   December 19, 2022, 21:38
Default
  #9
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 366
Rep Power: 16
quarkz is on a distinguished road
Quote:
Originally Posted by Tianyz View Post
Hi there,

I created a case based on the overset folder from the tutorial case in solids4Foam (master brunch).
The case is flow around the long slender cylinder, which can deform according to the force exerted by the fluid domain on the surface of the structure.

Presumably, the two ends of the cylinder should be fixed on the wall, while the middle of the cylinder should deform. But the truth is the case diverged, and one end of the cylinder moved.


I uploaded the details about this case and the log file. Any comments about this case will be appreciate!
Hi Tianyz,

You have a very interesting case. Btw, you mentioned that the foreground overset mesh in OF can deform. Is that possible in the original OF?

If it is possible with solidFoam, is there a tutorial which shows us how it can be done? Hope you can give me the link.

Btw, my problem involves the flow past a wing. The wing deforms in a prescribed manner. I am interested to see what happens to the wing and flow field when the wing deforms in a 6DOF scenario (mainly 2DOF in pitch and y translation).

As mentioned earlier, it is not possible to deform my foreground overset mesh in the standard OF. Hence, I'm looking for alternatives.

Thanks!

I have
quarkz is offline   Reply With Quote

Old   December 21, 2022, 12:00
Default
  #10
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,041
Rep Power: 32
bigphil will become famous soon enoughbigphil will become famous soon enough
FYI, I added a tutorial showing how to couple solids4foam and overPimpleDyMFoam via preCICE to the new solids4foam website: https://solids4foam.github.io/tutori...tCylinder.html
bigphil is offline   Reply With Quote

Reply

Tags
foam-extend, foam-fsi, solids4foam

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
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 17:57.