Hi,
I have spent hours and hours to no avail. Maybe somebody has an idea how
to do this:
From data on an irregular grid representing an electric field (squared)
I want to calculate the energy density. I have created an object with
faces, edges and loops from the sample geometry containing the
dielectric constant as data. Only thing to do now is to multiply both
objects, I thought...
But for this, of course, the faces have to be mapped onto the grid of
the electric field data so both objects are compatible for arithmetic
operations.
Just refining and mapping using the DX Refine and Map modules doesn't
yield satisfactory results at all. The k (dielectr. const.) data is
interpolated and thin layers (I do simulation work on semiconductor
interconnect structures) become washed out completely).
What else I have tried:
-triangulating the faces
-finding the closest match for positions (Using "Regrid" with E-field
positions as data input and refined k positions as grid input, this way
I get a lookup table for positions that are "on-grid")
-calculating new connections for the triangulated faces on the bases of
the E-field positions using the lookup table
replacing the the E-field connections and data component with the k data
and the recently calculated connections.
-so far it looks good
-with DX "Post" module setting the data dependency to positions
... which again leads to interpolation which is not intended, but I need
position dependence so the data component length is the same as that
from the E-field.
Using "Isolate" prior to "Post" unfortunately removes yet idle
positions. I am just going round and round.
There must be a solution to this. I am sure there are more applications
like this which make use of geometry data that typically come in faces,
edges & loops format and data maps on grids.
How do I make both compatible with "Compute"?
Any help is greatly appreciated.
Regards,
Matthias.