exporting the results out of the elements

Please login with a confirmed email address before reporting spam

Hello I’m new to COMSOL and would appreciate your assistance. I need to export the result values for each individual element in my simulation. I mean, for example, I've performed a simulation to compute the strain energy density (SED). Now, for each element, I want to have a number that represents the SED of that element. Is there any way? Thank you in advance


2 Replies Last Post 8 janv. 2025, 03:22 UTC−5
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago 7 janv. 2025, 09:51 UTC−5

Hi Golbarg

If you have LiveLink you can use mpheval to extract data in all node points of your mesh. You can evaluate any expression using this function.

You can use the function mphgetu to get all the internal values of the solutions vector if you need access to the raw data.

-------------------
Lars Gregersen
Comsol Denmark
Hi Golbarg If you have LiveLink you can use mpheval to extract data in all node points of your mesh. You can evaluate any expression using this function. You can use the function mphgetu to get all the internal values of the solutions vector if you need access to the raw data.

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago 8 janv. 2025, 03:22 UTC−5

Lars Hi Lars Thank you. That was really helpful!

>Lars Hi Lars >Thank you. That was really helpful!

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.