CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

How to couple two solvers for simulation of two regions?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2019, 00:32
Default How to couple two solvers for simulation of two regions?
New Member
Long Jiang
Join Date: Mar 2019
Posts: 4
Rep Power: 3
jianglong is on a distinguished road
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 05:41.
jianglong is offline   Reply With Quote


combination, coupled boundary, solver, two domains

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] ICEM CFX Primitive Regions Appearing after Smoothing syble ANSYS Meshing & Geometry 1 July 29, 2016 16:29
chtMultiRegionFoam different properties in (fluid) region(s) volker1 OpenFOAM Pre-Processing 3 February 4, 2015 06:46
[snappyHexMesh] Using snappyHexMesh for multiple enclosed regions richard_vega OpenFOAM Meshing & Mesh Conversion 0 November 13, 2014 14:28
couple and spin index novice Siemens 6 July 8, 2004 03:31
couple problems leo Siemens 3 January 28, 2003 03:09

All times are GMT -4. The time now is 15:18.