PDA

View Full Version : Problem in ANSYS



vidiii
2006-11-13, 11:00
Hi,

I have modelled a system in ANSYS Multiphysics 8.1 where I do a harmonic response analysis. I have defined a point where I want to list the Frequency, Amplitude and phase. This is how the analysis solution in BATCH is defined:

/SOLU
ANTYPE,3 ! harmonic analysis
DMPRAT,0.02, ! Damping

HARFRQ,45,46,
NSUBST,10,
KBC,1

/STATUS,SOLU
SOLVE

/POST26
NSOL,3,679,U,Z,Z1 ! The node that must be investigated

PRTIME,0,0, ! Set max list per page to 2000
NPRINT,1,
VARNAM, ,
LINES,2000,
PRCPLX,1

/OUTPUT,hareigfreq,txt,C:\tmpANSYS\, ! Define the output
PRVAR,3, ! What to output
FINISH

But the problem here is that I do not get the wished output. I wish to get something like this:

***** ANSYS POST26 VARIABLE LISTING *****


TIME 679 UZ
Z1
AMPLITUDE PHASE
45.100 0.628168E-06 -62.0460
45.200 0.658092E-06 -67.0027
45.300 0.684991E-06 -72.3766
45.400 0.707167E-06 -78.1395
45.500 0.722765E-06 -84.2037
45.600 0.730404E-06 -90.4371
45.700 0.729371E-06 -96.7141
45.800 0.719786E-06 -102.901
45.900 0.702770E-06 -108.838
46.000 0.679895E-06 -114.415

I see this in GUI mode. But the output files does not get this, it gets this:

STORAGE COMPLETE FOR 10 DATA POINTS

SUMMARY OF VARIABLES STORED THIS STEP AND EXTREME VALUES
VARI TYPE IDENTIFIERS NAME MINIMUM AT TIME MAXIMUM AT TIME

3 NSOL 679 UZ Z1 -0.2810E-06 46.00 0.2945E-06 45.10


***** ROUTINE COMPLETED ***** CP = 222.609



*** NOTE *** CP= 222.609 TIME= 12:14:00
A total of 14 warnings and errors written to C:\Documents and
Settings\Ahmadi\file.err.

Can somebody please help me to obtain that in the output file txt? Since I'm going to call ansys from DOS, I need those results in the output file. (it is being looped via MATLAB for optimization). I would be very thankful. Thanks in advance.

So in some way I think the following is wrong:
/OUTPUT,hareigfreq,txt,C:\tmpANSYS\, ! Define the output
PRVAR,3, ! What to output

With kindest regards,
Vidi

Jorgen
2006-11-15, 20:19
Unfortunately I don't use ANSYS often enough to provide detailed answers to your questions. 8O

Perhaps someone else has more info.

- Jorgen