TAGGED: #fluent-#ansys, scheme, tui-command, udf
-
-
November 30, 2023 at 12:22 pm
Xile SHAO
SubscriberHello
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 am
Xile SHAO
SubscriberHello , 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 pm
Federico
Ansys EmployeeActually, 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 pm
Xile SHAO
Subscriberthat work now.
thanks :)
-
- The topic ‘to get actual iteration in Scheme langage like N_ITER in UDF’ is closed to new replies.
- How do I get my hands on Ansys Rocky DEM
- Script Error
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
- Script Error Ansys
-
2337
-
925
-
599
-
591
-
527
© 2025 Copyright ANSYS, Inc. All rights reserved.