|
[Sponsors] |
![]() |
![]() |
#1 | ||
Senior Member
Join Date: Feb 2020
Posts: 114
Rep Power: 6 ![]() |
Hi,
I defined a list in TUI using the command (rp-var-define 'my-id-list '(1,2,3) 'list #f). I then tested it in UDF using the following code: Quote:
Quote:
![]() |
|||
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Feb 2020
Posts: 114
Rep Power: 6 ![]() |
I found the reason, I forgot to parallelize the code. So I wonder after which version it doesn 't need to be parallelized
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Feb 2020
Posts: 114
Rep Power: 6 ![]() |
another question:
In Version 2023R1, it shows "the length of list:0". But in Version 19.2, it is normal by showing "the length of list:3". This really puzzles me. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 ![]() ![]() |
probably, length =0 is wrong, isn't it?
__________________
best regards ****************************** press LIKE if this message was helpful |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Feb 2020
Posts: 114
Rep Power: 6 ![]() |
Yes,it is wrong. In Fluent 19.2, the UDF is able to correctly recognize the list defined by RP. However, in the 2023R1 version, it can not recognize the list correctly, but other RP variables such as a single variable of real type can be recognized.
![]() |
|
![]() |
![]() |
![]() |
Tags |
rp variable, scheme, udf |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SST model unable to predict reattachment length correctly | Ashkan Kashani | CFX | 6 | December 6, 2022 09:00 |
Fluent Parallelization Problem After AC Power Dropped | pawl | Hardware | 5 | November 13, 2016 06:08 |
How to make a code parallel? | Bruno Machado | Fluent UDF and Scheme Programming | 15 | May 27, 2016 09:18 |
backwardFacingStep: unable to get the correct reattachment length | snowgetu | OpenFOAM Running, Solving & CFD | 1 | April 22, 2015 02:03 |
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, | cfdproject | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2009 15:45 |