|
[Sponsors] |
October 3, 2018, 21:27 |
Couple two solvers in OpenFOAM
|
#1 |
New Member
Nuttita Pophet
Join Date: Oct 2016
Location: Mississippi, USA
Posts: 10
Rep Power: 9 |
Hi, I need to couple InterFoam with porousInterFoam for flows through deforming porous medium. InterFoam needs pressure field from porousInterFoam and in turn it will give alpha and U to porousInterFoam. The steps in the coupled model will be:
At time i, p —> solve InterFoam —> alpha, U Time i+dt/2, alpha, U —> solve porousInterFoam —> p Time i+dt, p —> solve InterFoam —> alpha, U ... Does anyone know how to couple solvers in this way? Is there any utilities or libraries for this coupling? Please help. Thanks! |
|
October 4, 2018, 00:56 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi,
is there a reason why you cannot use porousInterFoam directly? You mentioned some deformation - I am not familiar with OpenFOAM porousInterFoam - however, if there is the mesh motion missing, I suggest to add this to the solver. In principle, coupling two solvers as you mentioned is not a good idea; however, there are different opinions.
__________________
Keep foaming, Tobias Holzmann |
|
October 4, 2018, 04:34 |
operator splitting?
|
#3 |
New Member
Eric Bringley
Join Date: Nov 2016
Posts: 14
Rep Power: 9 |
It sound to me like you're tyring to do some strang operator splitting type routine, but you didn't include your time steps for each step, so it's impossible to tell exactly what you're doing... To the best of my knowledge, there's no out-of-the box way to "just couple two solvers".
If porousInterFoam doesn't do what you want, you'll have to create your own copy of the source code and implement your own operator splitting, likely starting from porousInterFoam. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 03:19 |
couple own c++ code with OpenFoam | ttmabel | OpenFOAM Programming & Development | 0 | November 19, 2015 03:04 |
Solvers to be used for Simulating Centrifugal pump in OpenFoam | coolcrasher | OpenFOAM Running, Solving & CFD | 7 | September 4, 2015 08:51 |