Search found 1364 matches

by thorsten
Sun 16 Feb 2020, 22:46
Forum: Usage
Topic: generate xml file from stl file in python
Replies: 3
Views: 89

Re: generate xml file from stl file in python

Hi, sorry must have missed your post. This works, but it is not how you are supposed to do it ;) Usually you create a material first and then just add an object from there. Something like this: CSX = ContinuousStructure() metal = CSX.AddMetal( 'metal' ) metal.AddPolyhedronReader(filename=os.path.abs...
by thorsten
Sun 09 Feb 2020, 16:20
Forum: Feedback
Topic: bug in InitFDTD 'MaxTime'
Replies: 5
Views: 130

Re: bug in InitFDTD 'MaxTime'

Hmm, what does the log say. It should be saying at the beginning to how many timestep the simulation was set if you request a max time.
by thorsten
Sun 09 Feb 2020, 16:18
Forum: Development
Topic: Time data in vtk dumps
Replies: 2
Views: 87

Re: Time data in vtk dumps

Hm,
it should be possible to add an attribute like this I guess.
But maybe you can extract the time-step (e.g. from filename?). The log should give you the factor (how long is one timestep).

regards
Thorsten
by thorsten
Sun 09 Feb 2020, 16:16
Forum: Development
Topic: How to create account and edit the wiki
Replies: 1
Views: 151

Re: How to create account and edit the wiki

Hi,

the wiki is shut down and what you can see is only a (read-only) copy for future reference.
I want to create a more modern doc, but I don't really find the time for it...

regards
Thorsten
by thorsten
Sun 09 Feb 2020, 16:14
Forum: Usage
Topic: Basic Question/Try with MSL
Replies: 2
Views: 52

Re: Basic Question/Try with MSL

Hi, I did not had a closer look at your model, but from the pictures I would assume that you did not change/adept the measurement plane shift of the MSL? Search for "MeasPlaneShift" in your script. It effectively tells openEMS how far from the end to measure voltages and currents on the MSL. From th...
by thorsten
Fri 31 Jan 2020, 08:48
Forum: Usage
Topic: Excitation of a resonator in polar coordinates.
Replies: 2
Views: 93

Re: Excitation of a resonator in polar coordinates.

I'm not sure what you mean or what is not working?? The wedges should not look like wedges? Or what do you mean?
by thorsten
Fri 31 Jan 2020, 08:45
Forum: Feedback
Topic: bug in InitFDTD 'MaxTime'
Replies: 5
Views: 130

Re: bug in InitFDTD 'MaxTime'

Well maybe the wording is misleading. Meant is only the FDTD time but in seconds. Thus your 10 hours would most likely run longer than the universe is old :D If you want to stop at some point, just create the (empty) file "ABORT" in the sim folder and openEMS will stop normally on the next check... ...
by thorsten
Sat 25 Jan 2020, 10:50
Forum: Usage
Topic: OverMode calculation on RF line
Replies: 1
Views: 131

Re: OverMode calculation on RF line

Hi, well if you can define the field distribution of the modes of interest, openEMS can calculate the scattering parameter for them (mode matching). If you need more infos on that let me know and/or study the matlab code for waveguide ports (e.g. line 30-46): https://github.com/thliebig/openEMS/blob...
by thorsten
Sat 25 Jan 2020, 10:45
Forum: Usage
Topic: Unexpected result after irradiating a PEC plate
Replies: 3
Views: 129

Re: Unexpected result after irradiating a PEC plate

That does not work like this.... A plane wave excitation tries to create a plane wave all inside its space. That means exciting a wave on all 6 sides with the right phase and timings etc. This is meant to irradiate e.g. an object to calculate its scattering. An object should not/cannot cut through t...
by thorsten
Sat 25 Jan 2020, 10:41
Forum: Usage
Topic: Problems calculating characteristic impedance for Microstrip line
Replies: 11
Views: 390

Re: Problems calculating characteristic impedance for Microstrip line

Hi, I think the important part can be found here: https://github.com/thliebig/openEMS/blob/master/matlab/calcTLPort.m#L106 or same here in python: https://github.com/thliebig/openEMS/blob/master/python/openEMS/ports.py#L307 The important part is to calculate beta and ZL from these 3 voltages and 2 c...