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

batch mode fluent - beginner

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2015, 17:04
Default batch mode fluent - beginner
  #1
New Member
 
Ali
Join Date: Nov 2015
Posts: 1
Rep Power: 0
CompIng is on a distinguished road
Hi guys,

im new here and i have some troubles using fluent 16.2 in batch mode.

When im trying to use fluent in batch mode, it calculates, but does not get any solution. I don't even know how to describe it. I just post here my log and my batch script. I hope you guys can help me.

I think i didn't initialize correctly, but im not sure and i have no clue how to do it better.

Im trying it since some weeks and i still dont get into anything. I tried out some different initiliazions but in the end i only got a longer log with all parameters equal zero. So it wasn't really a step forward, at least now it recognizes it isnt doing anything useful and aborts the calculation.

Some more informations: im running it on linux on the cluster of my university, at the moment i just run it with the GUI but i cannot start and leave it, because i have only 30 minutes core time before i have to restart fluent to get another 30 minutes. So i really need to batch or i have to sit home on this and just watch it calculate. I used a .dat - file which is already calculating correctly, which made me hope i dont need to initialize. This seemed to be a wrong assumption.

thats my script:

#!/bin/bash --login

#PBS -N test1410-4
#PBS -M myemailadress
#PBS -m abe
#PBS -j oe
#PBS -l walltime=:00:20:00
#PBS -l mem=2gb
#PBS -l nodes=1

# Change to work dir:
cd $PBS_O_WORKDIR
# Provide ANSYS through modules call:
module load fluent

fluent 2d -g << EOFluentInput >komega.log
file/read-case /bigwork/nhmgefte/fluent/PALOG/komega/komega_rad.cas
file/read-data /bigwork/nhmgefte/fluent/PALOG/komega/-13-02000.dat
/solve/init/init
it 20000
file/write-data /bigwork/nhmgefte/fluent/PALOG/komega/freitag.dat
exit
yes
EOFluentInput


and thats my log:

/sw/aws/eng/ansys_inc/v162/fluent/fluent16.2.0/bin/fluent -r16.2.0 2d -g
/sw/aws/eng/ansys_inc/v162/fluent/fluent16.2.0/cortex/lnamd64/cortex.16.2.0 -f fluent -g (fluent "2d -r16.2.0 -path/sw/aws/eng/ansys_inc/v162/fluent -ssh")
/sw/aws/eng/ansys_inc/v162/fluent/fluent16.2.0/bin/fluent -r16.2.0 2d -path/sw/aws/eng/ansys_inc/v162/fluent -ssh -cx tane-n008.css.lan:52565:57824
Starting /sw/aws/eng/ansys_inc/v162/fluent/fluent16.2.0/lnamd64/2d/fluent.16.2.0 -cx tane-n008.css.lan:52565:57824

Welcome to ANSYS Fluent Release 16.2

Copyright 2015 ANSYS, Inc.. All Rights Reserved.
Unauthorized use, distribution or duplication is prohibited.
This product is subject to U.S. laws governing export and re-export.
For full Legal Notice, see documentation.

Build Time: Jul 08 2015 18:34:35 EDT Build Id: 10212


--------------------------------------------------------------
This is an academic version of ANSYS FLUENT. Usage of this product
license is limited to the terms and conditions specified in your ANSYS
license form, additional terms section.
--------------------------------------------------------------


Cleanup script file is /bigwork/nhmgefte/cleanup-fluent-tane-n008-11575.sh

>
Reading "/bigwork/nhmgefte/fluent/PALOG/komega/komega_rad.cas"...
26250 quadrilateral cells, zone 1, binary.
30 2D wall faces, zone 2, binary.
51595 2D interior faces, zone 3, binary.
6 2D wall faces, zone 4, binary.
150 2D wall faces, zone 5, binary.
1364 2D wall faces, zone 6, binary.
230 2D wall faces, zone 7, binary.
30 2D wall faces, zone 8, binary.
27156 nodes, binary.
27156 node flags, binary.

Building...
mesh
materials,
interface,
domains,
mixture
phase-1
phase-2
interaction
zones,
bottom (phase-1)
default_interior-1 (phase-1)
default_exterior-1 (phase-1)
wall_inlet (phase-1)
wall_outlet.1 (phase-1)
wall_outlet (phase-1)
bottom (phase-2)
default_interior-1 (phase-2)
default_exterior-1 (phase-2)
wall_inlet (phase-2)
wall_outlet.1 (phase-2)
wall_outlet (phase-2)
fluid-1 (phase-1)
fluid-1 (phase-2)
outlet (phase-1)
outlet (phase-2)
wall_outlet
wall_outlet.1
wall_inlet
default_exterior-1
default_interior-1
bottom
outlet
fluid-1
Done.

>
Reading "/bigwork/nhmgefte/fluent/PALOG/komega/-13-02000.dat"...
Done.

>
> iter continuity x-velocity y-velocity k omega time/iter
10 0.0000e+00 0.0000e+00 0.0000e+00 5.5997e-06 6.4506e-03 0:38:54 19990
20 0.0000e+00 0.0000e+00 0.0000e+00 6.1432e-06 4.1727e-03 0:38:34 19980
30 0.0000e+00 0.0000e+00 0.0000e+00 7.3137e-06 3.0246e-03 0:38:16 19970
40 0.0000e+00 0.0000e+00 0.0000e+00 7.3917e-06 2.0389e-03 0:38:03 19960
50 0.0000e+00 0.0000e+00 0.0000e+00 6.6184e-06 1.3130e-03 0:37:53 19950
! 60 solution is converged
60 0.0000e+00 0.0000e+00 0.0000e+00 5.4897e-06 8.1829e-04 0:37:39 19940

>
Writing "/bigwork/nhmgefte/fluent/PALOG/komega/freitag.dat"...
Done.


>

Thank you very much for any help!!!
CompIng is offline   Reply With Quote

Old   November 30, 2015, 12:48
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It looks like it is 100% working and doing whatever it is you told it to do, whatever that is.

If you already have a .dat file then you should not be initializing again which would clear the current solution and replace the fields with your initial conditions.

It converged, based on your convergence criteria, after 60 iterations. It didn't abort randomly.

Can you try doing the same steps through the GUI to see if you get a different result? Also, if you are learning to run batch mode, you can run locally w/o a cluster but use only TUI commands. You can do this with either gui or nogui but just practice with only using TUI commands and nothing else.
LuckyTran is offline   Reply With Quote

Reply

Tags
ansys fluent 16.2, batch, trouble


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
Stopping a Fluent batch job AND saving the data! Possible? Volker Pawlik FLUENT 13 December 28, 2020 05:16
fluent 12.1, batch mode in linux sakalido FLUENT 13 September 27, 2017 09:55
to run a replayfile in batch mode from UNIX froztbear ANSYS Meshing & Geometry 4 May 13, 2014 09:00
Fluent batch mode unix : how do a patch? Claire FLUENT 0 February 12, 2013 11:06
problem with fluent in batch mode Pat FLUENT 2 February 13, 2003 14:14


All times are GMT -4. The time now is 12:55.