XANSYS Message: 20719 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: Help on Using Ansys along with other software
Author: Rick Morgans
Date: 2001-01-31 18:53:00

On Wed, Jan 31, 2001 at 02:07:29PM -0800, Rajnikanth Gedhada wrote:




an "ansysbatch.bat" file that I use... The ANS_CONSEC env var is the
bit that stops the interactive keypress. It is in the manuals, but it
is buried...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
set ANS_CONSEC=YES
set ANSWAIT=TRUE
set ANSYS_MACROLIB=c:ansysmacros

C:PROGRA~1ANSYS562binIntelansys -b -p ANSYSUH < %1.mac >> working.out -j
working -m 320 -db 25 -l english
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

a multiple batchfile use of this ("runall.bat")...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cd e:rmorgansworking
cd str_all_test_99
call ansysbatch.bat run_harm_strcav
cd ..
cd str_end_test_99
call ansysbatch.bat run_harm_strcav
cd ..
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You could of course use a scripting language like python
(www.python.org ;) instead of the batch file...

Rick

Rick Morgans
Postgrad Student CAE Consultant
ANVC Group Proen Design Aust
Dept. Mech. Eng. 1/157 Burbridge Road
Uni of Adelaide 5005 Hilton SA 5033
Ph: +61-8-8303-3847 Ph: +61-8-8152-0800
Fax: +61-8-8303-4367 Fax: +61-8-8152-0888


Posts possibly associated with message #20719AuthorDateScore
20716Help on Using Ansys along with other softwareRajnikanth Gedhada rgedhada@2001/01/31 
20718Re: Help on Using Ansys along with other softwareJohn Swanson2001/01/31 
20719Re: Help on Using Ansys along with other softwareRick Morgans2001/01/31