TAGGED: journal-file, tui, tui-command
-
-
March 13, 2024 at 5:02 pm
a.schaufler
SubscriberHello,
; 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 am
a.schaufler
SubscriberSolved 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
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
3862
-
1414
-
1236
-
1118
-
1015
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.