-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulation of bent / non-planar Geometries #276
Comments
Hi Nico, Which version of Palace are you using? There were recently a few updates to the lumped element process to support more geometries (#248, #268), and it's possible that might have addressed your issues so if you pull from Hugh |
From looking at the visualizations Nico provided (cool model, by the way), I think this is actually an expected error. If you are bending the lumped port itself then you will not be able to correctly infer the geometric parameters (length, width) of the rectangular port from its bounding box. What I would suggest, if possible, is to consider the bending function as starting some nonzero distance down the transmission line so you have a planar segment at the start and end which keeps the lumped ports planar. Could this work? EDIT: Actually, as Hugh noted to me offline, if the bending direction doesn't affect the port "length" (distance between the conductors neighboring the port), then this model should be supported as is. Updating to |
Hey Hugh, hey Sebastian I used 0.13.0; but you two were right, switching to the main branch via Still, I will try to keep the lumped elements flat next time. Better safe then sorry. @sebastian: Thanks for the compliment! The only thing here is still that I don't get different results from the flat state, but that should be because of the radiation boundary that is also bent "shielding" the model from itself. I will try to create another model soon where I test this. I'm so happy to finally have found something to simulate this stuff via FEM so I can also use bent structures. I will take a look into compiling the code, maybe I can get everything to work and make a PR for the impedance calculation. best wishes, |
Great! I will go ahead and close this issue for now, feel free to reopen or open a new issue with further questions! Thank you Nico. |
Hey,
I need to simulate the RF parameters of bent circuits. I just started palace with the model depicted here (a coplanar waveguide with 2 ports on each end for excitation / measurement), but palace won't start because of the following error:
Verification failed: (bounding_box.planar) is false: --> Boundary elements must be coplanar to define a uniform lumped element! ... in function: palace::UniformElementData::UniformElementData(const std::array<double, 3>&, const mfem::Array<int>&, const mfem::ParMesh&) ... in file: /tmp/root/spack-stage/spack-stage-palace-0.13.0-i5ftsdnmoqoe5jmrsxt3w7ic2vdndov3/spack-src/palace/fem/lumpedelement.cpp:23
As it seems, this error only appears for the bounding box and not the ports. Would it be possible to simulate that model even with the conductor, substrate and ports being bent?
For clarity: This model was created by geometric transformation of a planar model I used before for experimentation that worked pretty well. For bending purposes, ALL coordinates were transformed, including the ones of the air cube and its boundary surface (the radiation boundary) as seen it picture 2. It should be possible to re-generate the whole model inside a fitting box that is completely coplanar; but as this involves some work, I want to make sure if it's possible to simulate bent models or if your work is (maybe after modification) usable just for flat geometries.
Thanks a lot in advance and have a great day! (:
Without air layer + radiation boundary:
With air layer + radiation boundary:
Planar model:
JSON file: (Parameters and coordinates here are not adjusted yet)
The text was updated successfully, but these errors were encountered: