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 Jan 28, 2021, 1:34 a.m. EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Oct 20, 2020, 9:42 a.m. EDT
Updated: 3 years ago Oct 20, 2020, 10:30 a.m. 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

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Jan 28, 2021, 1:34 a.m. EST

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.