I am a mechanical engineer and I do not have so much information about
programming. I only want to run mor4ansys in WindowsXP environment and
obtaine mass stiffness and damping matrices to use them in MATLAB. VCan
anybody discribe me to use mor4ansys basically and obtaining the system
matrices.
Thank you very very much.
Best Regards,
Sertaç
ANSYS allows you to write out system matrices in harwell boeing format,
make sure you have a <jobname>.full file by
running (see Evgenii's thruster example)
resume
/solu
allse
antype,static
eqslv,sparse
nsubst,1
wrfull,1
ematwrite,yes
solve
fini
then dump the matrices
/aux2
file ,<jobname>,full,
hbmat ,,,,ascii,stiff,yes/no
or
hbmat ,,,,ascii,mass,yes/no
or
hbmat ,,,,ascii,damp,yes/no
these text files can be read into MATLAB using software from
http://math.nist.gov/MatrixMarket/
or
http://www.csit.fsu.edu/%7Eburkardt/m_src/hb_to_msm/hb_to_msm.html
or you could convert the harwell boeing to market format using MTL
before reading the matrices in.
i can forward on C code if you want to do this
regards,
Colm.
By now, I have the system matrices and I could use them in MATLAB. If I
would have further questions about the matrices or if there will be a
problem, I will contact to you.
Thank you very much.
Best Regards,
Sertac
Evgenii, I tried to reduce the order of a 10 DOFs sample system using
mor4ansys. I used the command
mor4ansys filename.full filename.emat -f -w matrices -N 5
but the program gave an output of 10 DOFs again instead of 5 DOFs. Is
there a problem or am I doing something wrong?
Colm, Can you send me the C code?
Thank you and regards,
Sertaç