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

Fluent journal file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2006, 11:48
Default Fluent journal file
  #1
ahmet
Guest
 
Posts: n/a
Dear all, I am trying to get Fluent run as a batch process on a SGI machine. However, my journal file is not working. Can anyone help me figure out the problem with my journal file and batch script? Also can someone post or send a sample journal file? I copied the batch script and journal file below?

Thank you all in advance. ahmet

****************BATCH*******************

#PBS -N ahmet1 #PBS -S /bin/tcsh #PBS -j oe #PBS -l cput=10:00:00 #PBS -l ncpus=4,mem=1gb

cd $TMPDIR

cp /scratch/a0u8545/060719/6inch-15-alt/6-15a-60-060717-00-fl.jou .

cp /scratch/a0u8545/060719/6inch-15-alt/6-15a-60-060706-00.cas .

module load fluent

fluent 3d -g < 6-15a-60-060717-00-fl.jou > outputfile

cp outputfile /scratch/a0u8545/060719/6inch-15-alt

cp 6-15a-60-060717-00 /scratch/a0u8545/060719/6inch-15-alt

cp 6-15a-60-060706-00.dat /scratch/a0u8545/060719/6inch-15-alt

qstat -f $PBS_JOBID

********************JOU FILE*************************

/file/rc 6-15a-60-060706-00.cas

/define/boundary-conditions/velocity-inlet

;(5ft-inlet)

;zone id/name [5ft-inlet] <RETURN>

;Velocity Specification Method: Magnitude and Direction [no]

<RETURN>

;Velocity Specification Method: Components [no]

<RETURN>

;Velocity Specification Method: Magnitude, Normal to Boundary [yes]

<RETURN>

;Reference Frame: Absolute [yes]

<RETURN>

;Use Profile for Velocity Magnitude? [no]

<RETURN>

;Velocity Magnitude (ft/s) [5.95]

6.80

;Coordinate System: Cartesian (X, Y, Z) [yes]

<RETURN>

;Turbulence Specification Method: K and Epsilon [yes]

<RETURN>

;Use Profile for Turb. Kinetic Energy? [no]

<RETURN>

;Turb. Kinetic Energy (ft2/s2) [10.764263]

<RETURN>

;Use Profile for Turb. Dissipation Rate? [no]

<RETURN>

;Turb. Dissipation Rate (ft2/s3) [10.764263]

<RETURN>

/solve/initialize/compute-defaults/velocity-inlet

;(5ft-inlet)

;zone id/name [5ft-inlet]

<RETURN>

/solve/iterate 50

file/export/ascii

;ASCII file name []

6-15a-60-060717-00

;Surfaces(1) [()]

point-7 point-8 point-9 point-10 point-11 point-12 point-13

;Surfaces(3) [()]

<RETURN>

;Write loads at boundaries? [no]

<RETURN>

;Delimiter/Comma?, if comma not chosen,

;space is assumed to be the delimiter [no]

<RETURN>

;ASCII scalar(1)>

pressure pressure-coefficient velocity-magnitude x-velocity turb-kinetic-energy turb-diss-rate

;ASCII scalar(7)>

q

;Location/Cell-Centered?,

;if Cell-Centered not chosen, node values of scalars are reported [no]

y

exit

y

  Reply With Quote

Old   July 21, 2006, 08:26
Default Re: Fluent journal file
  #2
PAD
Guest
 
Posts: n/a
I'm not sure about the bc settings in your journal file - I would write

/define/boundary-conditions/velocity-inlet 5ft-inlet n n y y n 6.80 y y n 10.764263 n 10.764263
  Reply With Quote

Old   August 1, 2006, 15:21
Default Re: Fluent journal file
  #3
ahmet
Guest
 
Posts: n/a
Thanks PAD, that worked just perfect.

However, I couldn't figure out how to enter scalar when exporting the data to an ascii file. I tried something like following but didn't work. I couldn't find it on the manual either. Can anyone help me with this? Thanksss!!! ahmet

file/export/ascii 6-15a-060731 '(point-8 point-9 point-10) n n ????pressure pressure-coefficient velocity-magnitude???? n
  Reply With Quote

Old   August 2, 2006, 00:28
Default Re: Fluent journal file
  #4
ahmet
Guest
 
Posts: n/a
Hi guys, I am running the following string in batch mode on a unix system. The script seems to be running fine except "file/export/ascii......" line. I am getting the following error message. Can anyone help me fix the problem? Thanks a lot in advance

ahmet

*****************Error message*********************

...
: iter continuity x-velocity y-velocity z-velocity k epsilon time/iter

1 1.0000e+00 1.5968e-03 4.5229e-04 4.6141e-04 2.5910e-04 1.7277e+01 0:02:31 2

2 1.0000e+00 3.8661e-02 2.0908e-02 2.0915e-02 2.9106e-03 5.4566e-01 0:01:15 1

3 2.1964e-01 5.9616e-02 4.4457e-02 4.2590e-02 1.7208e-01 8.7064e+01 0:00:00 0

> adapt/ file/ report/ define/ grid/ solve/ display/ parallel/ surface/ exit plot/ view/

> invalid command [ascii]

> invalid command [pressure-coefficient]

> invalid command [velocity-magnitude]

> adapt/ file/ report/ define/ grid/ solve/ display/ parallel/ surface/ exit plot/ view/

> Writing "6-15a-60-060706-00.dat"... Done.

********************Script************************ *

/file/rc 6-15a-60-060706-00.cas

/define/boundary-conditions/velocity-inlet 4 n n y y n 6.80 y y n 10.764263 n 10.764263

/solve/initialize/compute-defaults/velocity-inlet 5ft-inlet

/solve/initialize/initialize-flow

/solve/iterate 3

/file/export/ascii 6-15a-60-060731-00 (point-7 point-8) n n pressure pressure-coefficient velocity-magnitude x-velocity turb-kinetic-energy turb-diss-rate q n

wd 6-15a-60-060706-00.dat

exit y

  Reply With Quote

Old   August 2, 2006, 00:29
Default Re: Fluent journal file *NM*
  #5
ahmet
Guest
 
Posts: n/a
  Reply With Quote

Old   August 6, 2006, 15:53
Default Re: Fluent journal file
  #6
khairy
Guest
 
Posts: n/a
Dear ahmet u can do all u need to perform batch operation as follow 1-open a new journal file 2-from writting the commands like that file read-case "c:\mesh1.mesh"

and see the response of the program u can learn yourself simply 3-close the journal and select what u need to do than save that in a new journal

i hope this useful

khairy-Egypt

  Reply With Quote

Old   August 6, 2006, 17:28
Default Re: Fluent journal file
  #7
ahmet
Guest
 
Posts: n/a
Thanks Khairy, I will give it a try that way and post my response here. ahmet
  Reply With Quote

Old   July 6, 2010, 06:00
Default Export
  #8
New Member
 
Ian Helms
Join Date: Apr 2010
Posts: 9
Rep Power: 16
OxIan is on a distinguished road
Ahmet, did you find a solution to your problem? I have the same one as well
OxIan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent 12 Journal File Problem Krish FLUENT 2 July 16, 2010 07:10
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 12:47
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05:26
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


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