Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
13 juin 2016, 10:06 UTC−4
Perhaps what you are looking for is the with(,) operator? See Reference Manual, version 5.2, page 243:
WITH
• The with operator can access specific solutions during results evaluation.
• For time-dependent problems, parametric problems, and eigenvalue problems, this makes it possible to use the solution at any of the time steps, any parameter value, or any eigensolution in an expression used for plotting or data evaluation.
• Use the solution number as the first input argument. The second input argument is the expression that you want to evaluate using this solution. For example, with(3,u^2) provides the square of the third eigensolution for an eigenvalue problem.
• For example, you can use the with operator to verify that two eigensolutions are orthogonal.
• If you want to use the with operator for a parametric problem, you should use a Parametric solver instead of a Parametric Sweep.
• The with operator can only be used during results evaluation, so you cannot use it when setting up the model.
See also withsol for a more general operator.
Best,
Jeff
Perhaps what you are looking for is the with(,) operator? See Reference Manual, version 5.2, page 243:
WITH
• The with operator can access specific solutions during results evaluation.
• For time-dependent problems, parametric problems, and eigenvalue problems, this makes it possible to use the solution at any of the time steps, any parameter value, or any eigensolution in an expression used for plotting or data evaluation.
• Use the solution number as the first input argument. The second input argument is the expression that you want to evaluate using this solution. For example, with(3,u^2) provides the square of the third eigensolution for an eigenvalue problem.
• For example, you can use the with operator to verify that two eigensolutions are orthogonal.
• If you want to use the with operator for a parametric problem, you should use a Parametric solver instead of a Parametric Sweep.
• The with operator can only be used during results evaluation, so you cannot use it when setting up the model.
See also withsol for a more general operator.
Best,
Jeff