LiveLink for MATLAB: mpheval evaluates data far scarcer than mesh

Please login with a confirmed email address before reporting spam

It seems that mpheval evaluates data with a density far scarcer than that of the actual FEA mesh. How to control the density on which mpheval evaluates? Same question for mphinterp.


1 Reply Last Post Jan 13, 2025, 6:24 a.m. EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 days ago Jan 13, 2025, 6:24 a.m. EST

Hi Carl

For mphinterp you have to specify the coordinates yourself.

Mpheval uses the same nodes as your mesh by default. If you have higher order elements you may want to use the refine argument.

-------------------
Lars Gregersen
Comsol Denmark
Hi Carl For mphinterp you have to specify the coordinates yourself. Mpheval uses the same nodes as your mesh by default. If you have higher order elements you may want to use the refine argument.

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.