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

Different boundary condition for different scalar fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2017, 16:37
Default Different boundary condition for different scalar fields
  #1
New Member
 
Andy
Join Date: Aug 2015
Posts: 8
Rep Power: 10
andy_pr is on a distinguished road
Hello,

I have two temperature fields, a solid temperature T_s and a fluid temperature T_f. These are created as two separate volScalarFields, modelling a flow though packed spheres between parallel plates, the upper wall is heated with a constant heat flux and the lower wall is adiabatic. I am just solving a scalar transport equation for both temperatures.

I set the temperature of the fluid T_f = 300K at the inlet. My reference says to set the solid temperature T_s = T_f at the upper wall of the parallel plates where the constant heat flux condition is located.

For the constant heat flux condition at the upper wall I need to set the gradient of the fluid temperature dT_f/dy = q/k. T_f at the wall is not known in advance and must be computed as part of the solution. Once it is known, I need to set T_s = T_f at the upper wall.

I have set fixedGradient at the upper wall, which works for the fluid temperature, but I wondered how use a separate boundary condition for the solid temperature at the upper wall?

Thanks in advance for any help,

A.
andy_pr is offline   Reply With Quote

Reply

Tags
boundary conditon, gradient, heat flux., scalar field


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Diverging solution in transonicMRFDyMFoam tsalter OpenFOAM Running, Solving & CFD 30 July 7, 2014 06:20
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 11:25
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49


All times are GMT -4. The time now is 07:03.