|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
sebastian bergman
Join Date: Mar 2017
Location: seattle
Posts: 52
Rep Power: 10 ![]() |
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? |
|
|
|
|
|
|
|
|
#2 |
|
Member
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 11 ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
Member
sebastian bergman
Join Date: Mar 2017
Location: seattle
Posts: 52
Rep Power: 10 ![]() |
Thanks a lot.
That did solve the gradient problem. |
|
|
|
|
|
![]() |
| Tags |
| nodes coordinates, temperature gradient |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 33 | March 16, 2025 07:04 |
| 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 |