-
-
January 9, 2025 at 9:05 pmRui.LiSubscriber
I am currently running a Fluent simulation on an HPC cluster, and I want to save the animation of my results (e.g., contours, screen) during the simulation rather than just the final case file after the simulation is complete.
I’m running a Fluent simulation on an HPC cluster, and I’ve encountered an issue with saving animations. Here’s my setup:
The input files (Testcases.cas, Testcases.dat, Testcases.in, and run_batch) are placed in the same directory on the HPC. Testcases.cas includes the definition of two animations, which are supposed to save specific results (e.g., contours or screen). The simulation runs without errors, and the output files (Testcases_completed.cas.h5 and Testcases_completed.dat.h5) are successfully generated. -
January 9, 2025 at 9:06 pmRui.LiSubscriber
run_batch:
#!/bin/bash
#SBATCHÂ --job-name=Fluent_Test_Job
#SBATCHÂ --partition nocona
#SBATCHÂ --time=10:00:00
#SBATCHÂ --mail-user=Rui.Li@ttu.edu
#SBATCHÂ --mail-type=END,FAIL
#SBATCHÂ --output=%x.o%j # %j will be replaced with the job ID
#SBATCHÂ --nodes=1
#SBATCHÂ --ntasks-per-node=128
#SBATCHÂ --mem-per-cpu=1GB
module load test/v241_fluids
fluent 3d -g -t$128 -nm -ssh < Testcases.in -
January 10, 2025 at 2:54 amRui.LiSubscriber
Testcases.in:
/file/read-case-data Testcases.cas
/solve/initialize/initialize-flow
/display/set-window-layout 1
/display/animate define velocity-magnitude-animation
/display/animate set-options velocity-magnitude-animation frame-frequency 10 file-format binary
/display/animate set file-name velocity_animation.cxa
/display/animate initialize
/solve/animate objects create animation-1
/solve/animate objects create animation-2
/solve/iterate 500
/display/animate save velocity-magnitude-animation
/file/write-case-data Testcases_completed.cas.h5
/exit yes -
January 10, 2025 at 9:53 amRobForum Moderator
Have a look here, https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v242/en/flu_ug/flu_ug_startramp.html%23flu_ug_sec_startup_option what does "-g" do in the command line?
-
January 13, 2025 at 5:33 amrahul_kvSubscriberI also want to save animation of my results while solving in HPC-Cluster; did you find the solution? As "-g" in the command line, Run without the GUI or graphics. After removing -g were you able to save animations?
-
January 13, 2025 at 8:34 amRui.LiSubscriber
No, I haven't solved it yet. When I remove -g, it fails. But when I add -g, it runs correctly. I think there may be some problems with our HPC.
-
January 13, 2025 at 11:05 amRobForum Moderator
If your HPC required -g it suggests there may not be a graphics card on the system. Not so much a problem with the cluster, more a lack of graphics, which is why the -g function was originally added.Â
-
- You must be logged in to reply to this topic.
- 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
- 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
- convergence issue for transonic flow
-
1456
-
599
-
591
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.