CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Writing journal and script file. (https://www.cfd-online.com/Forums/fluent/217778-writing-journal-script-file.html)

niroshiman May 23, 2019 16:09

Writing journal and script file.
 
Hello friends,

I am trying to run Fluent simulation on my university's HPC.

As far as I know, I need 4 files to do that.
  1. script
  2. journal
  3. cas
  4. dat

Here is what my script file looks like: script

#!/bin/bash
#
#PBS -N example
#PBS -P RDS-FEI-niroCFDThesis19-RW
#PBS -l select=1:ncpus=2:mem=1GB
#PBS -l walltime=00:05:00

# Load the Ansys module
module load ansys/192

cd $PBS_O_WORKDIR

# Start fluent using the specified journal file
fluent 3ddp -g -mpi=intel -pinfiniband -cnf=$PBS_NODEFILE -t$nprocs -i tut7.jou

Here is my journal file: tut7.jou

file read-case FFF.2-Setup-Output.cas
solve initialize hyb-initialization
solve iterate 200
report system time-stats
file write-data FFF.2-13-00188.dat
exit

This is my cas file: FFF.2-Setup-Output.cas

This is my dat file: FFF.2-13-00188.dat

I tried submitting the job to the HPC. What happens is that the HPC load the fluent module and after 2 minutes the computation fails.

Am I doing the right thing?

AlexanderZ May 23, 2019 22:14

read log file in working directory

best regards

niroshiman May 24, 2019 01:26

Quote:

Originally Posted by AlexanderZ (Post 734664)
read log file in working directory

best regards

Could you clarify what the log files are.

As far as I know, I have kept the script, journal, cas and dat files in the same directory.

AlexanderZ May 24, 2019 03:57

check working folder on claster, log file should be created after you get an error

best regards

LuckyTran May 28, 2019 14:41

Quote:

Originally Posted by niroshiman (Post 734648)
I tried submitting the job to the HPC. What happens is that the HPC load the fluent module and after 2 minutes the computation fails.


Show us what happens. What is the terminal output or the log file for the HPC? There are inumerable reasons why it might fail.


All times are GMT -4. The time now is 21:57.