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.
Plots - Edit Expressions: Normalization to a Certain Value
Posted 2014年2月5日 GMT-5 05:12 Parameters, Variables, & Functions, Results & Visualization, Studies & Solvers Version 4.1, Version 4.2, Version 4.2a, Version 4.3, Version 4.3a, Version 4.3b, Version 4.4 1 Reply
Please login with a confirmed email address before reporting spam
I have a square, centered in (0,0).
After running my simulation, I get the value of the Magnetic Field all over the square.
I run a Parametric Sweep. In order to compare my results, I want to plot the "normalized mf.Bx", I mean, I want to plot the magnetic field x-component along the x-Axis divided by its value at the center of the square.
I have a 1D Line Plot and I would like to plot (as y-Axis data) Bx/Bx(0,0) as a function of x.
I tried to write, as expression:
- mf.Bx/mf.Bx(0,0)
- mf.Bx/ppb1 (where ppb1 is a Domain Point Probe placed in (0,0) )
- mf.Bx/MAX (where MAX is a global variable: MAX = mf.Bx(0,0) )
- mf.Bx/MAX2 (where MAX2 is a model variable: MAX2 = mf.Bx(0,0) )
- mf.Bx/MAX (where MAX is a global variable: MAX = ppb1)
- NORM (where NORM is a variable: NORM = mf.Bx/mf.Bx(0,0) )
...
but no one worked.
Any suggestion to solve this problem?
After running my simulation, I get the value of the Magnetic Field all over the square.
I run a Parametric Sweep. In order to compare my results, I want to plot the "normalized mf.Bx", I mean, I want to plot the magnetic field x-component along the x-Axis divided by its value at the center of the square.
I have a 1D Line Plot and I would like to plot (as y-Axis data) Bx/Bx(0,0) as a function of x.
I tried to write, as expression:
- mf.Bx/mf.Bx(0,0)
- mf.Bx/ppb1 (where ppb1 is a Domain Point Probe placed in (0,0) )
- mf.Bx/MAX (where MAX is a global variable: MAX = mf.Bx(0,0) )
- mf.Bx/MAX2 (where MAX2 is a model variable: MAX2 = mf.Bx(0,0) )
- mf.Bx/MAX (where MAX is a global variable: MAX = ppb1)
- NORM (where NORM is a variable: NORM = mf.Bx/mf.Bx(0,0) )
...
but no one worked.
Any suggestion to solve this problem?
1 Reply Last Post 2014年2月5日 GMT-5 05:49