CFD Online Logo CFD Online URL
Home > Forums > CFX

PBS script file for CFX simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By ghorrocks

LinkBack Thread Tools Display Modes
Old   July 2, 2014, 06:53
Default PBS script file for CFX simulation
New Member
Join Date: Nov 2013
Posts: 17
Rep Power: 5
lauda is on a distinguished road
Hi all,

I'm trying to run CFX on my cluster at Uni. I have a basic script file provided by our IT staff. This basic script file is:


#PBS -d /home/...
#PBS -l nodes=1pn=4
#PBS -l walltime=10:00:00
#PBS -q fast
#PBS -M "email"

module add cfx

export nodes=`awk -vORS=, '{ print $1 }' $PBS_NODEFILE | sed 's/,$/\n/'`

cfx5solve -def "filename".def -start-method "Platform MPI Local Parallel" -par-dist $nodes

this works fine and I learnt how start from an existing solution (.res file). However, I'm struggling to find how to input other set-up data such as number of iterations by means for instance a Journal file. On the web I found several examples of journal files for Fluent but not for CFX so I guess I am missing something. Thanks for any help
lauda is offline   Reply With Quote

Old   July 2, 2014, 08:12
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,625
Rep Power: 105
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
CFX does not have a journal file. CFX-Pre and CFD-Post have something similar called a session file but I do not think this is what you are looking for. If you want to control the solver by means of a text file then it is best to use the command line option you describe and use a CCL file to update the solver parameters with the cfx5cmds command.
lauda likes this.
ghorrocks is offline   Reply With Quote



Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 101 February 3, 2017 00:36
Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit OpenFOAM Paraview & paraFoam 60 September 18, 2013 03:23
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23

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