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

How to update supply temp on one patch based on the measure temp on another patch?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2020, 10:48
Default How to update supply temp on one patch based on the measure temp on another patch?
  #1
Member
 
ijaz fazil
Join Date: Apr 2013
Location: Singapore
Posts: 73
Rep Power: 13
er_ijaz is on a distinguished road
I have a question regarding swak4foam or New expressions syntax. I need to measure Temperature (T1)at one patch and update T2=(Q/mcp)+T1 on another patch. I need to update at every iteration/time step is it feasible to do it via swak4foam or expression syntax?
er_ijaz is offline   Reply With Quote

Old   July 6, 2020, 04:37
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
There is a special coupled boundary condition that does this:

myPatch
{
type outletMappedUniformInletHeatAddition;
outletPatch aPatch;
Q 10; // Heat addition in W
phi phi;
value uniform 0;
}

More info here.
tomf is offline   Reply With Quote

Old   July 10, 2020, 12:00
Default thank you
  #3
Member
 
ijaz fazil
Join Date: Apr 2013
Location: Singapore
Posts: 73
Rep Power: 13
er_ijaz is on a distinguished road
Dear Tom Fahner,

THank you
er_ijaz is offline   Reply With Quote

Reply

Tags
buoyanboussinesqpimple, buoyantboussinesqpimple, heat, heat and mass transfer, heat boundary condition


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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 06:36
steadyUniversalMRFFoam Tutorial fails in MixingPlane HenrikJohansson OpenFOAM Bugs 0 February 14, 2019 05:48
libsampling for DyM solver exporting vtk patch. Problem to update geometry be_inspired OpenFOAM Post-Processing 3 October 9, 2015 08:58
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 12:11.