Replies: 3 comments 1 reply
-
This will not work like this, but I'm not even sure the Error messages are even related to your metal objects? Firstly, just a surface cannot be imported. Every material object has to have a volume... The object looks more like a surface only? The error message relates to voltage integrals like in a port? I do not see how that relates to your STL-metal? |
Beta Was this translation helpful? Give feedback.
-
If the openEMS output is flooded with the following error message:
It means that openEMS is not able to calculate the voltage at a port because the port is located at on ill-defined position. This happens if the start and stop coordinates are different (i.e. not a 1D port), but the size is smaller than a single mesh cell (i.e. when the port is built from its start coordinate to its stop coordinate on each axis, it does not overlap with at least two mesh lines). For example, the following port is functional because it’s strictly a 1D port:
The following port is also functional because the 2D port passes (overlaps) with at least two mesh lines when it’s built from Z = -8 to Z = 8:
The following port is also functional, because although there is no mesh line at the stop position Z = 8.1, but the 2D port has already crossed at least one mesh cell (two mesh lines) when it’s built from Z = -8 to its stop coordinate:
But the following port is not functional, because the 2D port does not cross a single mesh cell (two mesh lines) when it’s built from Z = -8 to Z = -7.9. Although there’s a mesh line at Z = -8, there is no mesh line between Z = -8 and Z = -7.9.
ConclusionOn each axis, a port must either be one-dimensional and aligned to a mesh line, or two-dimensional and crosses (or overlaps) with two mesh lines (a single mesh cell). Otherwise it can't be simulated. Furthermore, a port's excitation direction must be two-dimensional. If the port excites the Z direction, it must have a length on the Z axis, satisfying the two constraints mentioned. |
Beta Was this translation helpful? Give feedback.
-
I'm confused. You have a single conductor sheet (curved), so what port are you trying to apply there? Waveguide port makes no sense because the zero thickness sheet isn't a hollow waveguide. Other ports also don't make sense, because they need to apply a signal between two conductors. So what are you tring to do here? That said, the mesh density in your screenshot is much to coarse to sample the curvature of your geometry. And regarding the STL file import issues ... if you generate the model yourself anyway, wouldn't it be easier to avoid the STL import, and create the entire model using openEMS geometry commands like AddLinPoly()? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to run a simulation with an imported, self-generated bent surface with a source.
Here is the image:
The shape is imported from an .stl file using the following code:
%% add geometry blender_model = '/test.stl'; CSX = AddMetal( CSX, 'copper' ); CSX = ImportSTL(CSX, 'copper',0, [currDir blender_model],'Transform',{'Scale', 1e4});
but when I execute RunOpenEMS(), I am getting a repeat error:
Engine_Interface_FDTD::CalcVoltageIntegral: Error, only a 1D/line integration is allowed Engine_Interface_FDTD::CalcVoltageIntegral: Error, only a 1D/line integration is allowed
anyone knows what that means or what could go wrong with my simulation?
Beta Was this translation helpful? Give feedback.
All reactions