CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

FSI with ElmerFoamFSI Solver

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2017, 08:17
Talking FSI with ElmerFoamFSI Solver
Thaw Tar's Avatar
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13
Thaw Tar is on a distinguished road
Dear Foamers,

I wanted to do FSI simulations of VIV of flexible structures (like elastic finite length cylinders).

I decided to use ElmerFoamFSI solver and successfully compiled it. It uses Foam-Extend 3.2 as fluid solver and Elmer FEM code as structure solver.

I tried to run the HronTurekFSI3 tutorial provided by that solver with default settings. As a default, the velocity boundary condition of the plate is fixedValue instead of movingWallVelocity. If I use fixedValue BC, it runs happily and I can see the plate moves under the flow (I think it is quite a good deformation) although I do believe that I have to use movingWallVelocity BC.

However, if I run the tutorial with moving wall velocity, the simulation blows up and crashes after a few time steps. I think the mesh quality is OK and the time step is small enough. I can run that very same case using foam-extend-3.2's default icoFsiElasticNonLinULSolidFoam solver using both fixedValue and movingWallVelocity BC's for the plate.

Does anybody have any experience with ElmerFoamFSI code and movingWallVelocity BC with it? Could anybody please help me figure out how to fix this?

Thanks in advance.
Thaw Tar is offline   Reply With Quote

Old   September 13, 2017, 19:56
Thaw Tar's Avatar
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13
Thaw Tar is on a distinguished road
I checked the ElmerFoamFSI code and found out that it is a weakly coupled FSI code rather than a strong coupled one. It means I cannot use the coupling schemes like Aitken and relaxation factors for the displacements.

I also found out that they wrote an iterative strongly coupled solver (for OpenFoam side) in the same solver code file. But that solver is not being used. I tried to modify the FSI solver code calling that strong coupling function. However, it does not work yet. The simulation is still diverging.

The person from ElmerFoamFSI development group suggested me to use upwind schemes for the div() terms in order to add some diffusion and relax the flow variables. I will try it soon.

If it does not work, as the next step, I will try to relax the UEqn() part like in pimple algorithm. Since the fluid solver for ElmerFoamFSI is purely icoFoam based, there is no relaxation occurring like in piso or pimpleFoam. I will include UEqn().relax() and try to increase the solver iterations like pimple algorithm.

I will report soon.
Thaw Tar is offline   Reply With Quote

Old   October 30, 2017, 16:01
Default Regarding ElmerFoamFSI test cases
New Member
Shyam Sunder
Join Date: Sep 2015
Posts: 27
Rep Power: 10
ssyadav is on a distinguished road
Hello Tar

Have you tried the default test cases with ElmerFoamFSI? I compiled the solver and I am able to run a HironTurekFSI case, but I am getting lot of default test cases failed after the compilation. Any clue?


ssyadav is offline   Reply With Quote

Old   October 30, 2017, 17:37
Thaw Tar's Avatar
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13
Thaw Tar is on a distinguished road
Dear Shyam,

As I mentioned above, I can run default HronTurek FSI3 test with default fixedValue velocity BCs but not with the more realistic movingWall BC for the flat plate.

And I believe that one of the main reason is because ElmerFoamFSI is weakly coupled FSI. Or may be fixedValue BC is more suitable, I am not sure.

But for your question, what do you mean by default test cases? I also failed a lot of tests during the compilation stage. But as far as I remember, I could run most cases in the tests directory.

Anyway, I already gave up with ElmerFoamFSI because it is a weakly coupled solver and moved on to another strongly coupled one. It is also foam-extend based but fully finite volume approach. I desperately need a strongly coupled solver and thus moved to FOAMFSI (FYI).

Thaw Tar is offline   Reply With Quote


elmer, fsi problem, hronturekfsi3, movingwallvelocity, open foam

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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 16:08
3d vof Smaras FLUENT 2 February 19, 2013 06:58
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08

All times are GMT -4. The time now is 23:40.