CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS (
-   -   Running Ansys in BAtch Mode (

kuleuvenstudent November 5, 2010 13:27

Running Ansys in BAtch Mode
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!


*VWRITE,NodeData(1,1),NodeData(1,2),NodeData(1,3), NodeData(1,4),NodeData(1,5)

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

amacedo October 18, 2017 12:11

Have you found the problem? I am having the same problem and trying to solve it for a month. I can't find a solution for this anywhere. I've tried Ansys 13, 14, 17 and even reinstalled the one I have been using, 17.2 student. There is for sure something one must (or mustn't) do in the log file to run it in batch mode, but incredibly no one says what...

Thank you for your attention, regards

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