|
[Sponsors] |
July 2, 2014, 07:53 |
PBS script file for CFX simulation
|
#1 |
New Member
lauda
Join Date: Nov 2013
Posts: 17
Rep Power: 13 |
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 |
|
July 2, 2014, 09:12 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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.
|
|
Tags |
scripting |
|
|
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 |