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年1月28日 GMT-5 01:34
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年10月20日 GMT-4 09:42
Updated: 4 years ago 2020年10月20日 GMT-4 10:30

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: 4 years ago 2021年1月28日 GMT-5 01:34

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.