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.

evaluating the field at a specific point

Please login with a confirmed email address before reporting spam

In my plots I want to normalize by the central value, ie. plot u(x,y)/u(0,0) Normally I just type 'u' to plot u(x,y), but is there some syntax for specifying u(0,0) as a constant?
--thanks, Chris

1 Reply Last Post Mar 9, 2016, 8:25 a.m. EST
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Mar 9, 2016, 8:25 a.m. EST
Hello Christopher,

You can use a Component Coupling of the Integration type, defined at the point (0,0). If it's the first such component coupling in your model this operator will be called intop1 by default (You can rename it, of course) and you would then refer to the value of u at (0,0) as intop1(u).
A toy example is attached.
If you have already solved your model and you need this solely for postprocessing purposes, you can force the evaluation of intop1 without recomputing the solution by using the "Update Solution" button located on the Study ribbon.

Component Couplings are a very powerful concept offered by COMSOL, so if you have never used component couplings before you will want to review the Reference Manual, version 5.2, page 281 and following to discover some of the fantastic things they can do for you (in short: all kinds of non-local couplings).

Best,
Jeff
Hello Christopher, You can use a Component Coupling of the Integration type, defined at the point (0,0). If it's the first such component coupling in your model this operator will be called intop1 by default (You can rename it, of course) and you would then refer to the value of u at (0,0) as intop1(u). A toy example is attached. If you have already solved your model and you need this solely for postprocessing purposes, you can force the evaluation of intop1 without recomputing the solution by using the "Update Solution" button located on the Study ribbon. Component Couplings are a very powerful concept offered by COMSOL, so if you have never used component couplings before you will want to review the Reference Manual, version 5.2, page 281 and following to discover some of the fantastic things they can do for you (in short: all kinds of non-local couplings). Best, Jeff

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.