How to create plot

Please login with a confirmed email address before reporting spam

In post-processing, I use "Derived Values" to evaluate some variables at a cut point.

I would like to create a 1D plot where I evaluate an expression along a cut line, but in that expression, I would like to use my previously defined derived value as a constant. So my question is: how can I reference a derived variable in a plot expression?


1 Reply Last Post Jun 2, 2023, 5:00 a.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 6 days ago Jun 2, 2023, 5:00 a.m. EDT

In the end after some trial and error I solved my problem with workaround, using a combination of whitsol and at3:

withsol('sol1', at3(0,0,0,mf.Bx))
In the end after some trial and error I solved my problem with workaround, using a combination of `whitsol` and `at3`: ``` withsol('sol1', at3(0,0,0,mf.Bx)) ```

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.