Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Normalize field by value of the same field

$
0
0
Hi there,

what I'm trying to do is to divide the normE field that comes from a double parametric sweep solution by a (local) maximum of the same field, at best without exporting the data. It's a 2D Mode Analysis for EM-waves.

So far I managed to get the value I want to normalize with from a "Maximum" DataSet (the max node actually calculates the max of a CutLine2D, if that's of interest here). I can even plot the maxima together with the profile of the normE field, see attached image. All I need to know now is how to divide the normE coming from the solution dataset by the normE value coming from the maxium dataset. Something like "(solution2.emw.normE)/(max1.emw.normE)" as a plot expression should do it. I also tried the "Join DataSet" Node to join solution2 and max1, but I can't select the max1 node (probably because both solutions consist of completely different types of values...). Do you have any suggestions?

I feel like I'm overlooking something incredibly simple and all that is missing is a boring expression?!

best

Viewing all articles
Browse latest Browse all 26527

Trending Articles