CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Writing journal and script file.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2019, 16:09
Default Writing journal and script file.
  #1
New Member
 
niroshiman balasubramaniam
Join Date: May 2019
Posts: 3
Rep Power: 6
niroshiman is on a distinguished road
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?
niroshiman is offline   Reply With Quote

Old   May 23, 2019, 22:14
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
read log file in working directory

best regards
AlexanderZ is offline   Reply With Quote

Old   May 24, 2019, 01:26
Default
  #3
New Member
 
niroshiman balasubramaniam
Join Date: May 2019
Posts: 3
Rep Power: 6
niroshiman is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
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.
niroshiman is offline   Reply With Quote

Old   May 24, 2019, 03:57
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
check working folder on claster, log file should be created after you get an error

best regards
AlexanderZ is offline   Reply With Quote

Old   May 28, 2019, 14:41
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by niroshiman View Post
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.
LuckyTran is offline   Reply With Quote

Reply

Tags
fluent, hpc, journal, script, scripting


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help using FLUENT in batch mode: script in the Journal file danobis FLUENT 23 November 26, 2019 23:23
Problem in reading journal file srf020 FLUENT 1 January 24, 2019 05:24
PBS script file for CFX simulation lauda CFX 1 July 2, 2014 08:12
Help with associating a UDF in a journal file EphemeralMemory FLUENT 0 February 14, 2011 21:07
Fluent journal file ahmet FLUENT 7 July 6, 2010 05:00


All times are GMT -4. The time now is 02:22.