|
[Sponsors] |
How to couple two solvers for simulation of two regions? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 11, 2019, 01:32 |
How to couple two solvers for simulation of two regions?
|
#1 |
New Member
Long Jiang
Join Date: Mar 2019
Posts: 5
Rep Power: 7 |
Dear all,
I am a new foamer here, using the OpenFOAM v6. Now, I am struggling to develop a coupled solver for simulating two regions simultaneously, where vector or scalar fields may exchange after each step on the boundary between two regions. (one solver could be interFoam and the other one for potential equations) Here are two plans after several days learning of OpenFOAM: 1. Rewrite solver with reference to chtMultiRegionFoam. This solver is a multi-region solver although it is for heat transfer. I want it to be work for incompressible fluid as well, so I need to integrate two solvers mentioned into it. The problem is that it may not be so easy to implement after the day's effort. I have to deal with so many conflicts for source files there like createFields.H and so on. Another problem is about flexibility. I need to rewrite it again when I change the solver integrated. 2. Develop a method for communication of fields between two regions and run solvers for each region separately. I found a boundary condition called externalCoupled which may help. However, I am worried about computation efficient since it uses a plain text files to realize the fields exchange. Can anyone have some good ideas for this situation? Last edited by jianglong; December 11, 2019 at 06:41. |
|
October 23, 2021, 16:21 |
|
#2 |
Member
Shah Akib Sarwar
Join Date: Mar 2021
Posts: 41
Rep Power: 5 |
Did you find any solution? I am also trying to couple two OpenFOAM solvers for my research.
|
|
October 24, 2021, 01:30 |
|
#3 |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5 |
Have you tried preCICE? here is link of there site https://precice.org .
|
|
October 24, 2021, 22:46 |
|
#4 |
Member
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 14 |
Hello All
The OpenCFD-ESI version has such a feature. This tutorial will help you. See: OpenFOAM-v2106/tutorials/multiphase/compressibleInterFoam/laminar/waterCooler |
|
November 4, 2021, 13:06 |
|
#5 |
Member
Shah Akib Sarwar
Join Date: Mar 2021
Posts: 41
Rep Power: 5 |
Hello all,
Thank you very much for your replies and I apologize for not responding earlier. I will look into both your suggestions and let you know when I have questions! |
|
Tags |
combination, coupled boundary, solver, two domains |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] ICEM CFX Primitive Regions Appearing after Smoothing | syble | ANSYS Meshing & Geometry | 1 | July 29, 2016 17:29 |
chtMultiRegionFoam different properties in (fluid) region(s) | volker1 | OpenFOAM Pre-Processing | 3 | February 4, 2015 07:46 |
[snappyHexMesh] Using snappyHexMesh for multiple enclosed regions | richard_vega | OpenFOAM Meshing & Mesh Conversion | 0 | November 13, 2014 15:28 |
couple and spin index | novice | Siemens | 6 | July 8, 2004 04:31 |
couple problems | leo | Siemens | 3 | January 28, 2003 04:09 |