-
-
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.
- How do I get my hands on Ansys Rocky DEM
- 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
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
-
1932
-
823
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.