TAGGED: #fluent-#ansys, #fluent-#cfd-#ansys, command, command-line, fluent, text-commands
-
-
August 11, 2024 at 3:44 amblanca.cerdaBbp_participant
Hello,Â
I am trying to run fluent by commands.Â
Using the interactive window is something like:srun fluent -r23.2.0 2ddp -g -t20 -case/solve/dual-time-iterate/file/write-case-data/exit/close-fluentÂThis works really good, then i can read the results and everything works well.But trying the same commands through an sbatch file shows me the error after running the case and the data, considering the commands like a directory.Â
The sbatch looks something like this because is how the cluster works.Â#!/bin/bash#---------------Script SBATCH ----------------#SBATCH -J Simulacion#SBATCH -p general#SBATCH -n 1#SBATCH -c 20#SBATCH --mem-per-cpu=1000#SBATCH --mail-user=mail@mail.com#SBATCH --mail-type=ALL#SBATCH -o Simulacion152040_%j.err.out#SBATCH -e Simulacion152040_%j.err.out#-----------------Toolchain---------------------------ml purgeml intel/2022.00# ----------------Modulos----------------------------ml  ANSYS/2023R2 Â# ----------------Comando--------------------------export OMP_PLACES=coresÂsrun fluent -r23.2.0 2ddp -g -t20 -case/solve/dual-time-iterate/file/write-case-data/exit/close-fluentÂRunning this, i got:ÂÂIs there a way from fluent to do all this properly?ÂThanks in advanceAugust 12, 2024 at 10:51 amRobForum ModeratorLooks like the Slurm script is trying to action the Fluent commands rather than them being used in Fluent. I'd favour launching Fluent with a journal, so the command launches Fluent with a journal which contains the read case & data, run, write case & data, exit. The Fluent part is covered in the User's Guide,  https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v242/en/flu_ug/flu_gs_starting.html  The Slurm part is likely something your IT people control.Â
August 12, 2024 at 7:30 pmblanca.cerdaBbp_participantÂ
Â
Hello dear,Â
I tried using a journal file, that i created as a text file, Thanks for the advice.
It worksÂ
Â
Viewing 2 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceTrending discussions- RSS is disabled.
- ANSYS Mechanical won’t open and stays on Blank Gray Screen (Path environment va)
- ansys fluent error when opening it “unexpected license problem”
- Elastic Licensing DNS gateway changes
- Ansys 2024 R1 – The installation completed with warnings/errors.
- Poor quality mesh at trailing edge for 3d wing
- LS-Dyna Beam elements outputs
- Not find helic___[]_.tgz file
- Fluent
Top Contributors-
421
-
192
-
178
-
162
-
140
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-