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

PBS script file for CFX simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2014, 07:53
Default PBS script file for CFX simulation
  #1
New Member
 
lauda
Join Date: Nov 2013
Posts: 17
Rep Power: 13
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:

#!/bin/sh

#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, 09:12
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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

Reply

Tags
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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 09:46
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11: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 113 December 2, 2009 11:23


All times are GMT -4. The time now is 06:50.