CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Fluid-Structure Interaction (FSI) with OpenFOAM (https://www.cfd-online.com/Forums/openfoam-solving/78709-fluid-structure-interaction-fsi-openfoam.html)

RLFerreira June 22, 2016 10:24

Hi Mojtaba.

Thank you so much!!! It's really helpful. :)

Wowa July 7, 2016 11:35

FSI-package with interFoam
 
Hello community,

i am starting my master thesis and try to run FSI simulations. I therefore downloaded the OpenFOAM extended 3.1 and the extend-bazaar FSI package, that is linked in this thread before.
Now i am trying to add a solver based on interFoam for the fluid phase, by following the instructions in this report from chalmers university (chapter 4):

http://www.tfd.chalmers.se/~hani/kur...FlowReport.pdf

The solver is named interFlow, and i am failing at creating/preparing the InterFlow.C and interFlow.H files. I get massive problems when i try to compile it. Unfortunately my C++ skills are nearly not present, so i am asking if anybody already compiled such a solver, or can succeed creating one with the instructions in the given document, and can share these files. It would be a great help for me to go on inspecting the algorithms of a working FSI solver with gravitation, variable turbulence models and multiple phases included.

Many thanks,
Wowa

armangh April 26, 2017 12:49

New flow model
 
Hi Wowa,

Have you been successful in compiling the new flow model as mentioned in the report?

Thanks,
Arman

anufagbemi January 27, 2018 14:40

Quote:

Originally Posted by marzbali (Post 331111)
Hello,

I ran a serial case of FSI in OF-1.5-dev version and it worked well, now i'm trying to run the same case in parallel but I get the error that is attached to this thread.
I read in other threads that mpi is integrated in OF-1.5-dev, so if this is the case there could be something wrong with OF compilation.

Any idea or help is greatly appreciated.

Regards,
Marzbali

Hey Marzbali,
Were you able to resolve the issue with parallelization of the fsi? I'm having the same problem. Please can you kindly share what you've learned so far.

Thanks
Samuel

Wowa January 29, 2018 06:04

Dear Arman,

unfortunately i did not solve the issue to write an interfFoam solver for the FSI module, since single phase fluid flow was sufficient for my task.

Dear Samuel,

i managed to run parallel calculation on FSI problems with the foam-extend-4.0 extend bazaar fsiFoam solver. If you are interested in it, i can provide the solution with example files here this week.

Kind regards,
Wowa

anufagbemi January 29, 2018 06:14

Dear Wowa,
Thanks men. Yes I'm very interested. My email is Anufagbemi24@gmail.com

Thanks for your help
Sam

HosseinB January 31, 2018 14:07

icoFsiElasticNonLinULSolidFoam runs parallel?
 
Hi guys,

It is crucial for a study that I'd like to do to know whether this capability has been added to icoFsiElasticNonLinULSolidFoam. It wasn't available in 2014.

I am grateful in advance.
Hossein

Wowa February 9, 2018 19:51

fsiFoam parallel
 
Dear Samuel,

sorry for the delay.

https://tubcloud.tu-berlin.de/s/rjXm8ncD8M9Sevm

You can find attached a link to a simulation case based on foam-extend-4.0 next release solver fsifoam. It is a steel frame tower in water flow. The frame is modeled with the GMSH software.
I changed several files from the beamInCrossFlow tutorial to create this simulation.
Hopefully this method works for you. Don't hesitate to ask any questions.

__________________________________________________ ________
To run the simulation just run the AllrunPar script following the number of processors, for example:

./AllrunPar 4
(Caution: if you do not submit a number of processors, the mesh will be decomposed infinitely. You then have to paste a number of processors in the decomposeParDict manually)

__________________________________________________ ________
Also before running an fsiSimulation you have to go to the file:
FluidSolidInteraction->src->fluidSolidInteraction->solidSolvers->unsTotalLagrangianSolid->unsTotalLagrangianSolid.C

and change the two lines:

1596 //Switch moveMesh(solidProperties().lookup("moveMesh"));
1597 Switch moveMesh(false);

into

1596 Switch moveMesh(solidProperties().lookup("moveMesh"));
1597 //Switch moveMesh(false);

otherwise the solid mesh movement will not be saved and cannot be visualized.
__________________________________________________ ________


Sincerely,
Wowa


All times are GMT -4. The time now is 02:49.