|
[Sponsors] |
December 28, 2006, 08:46 |
Command Line Run for ANSYS
|
#1 |
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
|
|
December 28, 2006, 16:05 |
Re: Command Line Run for ANSYS
|
#2 |
Guest
Posts: n/a
|
don't run on windows, especially windows vista, do it on Unix
|
|
December 28, 2006, 16:26 |
Re: Command Line Run for ANSYS
|
#3 |
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.
|
|
December 29, 2006, 17:19 |
Re: Command Line Run for ANSYS
|
#4 |
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 |
|
December 31, 2006, 15:23 |
Re: Command Line Run for ANSYS
|
#5 |
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. |
|
January 1, 2007, 00:14 |
Re: Command Line Run for ANSYS
|
#6 |
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
|
|
January 1, 2007, 08:39 |
Re: Command Line Run for ANSYS
|
#7 |
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. |
|
January 9, 2007, 09:42 |
Re: Command Line Run for ANSYS
|
#8 |
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.
|
|
February 1, 2013, 02:30 |
A similar problem comes across to me
|
#9 |
New Member
Join Date: Feb 2013
Posts: 3
Rep Power: 13 |
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 |
|
February 1, 2013, 02:32 |
Ansys integeration with iSIGHT9
|
#10 |
New Member
Join Date: Feb 2013
Posts: 3
Rep Power: 13 |
Could anyone help in this regards....Thanks
Last edited by mfaisaln; February 1, 2013 at 02:33. Reason: correction |
|
July 30, 2016, 06:03 |
|
#11 |
New Member
Mohan
Join Date: Jul 2016
Posts: 1
Rep Power: 0 |
Hai friends, I would likie to run ansys through windows command prompt, I used the command
cd C:\Program Files\ANSYS Inc\v160\ansys\bin\winx64\ANSYS160.exe -b -i H:\Win7PoolData\Desktop\s3.txt -o H:\Win7PoolData\Desktop\error.txt but I get an error in the output file(error.txt) stating ************************************************** ********************** The number of ERROR and WARNING messages exceeds 0. Use the /NERR command to increase the number of messages. The ANSYS run is terminated by this error. ************************************************** ********************** I get the correct output, if I use the product launcher. Has anyone met with a similar issue?. looking forward to your reply |
|
April 19, 2018, 10:49 |
|
#12 | |
New Member
Krishna praveen
Join Date: Mar 2018
Posts: 6
Rep Power: 8 |
Quote:
ECHO OFF "C:\Program Files\ANSYS Inc\v160\ansys\bin\winx64\ANSYS160.exe" -b -o "H:\Win7PoolData\Desktop\error.txt" PAUSE Remember that quotes are kept to the exact way i have written.Otherwise it would not know the path of other files. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel run in fluent for multiphase flow | apurv | FLUENT | 2 | August 3, 2011 20:44 |
Batch Run with Initial values file | krrishcfd | CFX | 1 | July 28, 2011 03:35 |
First Parallel Run - need some help | Gian Maria | OpenFOAM | 3 | June 17, 2011 13:08 |
How to run and save tranisent case on Cray XD1 | Leon | FLUENT | 0 | October 3, 2006 22:59 |
Windows 64-bit, Distributed Parallel Run Issues... | Erich | CFX | 3 | March 28, 2006 17:36 |