thliebig / openEMS-Project

openEMS is a free and open electromagnetic field solver using the FDTD method.
356 stars 65 forks source link

Like to run OpenEMS on a patch antenna under Windows. #66

Closed TahhaR closed 1 year ago

TahhaR commented 1 year ago

Hello people, i created my own patch antenna and want to simulate it through OpenEMS but i get problems during or after a long while of simulation ( the last one lasted for more than one hour of copilation). I generate an automatic script with Freecad_to_OpenEMS_Export. I run the already existing examples and they ran easily and the Energy was not as the same as mine . So if you could help it would be nice. Thanks in advance. Ergebnis_Simulation

LubomirJagos commented 1 year ago

Hi, really depends on your script what you generated, since you use that GUI addon your simulation should be generated right in sense that it displayed in AppCSXCAD right (all parts were placed on correct place). Most common issue since energy is not decreasing could be that mesh is generated wrong, must be corssing PEC material, substrate, also maybe some of generated gridlines are too close to each other therefore timestep is too small. It would be more helpful to post at least screenshot of your antenna in AppCSXCAD or generated .m script

LubomirJagos commented 1 year ago

Looking that you opened this as issue is not right, you can post it into discussion, but this is not openEMS issue, openEMS is running fine, but your simulation is generated wrong, so if you can please close it here and create discussion topic for this.

TahhaR commented 1 year ago

Ok Thanks for the answer. i ll open a new discussion topic.

TahhaR commented 1 year ago

Hi,

I started the discussion if you want more infos don’t hesitate to ask o write me anytime. It’s the first time i start a discussion on Github 😆

On Fri 12. May 2023 at 19:19, Lubomir Jagos @.***> wrote:

Hi, really depends on your script what you generated, since you use that GUI addon your simulation should be generated right in sense that it displayed in AppCSXCAD right (all parts were placed on correct place). Most common issue since energy is not decreasing could be that mesh is generated wrong, must be corssing PEC material, substrate, also maybe some of generated gridlines are too close to each other therefore timestep is too small. It would be more helpful to post at least screenshot of your antenna in AppCSXCAD or generated .m script

— Reply to this email directly, view it on GitHub https://github.com/thliebig/openEMS-Project/issues/66#issuecomment-1546053684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWIBODYMHT7NJISADNPIELXFZWLJANCNFSM6AAAAAAX7Y7XTI . You are receiving this because you authored the thread.Message ID: @.***>

TahhaR commented 1 year ago

Hi Lubomir, can you please help me out to understand the Meshing, because i doubt on it and i have red that´s very important for OpenEMS. That´s why, i would do it manually. If you do have some examples please let me know. Thank you in advance and have a nice weekend. Best regards Tahhar from Github

Le ven. 12 mai 2023 à 19:19, Lubomir Jagos @.***> a écrit :

Hi, really depends on your script what you generated, since you use that GUI addon your simulation should be generated right in sense that it displayed in AppCSXCAD right (all parts were placed on correct place). Most common issue since energy is not decreasing could be that mesh is generated wrong, must be corssing PEC material, substrate, also maybe some of generated gridlines are too close to each other therefore timestep is too small. It would be more helpful to post at least screenshot of your antenna in AppCSXCAD or generated .m script

— Reply to this email directly, view it on GitHub https://github.com/thliebig/openEMS-Project/issues/66#issuecomment-1546053684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWIBODYMHT7NJISADNPIELXFZWLJANCNFSM6AAAAAAX7Y7XTI . You are receiving this because you authored the thread.Message ID: @.***>

TahhaR commented 1 year ago

Hello, Me again and now i get now an issue regarding to choose the right timesteps to let openEMS go through till the EndCriteria ( So from a Frequency pan from 100 till 1000 MHz ). Any Idea how can i calculate or approximate the right number and have the maximum points to see the S11 graph ? below the Pictures from the Octave compiler. I tried many cases but the compiler stopps runnig after a maximum of one step. Thanks

Capture_Excitation2 Excitation