|
[Sponsors] |
How to access temp. of adjacent two cell centre |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 15, 2018, 07:14 |
How to access temp. of adjacent two cell centre
|
#1 |
New Member
Satyam
Join Date: Jun 2017
Posts: 7
Rep Power: 9 |
hi everyone,
I have to find temp gradient dT/dy, for that i have to get temperature of two adjacent cell center.first adjacent cell center data can be access by using C_T(c0,t0) but how to access next cell center temp.please help me ... |
|
February 15, 2018, 09:51 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Why don't you just use the built-in temperature gradient?
Search in the help for "Gradient (G) and Reconstruction Gradient (RG) Vector Macros". |
|
February 16, 2018, 05:03 |
|
#3 |
Member
annan
Join Date: Nov 2016
Posts: 72
Rep Power: 10 |
Hello sat_fire,
You can access the next cells temperature using C_T(c1,t1) if you are in the interior of your domain. This link can help : https://www.sharcnet.ca/Software/Flu...udf/node92.htm If you want the gradient without calculating it in each cell, then you can use the macros C_T_G or C_T_RG as suggested by pakk. Hope this will help. Good luck |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Journal file error | magicalmarshmallow | FLUENT | 3 | April 4, 2014 13:25 |
Extracting cell centre values WITHOUT interpolation | dalaron | OpenFOAM Post-Processing | 1 | August 18, 2013 01:39 |
Adjacent Cell Zone help | yus310 | Main CFD Forum | 0 | February 13, 2012 19:43 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
how to access each cell of a face? (user fortran) | Katariina | CFX | 3 | January 28, 2008 10:16 |