TAGGED: AnsysMaxwellelectronics


April 24, 2024 at 12:06 pmJelte van LuenenBbp_participant
For my project, I am extracting the B_vector information using the fields calculator from ansys Maxwell 2021 R1. In postprocessing, 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 [xcoordinate, ycoordinate, zcoordinate, b_x, b_y, b_z]. A small sample:
Vector data "SurfaceValue(Surface(AllObjects), B_Vector)"
NumElems 36569.6056089393257701e02 5.3639681988800397e02 0.0000000000000000e+00 1.7142683516020780e+00 9.9767139872533850e01 0.0000000000000000e+009.4086033622851006e02 5.3410703276034498e02 0.0000000000000000e+00 1.7218518778208884e+00 9.8958311399298859e01 0.0000000000000000e+009.5268805810850204e02 5.5003246375166348e02 0.0000000000000000e+00 1.7120729398496055e+00 9.8845994771479428e01 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 postprocessing 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 LuenenBbp_participant
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 LuenenBbp_participant
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!

 You must be logged in to reply to this topic.
 How to calculate the received power excited by nonport excitations?
 SLURM integration
 determining turn directions in cylindirical coil:clkwisecounterclkwise
 How to create Lumped RLC in HFSS to match Circuit? (Simulate load as Lumped RLC)
 Zo when applying bulk conductivity to the silicon substrate of finiteground CPW
 Help on calculating port impedance Zpv using Field calculator under HFSS please

421

192

178

162

141
© 2024 Copyright ANSYS, Inc. All rights reserved.