CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Temperature gradient for the internal Field.

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2014, 04:15
Default Temperature gradient for the internal Field.
New Member
Join Date: Sep 2011
Posts: 16
Rep Power: 13
Philipp Dietrich is on a distinguished road

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?
Philipp Dietrich is offline   Reply With Quote


temperature gradient

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an internal field? maybee OpenFOAM Programming & Development 2 February 4, 2021 18:15
calculate temperature gradient from temperature field xiyuqiu Main CFD Forum 14 July 30, 2012 15: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 25, 2010 00:54
Temperature gradient Jaho CFX 2 March 12, 2009 20:36

All times are GMT -4. The time now is 04:50.