TAGGED: #fluent-#ansys, scheme, tui-command, udf
-
-
November 30, 2023 at 12:22 pmXile SHAOSubscriber
Hello
I want to build some function that can be actif at iteration N specifical during running.
And it need to be different than "execute command/add-edit" existingÂ
-
November 30, 2023 at 8:43 pm
-
December 1, 2023 at 9:35 amXile SHAOSubscriber
Hello , thanks fo you reply .
i find something like (client-inquire-iteration), but after testing in TUI , that always back 0 to me .
They are very less document that explain this function , can it fill the similar than N_ITER (UDF) to TUI/Scheme ?
-
December 1, 2023 at 1:50 pmFedericoAnsys Employee
Actually, you're right! (client-inquire-iteration) does get the iteration number.Â
You can do something like:
(make-new-rpvar 'n_iter (client-inquire-iteration) 'integer)Â ; this creates the rpvar n_iter. You will need to call this once
(rpsetvar 'n_iter (client-inquire-iteration)) ; this sets the value of n_iter to the iteration number. You will need to call this each time before using n_iter
-
December 1, 2023 at 4:47 pmXile SHAOSubscriber
that work now.
thanks :)
-
- The topic ‘to get actual iteration in Scheme langage like N_ITER in UDF’ is closed to new replies.
-
1116
-
468
-
440
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.