|
[Sponsors] |
April 29, 2023, 05:46 |
RP_Get_List_Length: Unable to get length
|
#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:
|
|||
April 29, 2023, 06:09 |
|
#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
|
|
April 29, 2023, 10:23 |
|
#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. |
|
April 30, 2023, 09:33 |
|
#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 |
|
April 30, 2023, 10:15 |
|
#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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SST model unable to predict reattachment length correctly | Ashkan Kashani | CFX | 6 | December 6, 2022 10:00 |
Fluent Parallelization Problem After AC Power Dropped | pawl | Hardware | 5 | November 13, 2016 07:08 |
How to make a code parallel? | Bruno Machado | Fluent UDF and Scheme Programming | 15 | May 27, 2016 10:18 |
backwardFacingStep: unable to get the correct reattachment length | snowgetu | OpenFOAM Running, Solving & CFD | 1 | April 22, 2015 03:03 |
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, | cfdproject | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2009 16:45 |