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.

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.!



2 Replies Last Post 2021/01/28 1:34 GMT-5
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 2020/10/20 9:42 GMT-4
Updated: 3 years ago 2020/10/20 10:30 GMT-4

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

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 2021/01/28 1:34 GMT-5

Thank u Lars

Thank u Lars

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.