-
-
September 27, 2017 at 11:19 am
admin
Ansys EmployeeOften loops are used in session files and sometimes these session files can take tens of minutes to run. A session file cannot be stopped with the CFD-Post “Stop” button, however having a method to break the loop in the session file can save time. The following Perl code can be inserted into the loop in the session file which will exit the loop if a specified file is detected. If the user wishes to stop the execution of the loop in the session file, they need to create that specified file. In the example below if the user creates the file “stop.txt” in “
”, the loop will be exited. Note that the file does not need to contain any data and can be empty. ! if (-f "D
stop.txt") {#if the file “
stop.txt” is found then… ! last;#last command will exit the loop !}
-
September 27, 2017 at 11:19 am
admin
Ansys EmployeeHow can the execution of a loop in a CFD-Post session file be stopped?
-
- The topic ‘Execution of a loop in a CFD-Post session file be stopped’ is closed to new replies.
- 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
- I am doing a corona simulation. But particles are not spreading.
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3872
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.