Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

extracting FE matrix equation system

Please login with a confirmed email address before reporting spam

Hi people!

I have small issue and I cannot figure out how to solve it. I need your help.

I need to extract my stiffness tensor from the FE matrix system into matlab. I know that there is the function mphmatrix but that extracts all the model and I need just 1 domain in particular.

Have you ever did this? Can you give me a hint on that?

Thanks!

Matias

6 Replies Last Post Oct 26, 2012, 9:57 a.m. EDT
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 14, 2012, 4:09 p.m. EDT
Hi

indeed model reduction on arbitrary modes s a domain were I feel COMSOl still has some serious improvements to do, we will see what has been implemented in V4.3 now, when it arrives.

I can only suggest to ask support, so they see I'm not the only one asking for this ;)

--
Good luck
Ivar
Hi indeed model reduction on arbitrary modes s a domain were I feel COMSOl still has some serious improvements to do, we will see what has been implemented in V4.3 now, when it arrives. I can only suggest to ask support, so they see I'm not the only one asking for this ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 15, 2012, 7:01 p.m. EDT
Thanks Ivar,

I already did that, let see v4.3 ;)

regards,
/Matt
Thanks Ivar, I already did that, let see v4.3 ;) regards, /Matt

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2012, 3:57 a.m. EDT
Hi

That's good, often COMSOL deveoppers are rather reactive and suggestions come rapidly in the new versions, at least if anough of us ask for them ;)

You have one place in the last version where you can reduce the model and analysit it with a few modes, and NOT necesarily the adjacent first moes, its in the frequency domain modal. Only thing the damping sub nodes do not seem to work properly in 4.2 and I'm not sure they managed to mend it for 4.3 but it will certainly be done int he following patches. But I do not know how to export a M&D matrix from this reduced model, this would be ideal (for me)

--
Good luck
Ivar
Hi That's good, often COMSOL deveoppers are rather reactive and suggestions come rapidly in the new versions, at least if anough of us ask for them ;) You have one place in the last version where you can reduce the model and analysit it with a few modes, and NOT necesarily the adjacent first moes, its in the frequency domain modal. Only thing the damping sub nodes do not seem to work properly in 4.2 and I'm not sure they managed to mend it for 4.3 but it will certainly be done int he following patches. But I do not know how to export a M&D matrix from this reduced model, this would be ideal (for me) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 26, 2012, 6:50 a.m. EDT

Hi

That's good, often COMSOL deveoppers are rather reactive and suggestions come rapidly in the new versions, at least if anough of us ask for them ;)

You have one place in the last version where you can reduce the model and analysit it with a few modes, and NOT necesarily the adjacent first moes, its in the frequency domain modal. Only thing the damping sub nodes do not seem to work properly in 4.2 and I'm not sure they managed to mend it for 4.3 but it will certainly be done int he following patches. But I do not know how to export a M&D matrix from this reduced model, this would be ideal (for me)

--
Good luck
Ivar


Hi everybody,
I think I'm facing the same problem but I'm not really sure if I understood correctly.

Did you mean that is not possible to extract, let's say, the stiffness matrix for a transient problem where the mesh changes among the time steps?

Thanks!

Mattia
[QUOTE] Hi That's good, often COMSOL deveoppers are rather reactive and suggestions come rapidly in the new versions, at least if anough of us ask for them ;) You have one place in the last version where you can reduce the model and analysit it with a few modes, and NOT necesarily the adjacent first moes, its in the frequency domain modal. Only thing the damping sub nodes do not seem to work properly in 4.2 and I'm not sure they managed to mend it for 4.3 but it will certainly be done int he following patches. But I do not know how to export a M&D matrix from this reduced model, this would be ideal (for me) -- Good luck Ivar [/QUOTE] Hi everybody, I think I'm facing the same problem but I'm not really sure if I understood correctly. Did you mean that is not possible to extract, let's say, the stiffness matrix for a transient problem where the mesh changes among the time steps? Thanks! Mattia

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 26, 2012, 7:31 a.m. EDT
Hi
Ideally what I would like is to extract is a state space matrix w.r.t. some global variable in/out, that is not yet possible, from my undertanding, only the full matrix, that is defined then on the mesh. I

f you change the mesh per time step, I would lso understand that your issue becomes tougher, with moere to handle

--
Good luck
Ivar
Hi Ideally what I would like is to extract is a state space matrix w.r.t. some global variable in/out, that is not yet possible, from my undertanding, only the full matrix, that is defined then on the mesh. I f you change the mesh per time step, I would lso understand that your issue becomes tougher, with moere to handle -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Oct 26, 2012, 9:57 a.m. EDT
Hi

I've opened up a new discussion to present my question which is, however, not too far from the one presented here.

Thank you!

Mattia
Hi I've opened up a new discussion to present my question which is, however, not too far from the one presented here. Thank you! Mattia

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.