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

Information exchange in region coupled solvers

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2019, 07:45
Unhappy
  #21
New Member
 
Gaoqiang Yang
Join Date: Apr 2018
Posts: 14
Rep Power: 8
shanyeyun is on a distinguished road
Quote:
Originally Posted by EmadTandis View Post
I checked it before and concluded that:
# K.originalPatchField()/(1 - p.weights())/mld.magDelta(p.index())
means original K for a considering domain (not interpolated K) divided by "distance from cell to face for patch". Regarding ".originalPatchField()", from my experience, it returns cell value of K. However you can find it in regionCouplingFvPatchField.C for a better understanding.


This is my idea about effect of regionCoupling patches in solution process:



internalCoeffs_: added to diag() of neighbor cell in the matrix

boundaryCoeffs_: It will be then multiplied by matrixUpdateBuffer_ of the shadow cell and the result is added to matrix.source()

manipulateMatrix(): It will add a new source to matrix.source()
Though both of us agree with ".originalPatchField()", from experience, it returns cell value of K'' However, when I dig deeper the source code, I can not find evidence from the source code. Hope anyone could clarify this based on the source code.
shanyeyun is offline   Reply With Quote

Old   April 24, 2019, 07:51
Default
  #22
Member
 
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16
EmadTandis is on a distinguished road
Quote:
Originally Posted by shanyeyun View Post
Yes,

k= distanceFromFluidCellToSolidCell /

( distanceFromFluidCellToWall / ThermalConductivityAtFluidCell + distanceFromSolidCellToWall / ThermalConductivityAtSolidCell ),


And this equation is actually based on continuous Temperature and continuous heat flux at the wall.
(note: all I don;t consider radiation. )

This is right. It is based on physical law (conservation of energy at wall) and kHar is calculated in such a way as we have a single domain (with variable K) including the interface whose diffusivity is consistent with continuous heat transfer.
EmadTandis 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
coupled solvers jojo Main CFD Forum 2 August 9, 2006 09:46
coupled solvers Balaji FLUENT 0 July 2, 2005 08:31
momentum exchange of coupled DPM!! winnie FLUENT 0 May 15, 2003 22:12
coupled solver vs segregated solvers RajaniKumar Main CFD Forum 0 December 3, 2001 06:15


All times are GMT -4. The time now is 17:39.