TAGGED: #fluent-#ansys, #fluent-#cfd-#ansys, command, command-line, fluent, text-commands
-
-
August 11, 2024 at 3:44 amblanca.cerdaSubscriber
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.cerdaSubscriberÂ
Â
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- Workbench license error
- Unexpected error on Workbench: Root element not found.
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- Questions and recommendations: Septum Horn Antenna
- AQWA: Hydrodynamic response error
- Tutorial or Help for 2 way FSI
- Moment Reaction probe with Large deformation
- 2 way coupled FSI for ball bearing
- Ansys with Vmware and CPU configuration : I’m lost, good practice?
- Ball Bearing Transient Structural
Top Contributors-
1341
-
594
-
591
-
530
-
366
Top Rated Tags© 2025 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.
-