-
-
August 13, 2023 at 8:56 am22503862Subscriber
I have the following loop to save pictures:
Â
(do ((x 1 (- x 0.5))) ((< x -2))
    (ti-menu-load-string (format #f "/display/objects/edit contour surfaces-list (z=~a)" x))
    (ti-menu-load-string (format #f "/display/objects/display contour"))
    (set! x (* x 1000))
    (ti-menu-load-string (format #f "/display/save-picture ./pictures/velocity-contour-z=~a" x))
    (set! x (/ x 1000))
    Â
 )Â
except that it doesn't work. after the (z=~a) in the first line, the surfaces selection does not stop. It actually enters the rest of the commands as one giant string which is plain stupid. I tried q, I tried (), nothing works. what is going on?
Â
-
August 18, 2023 at 4:14 pmLuca B.Forum Moderator
Hi, what version are you using? please double check the TUI commands ( line 2 ) because it seems not to be updated to the last version.
It should be something like (ti-menu-load-string (format #f "/display/objects/edit contour surfaces-list ~a () () " x))
The behavior you reported is expected, but it should not limit the funcionality. Add a space at the end of each line se correctly separate the commands.
Luca
-
- The topic ‘Scheme loop has wrong interaction’ 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
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Fluent fails with Intel MPI protocol on 2 nodes
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script error Code: 800a000d
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.