Plotting the gap distance variable

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   3 Replies   Last post: February 22, 2013 6:20pm UTC
Ryan Musson

Ryan Musson

February 15, 2013 1:53am UTC

Plotting the gap distance variable

I am trying to do something very simple, but it doesn't seem to be intuitive. I have a contact pair in the structural mechanics module and I want to plot the gap distance variable as a function of time. I know this is should be simple, but I am stuck!

Ryan

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

February 15, 2013 6:09am UTC in response to Ryan Musson

Re: Plotting the gap distance variable

Hi

that should work, but do not forget that the gap distance is a field (hence depends on x,y,z and t) so for the plot either you take an average value or you measure from a "point" to get a time plot

Now I do not rem,ember the distance variable name in 3.5 any longer, check the doc and the equations, it's in there somewhere ;)

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ryan Musson

Ryan Musson

February 22, 2013 3:18pm UTC in response to Ivar Kjelberg

Re: Plotting the gap distance variable

I plotted the gap distance variable (gap_cp21_smps, in my case) for contact pair 21 at point 108, which happens to be on the slave boundary for that pair. I attached a picture of the setup for clarity. The plot which COMSOL generated seems reasonable, however I am unsure of what the data physically represents. I thought that the gap distance variable was simply a distance that I could plot as a function of time. What does it mean to say "the gap distance variable at point 108"?

Also, how would I plot the average value of the gap distance variable?

Ryan

Attachments:   contact_pair.jpg  

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

February 22, 2013 6:20pm UTC in response to Ryan Musson

Re: Plotting the gap distance variable

Hi

if you check the doc, the gap distance of a "point" is the distance from that point along the surface normal to the interception of the other boundary, so if you want an average you need to average over a boundary area/distance, not that easy as you might not know where the contact is really over the contact region

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines