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

Alias problem when starting FLUENT from command line

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 24, 2012, 08:20
Default Alias problem when starting FLUENT from command line
  #1
New Member
 
TD
Join Date: May 2012
Posts: 1
Rep Power: 0
batch_error is on a distinguished road
Hello,

I'm having trouble starting FLUENT from the command line. Up until now I have been using the GUI, started through the launcher, which I had set using an alias of 'fluent':

Code:
alias fluent='/ansys_inc/v140/fluent/fluent14.0.0/launcher/lnamd64/launcher1'
Now all the help manuals say to start process with a batch file using (for example):

Code:
fluent -g 3ddp < myproblem_01_input.jou > myproblem_01_output.txt
So I removed the launcher alias, and tried:

Code:
*****@*******:/fluent/equiv/fluent -g 3d < rect20input
Now, of course, I get a 'command not found' error for fluent, so my question is to which file should I point the new alias of 'fluent'? The fluent/ directory has dozens of different executable files and I can't figure out which to use - I've reproduced the directory below.

Code:
*****@*******:/ansys_inc/v140/fluent> ls

bin  commonfiles14.0  contrib  fluent14.0.0  info  lib  lib3.0  license  utility

*****@*******:/ansys_inc/v140/fluent> ls bin

archive         fluent-cleanup.pl  lmgrd     lm_run      netscape.remote  place4.mpi        utility
fluent          fluent_sysinfo     lmhostid  lmstart     place1.mpi       place4.vmpi       videocmd
fluent_arch     lmcksum            lmremove  lmstat      place2.mpi       Read.Me
fluent_arch1.0  lmdown             lmreread  makeshared  place2.vmpi      sge_launcher.csh

*****@*******:/ansys_inc/v140/fluent> ls fluent14.0.0/

addons  client  cpropep  ic3m  isat      launcher  lnamd64    packages  src    vki
bin     cortex  gtpower  info  KINetics  lib       multiport  realgas   tgrid  wave

*****@*******:/ansys_inc/v140/fluent> ls fluent14.0.0/bin/

fluent

*****@*******:/ansys_inc/v140/fluent> ls fluent14.0.0/lnamd64/

2d    2ddp_host  2d_host  3d    3ddp_host  3d_host  syslib
2ddp  2ddp_node  2d_node  3ddp  3ddp_node  3d_node

*****@*******:/ansys_inc/v140/fluent> ls fluent14.0.0/lnamd64/3d

fluent.14.0.0  localize.h

*****@*******:/ansys_inc/v140/fluent> ls fluent14.0.0/lnamd64/3d_host

fluent.14.0.0  localize.h
For the curious, my batch input file is:

Code:
*;*Read*case*file*
 rcd*rect20.cas
*;*Calculate*50*iterations*
 it*500
*;*Write*data*file*
 wd*rect20-batch1.dat
*;*Calculate*another*50*iterations*
 it*500
*;*Write*another*data*file*
 wd*rect20-batch2.dat
*;*Exit*FLUENT*
 exit*
 yes
Thanks for any help!

[EDIT: My input file doesn't actually have all those asterisks, they appeared when I saved the post... not sure why, but they're all meant to be regular spaces.]
batch_error is offline   Reply With Quote

Reply

Tags
alias, batch, command line, fluent

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
fluent convergence problem josip76 FLUENT 0 May 26, 2011 20:08
Problem running a parallel fluent job on local machine via mpd highhopes FLUENT 0 March 3, 2011 06:07
[ICEM] [FLUENT] 2D Geometry problem when exporting to Fluent - Unwanted walls MikeTichondrius ANSYS Meshing & Geometry 1 February 9, 2011 14:31
Error when starting Fluent 6.3 on Pc with lnia64 architecture Julian K. FLUENT 1 March 16, 2010 00:49
starting fluent under freeBSD4.9 Herakles FLUENT 0 June 2, 2004 09:05


All times are GMT -4. The time now is 22:10.