TAGGED: -Ansys-Maxwell-electronics
-
-
April 24, 2024 at 12:06 pmJelte van LuenenSubscriber
For 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 pmGLUOAnsys Employee
Hi,
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 pmJelte van LuenenSubscriber
Hi 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 pmGLUOAnsys Employee
No. There might be helpful script for similar type of problem on github.
GL
-
April 30, 2024 at 9:03 amJelte van LuenenSubscriber
I 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.
- HFSS Incident Plane Wave excitement mode
- Question for Maxwell
- Simulation of capacitor combining eddy currents with displacement currents
- How to calculate eddy and hysteresis losses of the core?
- How to calculate capacitance using Fields Calculator in HFSS?
- Ansys Maxwell 3D – eddy current
- How to determine initial position in motion setup
- Leakage inductance realization in transformer
- dq graph non-conformity
- How to customize pulse waveform and injection site in microstrip array
-
1141
-
471
-
468
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.