|
[Sponsors] |
May 10, 2017, 14:26 |
Accessing neighbouring nodes values
|
#1 |
Member
sebastian bergman
Join Date: Mar 2017
Location: seattle
Posts: 52
Rep Power: 9 |
Dear Friends,
Is there any macro or variable to access the neighbouring node data. like _M1 will give you value at previous time step. I need temperature data at neighbouring nodes to calculate gradient. Can anybody comment? |
|
May 12, 2017, 05:16 |
|
#2 |
Member
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 10 |
Hallo,
I think it's easier to set the expert parameter to store the temporary variable values and the FLUENT will make the work for You. You can use C_T_G(c,t)[0..2] directly then. There is an example for UDS gradient in help: https://www.sharcnet.ca/Software/Flu...udf/node96.htm Best regards, Maks |
|
May 12, 2017, 07:48 |
|
#3 |
Member
sebastian bergman
Join Date: Mar 2017
Location: seattle
Posts: 52
Rep Power: 9 |
Thanks a lot.
That did solve the gradient problem. |
|
Tags |
nodes coordinates, temperature gradient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
F_NNODE returns double number of nodes | falkon | Fluent UDF and Scheme Programming | 0 | March 8, 2014 07:58 |
Create some nodes into an existing mesh and accessing to those nodes | ooo | OpenFOAM Programming & Development | 0 | November 2, 2013 19:03 |
Accessing Values of U_general questions | harly | OpenFOAM | 3 | December 8, 2008 15:14 |
Accessing Shear Rate Values in Subroutines | Daniel Lattin | Siemens | 0 | January 10, 2007 18:59 |