Student Competition

Student Competition

Topics related to vehicle design, sponsorship, application process etc.

Unable to Save Animation (HSF or AVI) Automatically in Fluent During HPC RUN

    • tianyuan.sun
      Subscriber

      I'm currently running a transient simulation on an HPC using Fluent in batch mode with a .jou file. The simulation runs fine and completes the time steps, but I'm encountering persistent issues with saving the animation files during the process.

      Here’s my situation:

      • I have set up the animation in my case file beforehand (name: velocity, storage: HSF File, record every 2 time-steps).

      • I only set the HSF file saving method in my case file, but I did not set any related saving steps in the journal file. However, HPC did not save the file after the run was completed.

    • Rob
      Forum Moderator

      How are you launching Fluent? Ie what command other than "fluent 3ddp -t8" are you using? 

      • tianyuan.sun
        Subscriber
        Thank you for the reply!
         
        /file/read-case-data /nobackup/xgjv65/FluentBench/test.cas.h5
        /file/read-data      /nobackup/xgjv65/FluentBench/test.dat.h5
         
         
        /define/user-defined/compiled-functions compile "libudf" yes "velocity_pi4.c" "" "" 
        /define/user-defined/compiled-functions load libudf

        This is my jou file code.

         

        #!/bin/bash
        #SBATCH -J fluent_udf_test        
        #SBATCH -p shared                  
        #SBATCH -n 128                    
        #SBATCH --mem=48G         
        #SBATCH -t 40:00:00
        #SBATCH -N 1               
        #SBATCH --mail-type=END,FAIL    
        #SBATCH -o %x.%j.out              
        #SBATCH -e %x.%j.err              
        module purge
        module load ansys/24.2
         
        cd /nobackup/xgjv65/FluentBench
        fluent 3ddp -t$SLURM_NTASKS -g -i run_twostep.jou
         
        I'm using this now.
    • Rob
      Forum Moderator

      Read https://ansyshelp.ansys.com/public/account/secured?returnurl=/Views/Secured/corp/v252/en/flu_ug/flu_ug_BatchExecution.html and then consider what "-g" means to your animation. 

Viewing 2 reply threads
  • You must be logged in to reply to this topic.