-
-
August 13, 2023 at 8:56 am
22503862
SubscriberI 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 pm
Luca B.
Ansys EmployeeHi, 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
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
-
7658
-
4476
-
2957
-
1433
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.