TAGGED: -Ansys-Maxwell-electronics
-
-
April 24, 2024 at 12:06 pm
Jelte van Luenen
SubscriberFor my project, I am extracting the B_vector information using the fields calculator from ansys Maxwell 2021 R1. In post-processing, I want to find the average B_vector (average for each of the vector elements) over a certain part of the geometry. Is there a way to find the size of the mesh elements given by the fields calculator such that I can take the weighted average to compensate for some mesh elements being larger than others?Â
The data contains columns for [x-coordinate, y-coordinate, z-coordinate, b_x, b_y, b_z]. A small sample:
Vector data "SurfaceValue(Surface(AllObjects), B_Vector)"
NumElems 36569.6056089393257701e-02 5.3639681988800397e-02 0.0000000000000000e+00 1.7142683516020780e+00 9.9767139872533850e-01 0.0000000000000000e+009.4086033622851006e-02 5.3410703276034498e-02 0.0000000000000000e+00 1.7218518778208884e+00 9.8958311399298859e-01 0.0000000000000000e+009.5268805810850204e-02 5.5003246375166348e-02 0.0000000000000000e+00 1.7120729398496055e+00 9.8845994771479428e-01 0.0000000000000000e+00Does anyone know of a way to do this averaging? I do not want to calculate the average inside the field calculator since this will limit my post-processing later on.Â
Â
Kind regards
Â
-
April 29, 2024 at 6:26 pm
GLUO
Ansys EmployeeHi,
No, you can only find the volume/size of object in field calculator, not a mesh element. Please calculate the size of mesh element using the exported data. You can click output>>write to get the node position and B vector.
GL
-
April 29, 2024 at 6:39 pm
Jelte van Luenen
SubscriberHi GLUO,
Thanks for your reply. Do you know of any smart way to determine the size of the nodes?Â
Since only the coordinates of a node and the quantity magnitude are given it is not trivial how dense the nodes are in a certain region and this is not constant over a single object.ÂKind regards
Â
-
April 29, 2024 at 6:43 pm
GLUO
Ansys EmployeeNo. There might be helpful script for similar type of problem on github.
GL
-
April 30, 2024 at 9:03 am
Jelte van Luenen
SubscriberI have found an alternative solution by creating a regular grid on the surface and interpolating the data on that grid.Â
Thanks for your help!
-
- The topic ‘Getting mesh element size information’ is closed to new replies.
- Ansys Maxwell 3D – eddy current
- Maxwell circuit – PWM
- Plotting Ex, Ey and Ez in vector forms individually
- Simplorer+Maxwell Cosimulation results and Maxwell results mismatch
- Compute near field simulation with current
- Ansys-MATLAB Co-Simulation
- Y wiring method and the start and end points of winding.
- Ansys Resonance simulatioin error
- Calculating E-field tangential to a 2D resonant structure on a sapphire chip
- How does Ansys Twin Builder implement different simulation steps for subcircuits
-
2337
-
925
-
599
-
591
-
527
© 2025 Copyright ANSYS, Inc. All rights reserved.