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

Command Line Run for ANSYS

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 28, 2006, 08:46
Default Command Line Run for ANSYS
  #1
Liaquat
Guest
 
Posts: n/a
Hi I am trying to run ANSYS from command line by using a DOS Batch Script such as "C:\Program Files\Ansys Inc\v100\ANSYS\bin\intel\ansys.exe" -b -i biggerplate.ans -o biggerplate.out But it gives me an error message that I do not have a license. Whereas I can run ANSYS in windows and can open biggerplate file by file/Read input from in top left menu inside ANSYS. My specific need requires to call ANSYS from command line, make it read a batch file that contains complete commands to solve a problem all the way tilll postprocessing and read an output file. However, nothing seems to happen when I use the complete path for windows ANSYS. So, do I need to change the installation in certain way or need to call ANSYS a certain different way. I have ANSYS University Advanced version. Thanks a lot... Liaquat
  Reply With Quote

Old   December 28, 2006, 16:05
Default Re: Command Line Run for ANSYS
  #2
Dollar
Guest
 
Posts: n/a
don't run on windows, especially windows vista, do it on Unix

  Reply With Quote

Old   December 28, 2006, 16:26
Default Re: Command Line Run for ANSYS
  #3
Peter Attar
Guest
 
Posts: n/a
I think you need to provide the type of licence you have via a command line option...I'm not sure of the option but I am sure you can find it in the help docs.

  Reply With Quote

Old   December 29, 2006, 17:19
Default Re: Command Line Run for ANSYS
  #4
Liaquat
Guest
 
Posts: n/a
Thanks to you and Dollar. I was looking for help other than Unix as I am not good at that at all. I was wondering if I needed to change any settings in Launcher or call a different Ansys exe file if I wanted to run it from windows command line.

Any how, I appreciate your help. Thanks
  Reply With Quote

Old   December 31, 2006, 15:23
Default Re: Command Line Run for ANSYS
  #5
Renato.
Guest
 
Posts: n/a
Check the following steps:

1. Open the "Ansys Product Launcher"

2. In "Simulation Environment" change to "Ansys batch"

3. Fill out the fields with the working directory, job name, input file and output file and click in "run"

It should work if you have the proper license.

Cheers

Renato.

  Reply With Quote

Old   January 1, 2007, 00:14
Default Re: Command Line Run for ANSYS
  #6
Liaquat
Guest
 
Posts: n/a
Renato Thanks for your reply. My problem is different. I am trying to integrate ANSYS in a software called iSIGHT by Engineous. So when I define a simulation code in that program, I define an input file, output file and executable for the simulation code which in this case is ANSYS. What you suggested still reauires manual clicking. Whereas I want to acccess that ANSYS exe file and batch switch that tells this execuatable of ANSYS which input file to run and what to call the output file. But I can not do so right now. Thanks Liaquat
  Reply With Quote

Old   January 1, 2007, 08:39
Default Re: Command Line Run for ANSYS
  #7
Renato.
Guest
 
Posts: n/a
I see what you mean but I suggest you try a batch mode session using the launcher firstly. It should give you an idea if you'll be able to run Ansys from the command line later.

Cheers and happy new year ;o)

Renato.

  Reply With Quote

Old   January 9, 2007, 09:42
Default Re: Command Line Run for ANSYS
  #8
Rob
Guest
 
Posts: n/a
When you run from the product launcher look in the active directory for a file called ansys$$.bat, this contains the command line it uses to run your script. Just copy it.
  Reply With Quote

Old   February 1, 2013, 02:30
Default A similar problem comes across to me
  #9
New Member
 
Join Date: Feb 2013
Posts: 3
Rep Power: 4
mfaisaln is on a distinguished road
Dear Liaquate.....I hope you will be fine.......

Since it is long time...I came across error relating to it...I am succed to run ansys in Btach Run....But when I use iSIGHT to run simulation......I came across following error:

SimServer<TaskHost=localhost/SimHost= localhost>SimCode Simcod1 runstatus unsuccessful -255
Error executing main program Simcod1
Error evaluating :: sIMCODE0
Error evaluating Control expression Evaluate Simcode Simcod1 -1
Error in TaskProcess Control
mfaisaln is offline   Reply With Quote

Old   February 1, 2013, 02:32
Default Ansys integeration with iSIGHT9
  #10
New Member
 
Join Date: Feb 2013
Posts: 3
Rep Power: 4
mfaisaln is on a distinguished road
Could anyone help in this regards....Thanks

Last edited by mfaisaln; February 1, 2013 at 02:33. Reason: correction
mfaisaln is offline   Reply With Quote

Reply

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
Parallel run in fluent for multiphase flow apurv FLUENT 2 August 3, 2011 19:44
Batch Run with Initial values file krrishcfd CFX 1 July 28, 2011 02:35
First Parallel Run - need some help Gian Maria OpenFOAM 3 June 17, 2011 12:08
How to run and save tranisent case on Cray XD1 Leon FLUENT 0 October 3, 2006 21:59
Windows 64-bit, Distributed Parallel Run Issues... Erich CFX 3 March 28, 2006 16:36


All times are GMT -4. The time now is 11:34.