I'm planning a simple electromagnetic analysis with WhitneyAVHarmonicSolver.
The computation of the model itself was done well but I had a problem with saving values.
To get mean value of magnitude of electric field and magnetic flux density, I wrote code below.
Code: Select all
Solver 3
Equation = SaveScalars
Procedure = "SaveData" "SaveScalars"
Variable 1 = Electric Field Re e
Operator 1 = body int mean
Mask Name 1 = probe
Variable 2 = Electric Field Im e
Operator 2 = body int mean
Mask Name 2 = probe
Variable 3 = Magnetic Flux Density Re e
Operator 3 = body int mean
Mask Name 3 = probe
Variable 4 = Magnetic Flux Density Im e
Operator 4 = body int mean
Mask Name 4 = probe
End
Comparing .dat file by savescalars with the field value, it seemed that the saved value was not the magnitude but x component of the field.
I guess
Code: Select all
Variable 1 = Electric Field Re e
Could anyone tell me how to save magnitude of vector values?
Satoshi