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

Temperature gradient for the internal Field.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 2, 2014, 03:15
Default Temperature gradient for the internal Field.
  #1
New Member
 
Join Date: Sep 2011
Posts: 16
Rep Power: 5
Philipp Dietrich is on a distinguished road
Hi,

I am currently trying to add a heat source to the icoFoam solver.

The heat source will be dependent on the Temperature gradient in a specific direction. Therefore I have to access the temperature gradient of each cell.
I tried to use the "fvc::grad(T)" to define a new volVectorField for the gradient.
However, it seems, that especially in the cells at a boundary this gradient is not calculated right. (nonzero temperature gradient at "empty" boundary; unphysical high/low temperature gradient at a wall with fixed temperature).

Does anyone know how to correctly calculate the temperature gradient for the whole internal Field?
Regards
Philipp
Philipp Dietrich is offline   Reply With Quote

Reply

Tags
temperature gradient

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an internal field? maybee OpenFOAM Programming & Development 0 February 17, 2014 17:10
calculate temperature gradient from temperature field xiyuqiu Main CFD Forum 14 July 30, 2012 14:38
how to perform temperature gradient on a particle (Thermophoretic Force) wwt650420 FLUENT 3 March 23, 2011 03:10
problem with temperature field in modeling evaporation with fluent MOhaj FLUENT 0 April 24, 2010 23:54
Temperature gradient Jaho CFX 2 March 12, 2009 20:36


All times are GMT -4. The time now is 08:33.