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

Calculating heat flux in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2014, 08:23
Default Calculating heat flux in OpenFOAM
  #1
New Member
 
Eon
Join Date: Mar 2013
Posts: 4
Rep Power: 13
eretief is on a distinguished road
Hi

I am trying to develop a custom boundary condition in OpenFOAM. The boundary condition value is calculated from a polynomial expression written in terms of the heat flux at the boundary. I am using the reactingFoam solver.

Can anyone perhaps tell me how exactly I could access the necessary variables (e.g. alphaEff) at the boundary to calculate the heat flux at the boundary?

Thanks
eretief is offline   Reply With Quote

Old   May 19, 2014, 11:15
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 19
chriss85 will become famous soon enough
Likely by using the thermo class, using something like this:
Code:
const fluidThermo& thermo_(mesh.lookupObject<fluidThermo>("thermophysicalProperties"))
chriss85 is offline   Reply With Quote

Reply

Tags
boundary condition, heat flux, openfoam


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
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Heat Flux , Convective + Radiant Heat flux Mandeep CFX 3 October 25, 2012 17:57
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
HTC/Wall Heat Flux monitoring in 12.1 Michael.J CFX 4 June 10, 2010 09:36
Wall heat flux cujo CFX 3 November 6, 2002 04:43


All times are GMT -4. The time now is 13:41.