Problems using mphinterp for extracting Solid.Tn data.

Please login with a confirmed email address before reporting spam

Hi.I'm modeling a contact problem between two surfaces in a 2d problem as shown in the attached figure. I cannot get the data because i got this error: "Wrong dimension of points searched for in postinterp." i use mph inter as shown below:

mphinterp(model,'solid.Tn','coord',nuevoxy,'edim','boundary','selection',4)

where nuevoxy is an array with the coordinates x and y of the points in the boundary where i wanna get this data.!



1 Reply Last Post Oct 20, 2020, 9:42 AM EDT
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 week ago Oct 20, 2020, 9:42 AM EDT
Updated: 1 week ago Oct 20, 2020, 10:30 AM EDT

Hi Yesinia

Most likely you need to use nuevoxy' instead of nuevoxy. Coordinates in Comsol are columnwise.

Lars

-------------------
Lars Gregersen
Comsol Denmark
Hi Yesinia Most likely you need to use nuevoxy' instead of nuevoxy. Coordinates in Comsol are columnwise. Lars

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.