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.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1216
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.