We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

journal file

    • avillanueva
      Subscriber

      Hello,

      I have problems setting up an ansys fluent jounal file that must be submitted to an HPC cluster. I am using the following commands:

      rcd Cavity.cas

      solve iterate 10000

      wcd Cavity.cas

      yes

      quit

      quit

      quit

      quit

      quit

      exit

      yes

      I submit it to the cluster through this command: sbatch --time=8:00:00 --mem-per-cpu=2g --tmp=2g --wrap="fluent 3d -i Cavity_journal.jou

      The job is submitted correctly because the status of the job is "Running" but I don't get any output case (.cas) nor data (.dat) file. Is it a problem of the journal file and what should I change? 

      Thanks for the answer:)

    • Rob
      Forum Moderator

      It's generally safer to run:

      /file/rcd Cavity.cas

      /solve/iterate 1000

      /file/wcd Cavity_%i

      etc

       

      If you take shortcuts in the commands if Fluent isn't in the correct menu level the command will fail. If that's happened you may see an error in the transcript file. I'd also advise against overwriting files like that in case anything goes wrong. If it does you've lost both the results and potentially the input files.  Look up %i, %t and %f in the User's Guide: they're useful. 

       

    • Rob
      Forum Moderator

      Oh, and check the commands one by one locally before firing off a batch run. Especially anything I write in as I may have missed something. 

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