|
[Sponsors] |
February 3, 2021, 17:45 |
store new variables of DPM in memory
|
#1 |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
hi all,
I am writing a UDF for calculating the moisture content in particles. now i want to store this variable (moisture content of particles) in memory. but i don't know which macro can store it as a new variable. does anybody knows how can i store it? thanks Last edited by sara moradi; February 7, 2021 at 11:34. |
|
February 4, 2021, 01:38 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
This is what a User Defined Memory (UDM) is for.
|
|
February 4, 2021, 03:14 |
|
#3 |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
||
February 4, 2021, 04:42 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Then look further in the manual: there is a user defined memory for particles. P_UDMI might be the name, I'm not sure.
|
|
February 4, 2021, 05:12 |
|
#5 | |
New Member
Sara
Join Date: Apr 2020
Posts: 19
Rep Power: 6 |
Quote:
particle values store in this macro: P_USER_REAL(p,i) Last edited by sara moradi; February 7, 2021 at 11:35. |
||
February 4, 2021, 05:25 |
|
#6 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solver-dev : which variables to store in memory and which to compute on the fly? | aerosayan | Main CFD Forum | 16 | November 23, 2020 19:24 |
How to read a Value from Text File and store it in Variables (writing in UDF) | Amirreza_pro | FLUENT | 0 | October 26, 2020 04:50 |
Reserve DPM scalar memory? | CeesH | FLUENT | 0 | September 12, 2017 11:19 |
Access variables in UDF (Fluent) | Combustion_Engineer | FLUENT | 0 | September 25, 2015 18:56 |
memory calculation of variables in FORTRAN codes | John | Main CFD Forum | 1 | April 8, 2002 15:13 |