Extract Matrices from CALC_MODAL
- Christian
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
11 years 2 days ago #7549
by Christian
Extract Matrices from CALC_MODAL was created by Christian
Hi all,
does anyone of you know, how I can print out or extract the mass and stiffness matrix of a model, which are generated by the CALC_MODAL macro command?
Thanks for your help,
Cheers!
does anyone of you know, how I can print out or extract the mass and stiffness matrix of a model, which are generated by the CALC_MODAL macro command?
Thanks for your help,
Cheers!
- kwou
-
- Offline
- Moderator
-
11 years 1 day ago - 11 years 1 day ago #7552
by kwou
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
Replied by kwou on topic Re: Extract Matrices from CALC_MODAL
Hoi Hefti
You can extract the mass of groups and print it by the following commands (in this case shell elements)
I guess you can use it for calc_modal as well, if you use the same groups. See:
www.caelinux.org/wiki/index.php/Contrib:...al_mass_of_the_plate
You can extract the mass of groups and print it by the following commands (in this case shell elements)
....
masshell=POST_ELEM(MASS_INER=_F(GROUP_MA='shell',),
MODELE=modmod,
CHAM_MATER=material,
CARA_ELEM=shellch,);
IMPR_TABLE(TABLE=masshell,NOM_PARA='MASSE',);
...
I guess you can use it for calc_modal as well, if you use the same groups. See:
www.caelinux.org/wiki/index.php/Contrib:...al_mass_of_the_plate
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
Last edit: 11 years 1 day ago by kwou.
- RichardS
- Offline
- Elite Member
-
11 years 9 hours ago #7553
by RichardS
SimScale - Engineering Simulation in your browser!
Replied by RichardS on topic Re: Extract Matrices from CALC_MODAL
Hello,
I think what you are looking for is the command EXTR_MATR() which returns the matrix in python array format.
Best regards,
Richard
I think what you are looking for is the command EXTR_MATR() which returns the matrix in python array format.
mod_meca =MACRO_MODE_MECA(
MATR_RIGI=matrrigi,
MATR_MASS=matrmass,
...)
rigipy = matrrigi.EXRT_MATR()
masspy = matrmass.EXTR_MATR()
Best regards,
Richard
SimScale - Engineering Simulation in your browser!
- Christian
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
10 years 11 months ago #7555
by Christian
Replied by Christian on topic Re: Extract Matrices from CALC_MODAL
Thanks for the help. The POST_ELEM command worked out fine!
Cheers!
Cheers!
Moderators: catux
Time to create page: 0.123 seconds