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

Running Ansys in BAtch Mode

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 5, 2010, 13:27
Default Running Ansys in BAtch Mode
  #1
New Member
 
David S
Join Date: Nov 2010
Posts: 1
Rep Power: 0
kuleuvenstudent is on a distinguished road
Hello there,

We are two Engineering Students from the K.U.Leuven university and we're having some problems running ANSYS in batch mode.

Actually it's not really a fluidum-mechanical problem, It's about a dynamic analysis of a bridge....

We made a Ansys log file and when we paste this into the Ansys command line, the following ansys code let's us write the eigenfrequenties and the modal shapes to .dat -files. This works OK!


*DO,mode,1,10
SET,1,mode
*GET,Frequenties(mode),ACTIVE,,SET,FREQ
*CFOPEN,Frequenties%case%,'dat',.\output
*VWRITE,Frequenties(1)
(E16.100)
*CFCLOSE

*DO,enum,1,126
*GET,NodeData(enum,3),NODE,NodeData(enum,2),U,Y
*CFOPEN,'NodeData%case%_%mode%','dat',.\output
*VWRITE,NodeData(1,1),NodeData(1,2),NodeData(1,3), NodeData(1,4),NodeData(1,5)
(6E16.6)
*CFCLOSE
*ENDDO
*ENDDO


But we need to run Ansys in batch mode using MatLab.
The problem we have is that when running batch mode, ansys only writes the Nodedata files but not the Frequencies.... While it does both when not in batch mode...

This is how we try to start ansys:

cd C:/THESIS/Ansys

dos('del Orthotrope_Plaat.out file.* .\Output\*.dat');
dos('"C:/Program Files/ANSYS Inc/v120/ansys/bin/intel/ansys120" -b nolist -p ANFL -i Orthotrope_Plaat.inp -o Orthotrope_Plaat.out');

cd C:/THESIS/Matlab

Does Anyone have an idea of what's going wrong?

Kind regards,

David and Steven
kuleuvenstudent is offline   Reply With Quote

Reply

Tags
ansys batch matlab

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
Running macros in parallel in batch mode nomad STAR-CCM+ 13 February 22, 2013 09:30
Running fluent with udf in batch mode zonexo Fluent UDF and Scheme Programming 2 March 10, 2012 08:50
A Loop problem when running UDF in the batch mode Jun Geng FLUENT 3 July 16, 2008 08:34
Running Job in Batch mode (EFD) Nick Sessions FloEFD, FloWorks & FloTHERM 0 April 16, 2008 16:44
problem with running UDF in batch mode James FLUENT 0 June 6, 2006 06:49


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