Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Subtracting a local evaluation from a domain result

Please login with a confirmed email address before reporting spam

I have a 2D solid mechanics result in COMSOL that has the x- and y-displacements: u and v.

I would like to plot these using a different reference point for the strain, i.e. a displacement relative to another displaced location. For example, I'd like to plot:

u-uref

...where "uref" is my numerical result "u" evaluated at a specific location "x0", "y0" of my choosing (either a coordinate entry or a selection at a point in my geometry).

Any suggestions on how to do this? I have been playing around with data sets, selections, etc. and can't figure out how to have uref be a point-evaluation of the data set. I can type in the expression "u-const" where "const" is a constant and this works fine, but I can't figure out how to subtract u at a point.

0 Replies Last Post 27 juil. 2011, 18:14 UTC−4
COMSOL Moderator

Hello Matthew Pearson

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.