TAGGED: journal-file, tui, tui-command
-
-
March 13, 2024 at 5:02 pmAndreas SchauflerSubscriberHello,
; define iterations  (define iterations 10)Â; Start the loop   (do ((i 1 (+ i 1))) ((> i iterations)) ;     (cx-gui-do cx-set-real-entry-list "Iso-Surface*Table1*Table1*RealEntry6(Iso-Values)" '( 2e-07))     (ti-menu-load-string (format #f "display save-picture \"./00_plot/pic~a.png\" " i)) ;)
can you please tell me, how is it possible to get the element (2e-07) in the cx-gui-do from a list like:
(define list '(1 2 3))
Â
normally i can refer to the list with:
(list-ref list 0)
But how is it possible to get this inÂ
 (cx-gui-do cx-set-real-entry-list "Iso-Surface*Table1*Table1*RealEntry6(Iso-Values)" '( (list-ref list 0)))... which doesnt work
Thanks and Regarsd -
March 14, 2024 at 11:26 amAndreas SchauflerSubscriber
Solved it with the TUI-Command and the List in a do-Loop
(define list '(1e-07 3e-07 5e-07 7e-07 9e-07 1e-6 3e-6 5e-6))(define iterations (length list)-1)Â; Starten Sie die Schleife(do ((i 0 (+ i 1))) ((>= i iterations)) ; i ist der Zähler, der von 1 bis iterations hochgezählt wird Â;Change the isosurfaces(ti-menu-load-string (format #f "/surface/edit-surface mole-fraction-of-zn-89 molef-zing_g , () , () ~a" (list-ref list i) ())) ;
)
-
Viewing 1 reply thread
- The topic ‘journal file | cx-gui-do | element i from a list’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- UDF, Fluent: Access count of iterations for “Steady Statistics”
- RIBBON WINDOW DISAPPEARED
Top Contributors
-
1421
-
599
-
591
-
565
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.