|
[Sponsors] |
February 25, 2022, 09:11 |
solids4Foam & FOAM-FSI
|
#1 |
New Member
Join Date: Apr 2020
Posts: 2
Rep Power: 0 |
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 |
|
March 2, 2022, 19:21 |
|
#2 | |||
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Quote:
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:
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:
Feel free to describe your problem here and I (or others) may have suggestions/comments. Philip |
||||
April 26, 2022, 16:10 |
|
#3 |
Member
Johan Lorentzon
Join Date: Mar 2009
Location: Lunds University, Sweden
Posts: 78
Rep Power: 23 |
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 |
|
September 14, 2022, 17:49 |
FSI in solids4Foam
|
#4 |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
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 |
|
September 14, 2022, 18:56 |
|
#5 | |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
Quote:
|
||
September 21, 2022, 18:45 |
The difference between oversetmesh in solids4Foam with Foam-extend 4.1 and OpenFOAM
|
#6 |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
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 |
|
September 21, 2022, 19:05 |
Deformable overset mesh & FSI
|
#7 |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
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! |
|
September 21, 2022, 19:19 |
|
#8 | |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
Quote:
DD.png p.png U.png log.txt |
||
December 19, 2022, 21:38 |
|
#9 | |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
Quote:
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 |
||
December 21, 2022, 12:00 |
|
#10 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
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
|
|
February 9, 2023, 13:53 |
|
#11 | |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
Quote:
Sorry for to reply delay, but to my knowledge, I did this deform overset mesh based on Foam-extend 4.1 and solid4Foam, everything works well, but can not run in parallel. There is a tutorial come with soild4Foam where you can check it. Hope this information is helpful Best, Tian |
||
February 9, 2023, 13:54 |
|
#12 | |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
Quote:
|
||
February 10, 2023, 00:08 |
|
#13 | |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
Quote:
Do you know why it can't work in parallel? Does the problem lie in OF or Solid4Foam? Maybe I can give it a try to see if it can work in parallel. If it can't, then its use will be very limited since most problems need to run in parallel. Maybe we can check with the developers to see how this problem can be solved. |
||
February 10, 2023, 16:19 |
|
#14 | |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
Quote:
There is a case in fsi folder in soilds4foam named beamIncrossFlow, where a subfolder overset is there. As for the reason why it can't run in parallel, sorry, I don't know too much, I think it should relate to OpenMP. As Cardiff replied, maybe OpenFOAM coupled with preCICE is another way to do it. Best, Tian |
||
August 25, 2023, 06:02 |
|
#15 | |
New Member
young4of
Join Date: Nov 2021
Posts: 29
Rep Power: 5 |
Quote:
As far I know, this example is already in solids4faom-v2.0. I want to ask if this example can run on foam-extend 4.1, as I see on the preCICE official website that it does not apply to this version of fe. With regards, Young |
||
August 25, 2023, 06:46 |
|
#16 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Quote:
The preCICE adapter does not currently support foam-extend. I am sure it should not be much effort to port it to foam-extend, for example, using compiler directives like in solids4foam, but it is on my long to-do list. If someone works the adapter and starts this work, I am happy to advise and make suggestions. Philip |
||
August 25, 2023, 07:11 |
|
#17 | |
New Member
young4of
Join Date: Nov 2021
Posts: 29
Rep Power: 5 |
Quote:
Young |
||
August 25, 2023, 07:41 |
|
#18 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
You can find the preCICE adapter here: https://github.com/precice/openfoam-adapter.
I suggest you fork the repository and then try compile it with foam-extend-4.1. You may have to remove some checks saying foam-extend is not supported, and then go through the compiler errors one-by-one. It may be easiest to temporarily disable the compilation of many classes in the Make/files and add them back as you go. You can commit to your fork as you make progress and feel free to include me (@philipcardiff) in comments on issues you face. |
|
August 25, 2023, 10:25 |
|
#19 | |
New Member
young4of
Join Date: Nov 2021
Posts: 29
Rep Power: 5 |
Quote:
|
||
August 25, 2023, 16:41 |
|
#20 | |
New Member
Manchester
Join Date: Aug 2022
Posts: 27
Rep Power: 4 |
Quote:
Just want to let you know that the newest solids4Foam website doesn't work now, I will try it later. Another question I'm wondering is have you ever considered the possibility of adding this solids4Foam solver in openfoam esi? Or is it a big project to port a limited library of solids4foam into openfoam esi? Since I should use some modified turbulence model compiled based on OpenFOAM esi, it'll be much more compatible to run the case within one package to some extent. Best, Tian |
||
Tags |
foam-extend, foam-fsi, solids4foam |
|
|
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 |