CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Block coupling solvers for multi-region problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2022, 22:05
Default Block coupling solvers for multi-region problems
  #1
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
Hi

I am referring to my recent post

Discontinuous conductivities in heat transfer

From the lack of responses, I conclude that there are no block coupling solvers involving fields over adjacent meshes.

And even after reading code from

blockLduMatrix

I really don't know where to start if I have to do it on my own.

Therefore, this thread is a request to add such solvers to open-foam-extend.
I am sure there are individuals in the OpenFOAM community that are much more capable than little me and who could handle this task.

It would be greatly appreciated since I have hit a roadblock.


Regards to all
celestial is offline   Reply With Quote

Old   June 19, 2022, 15:14
Default
  #2
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
I'll give you a hint though.

The forebear method ( a hack that I believe was specific conjugate heat transfer only)

is to be found on p 10 of

Implicit solution techniques for coupled multi-field problems – Block Solution, Coupled Matrices

Advanced Training at the OpenFOAM Workshop Jun 6 2010


and, the generalized version is to be found on p 43 of

Block-Coupled Simulations Using OpenFOAM

6th OpenFOAM Workshop 13-16 June 2011


Therefore, probably the latter approach is the way out, together with the appropriate boundary condition that is desired at the interface between the meshes. So I think that after more than 3 years, I finally see light at the end of the tunnel.

But to be forthright, I'm still surprised that nobody shows any interest in this kind of block coupling.

Anyhow, thanks for viewing for my posts.
celestial is offline   Reply With Quote

Old   June 19, 2022, 15:47
Default
  #3
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
dlahaye is on a distinguished road
The lack of response might be related to the complexity of the problem that you raise.

In your post you discuss both block-coupled solvers and multi-region problems. Both these issues have recently attracted a lot of attention in this conmunity recently.

For multi-region problems, e.g., implicit handling of coupled patches have been proposed in https://www.openfoam.com/news/main-n...mplicit-cyclic.

Block-coupled solvers have discussed in e.g. the recent OpenFoam workshops.

A good overview of both topics might be required to make a next step.

I am happy to share my limited insight.
dlahaye is offline   Reply With Quote

Old   June 23, 2022, 17:28
Default
  #4
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
Sorry but I fail to see why a simple mathematical problem should be so difficult to implement. But it does not matter since I am closing the thread as I was using the wrong terminology all along:

Implicit solution techniques for coupled multi-field problems – Block Solution, Coupled Matrices

Advanced Training at the OpenFOAM Workshop Jun 6 2010

discusses two topics concerning implicit coupling namely

Domain (Matrix)

and

Equation (Block)

coupling

What I am interested in is domain coupling ( so one variable in my case over
more than two adjacent meshes)

The hack for this was inserted into conjugate heat transfer solver long time ago - see p 10 in the above pdf where you will find a function

hook part of the coupledFvScalarMatrix class

This function was later renamed set as I checked by downloading the source code for foam-extend-1.6 and that code was later improved and expanded upon in later foam-extend versions.

So unless I am wrong, I have a feeling one can add the boundary conditions

k1*grad T1 = k2*grad T2 (adjacent meshes with different heat conductivities)

to the overall matrix equations

which would mean that I could have solved this problem more than 3 years ago with existing OF code instead of wasting my time


Such is life
celestial is offline   Reply With Quote

Reply


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
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 18:36
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) Adam_K OpenFOAM Running, Solving & CFD 2 March 27, 2019 07:51
Isosurface, volume integrals, etc... Inside a Block instead of the whole Region JohnAB STAR-CCM+ 0 November 13, 2014 18:52
What is weakstrong coupling in FSI problems hajo OpenFOAM Running, Solving & CFD 5 May 15, 2008 02:45
problems with viewing mesh block by block James CFX 0 January 22, 2008 13:11


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