Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
4 mars 2022, 07:53 UTC−5
Updated:
3 years ago
4 mars 2022, 07:54 UTC−5
Hi Alexandra,
One way of doing this, is to add a Cut Point 2D (in 2D) or Cut Point 3D (in 3D) dataset and define that cut point (in 3D, as an example) using the following x, y, and z coordinate values:
maxop1(h1,x)
maxop1(h1,y)
maxop1(h1,z)
Then add a Point Evaluation node, and in its settings, choose the Cut Point 2D or Cut Point 3D dataset as the dataset to use, and then enter h2
in the Expression column to evaluate it at that point.
Best regards,
Magnus
Hi Alexandra,
One way of doing this, is to add a **Cut Point 2D** (in 2D) or **Cut Point 3D** (in 3D) dataset and define that cut point (in 3D, as an example) using the following *x*, *y*, and *z* coordinate values:
maxop1(h1,x)
maxop1(h1,y)
maxop1(h1,z)
Then add a **Point Evaluation** node, and in its settings, choose the Cut Point 2D or Cut Point 3D dataset as the dataset to use, and then enter `h2` in the **Expression** column to evaluate it at that point.
Best regards,
Magnus
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
4 mars 2022, 08:38 UTC−5
Hello Magnus,
Thank you very much for the answer!
Still I have a problem, because the position (x) where h1 is maximum changes over time and by adding a Cut Point 1D (because h1 and h2 depend only on x-coordinate) COMSOL calculates h1 and h2 at a specific point. I want to calculate my two variables, h1 and h2, at the point where maxop1(h1,x) applies, which position changes over time.
Thanks,
Alexandra
Hello Magnus,
Thank you very much for the answer!
Still I have a problem, because the position (x) where h1 is maximum changes over time and by adding a Cut Point 1D (because h1 and h2 depend only on x-coordinate) COMSOL calculates h1 and h2 at a specific point. I want to calculate my two variables, h1 and h2, at the point where maxop1(h1,x) applies, which position changes over time.
Thanks,
Alexandra