Search found 1507 matches

by thorsten
Mon 16 May 2022, 20:47
Forum: Usage
Topic: Python interface and port
Replies: 1
Views: 22

Re: Python interface and port

Well it always was the plan to make the python interface fully equal to the Matlab/Octave one... But it was always the plan that users could/would help on this too ;) So feel free to have a look at how the ports are done in general and I would happily have a look at your attempt ;) best regards Thor...
by thorsten
Sun 15 May 2022, 09:03
Forum: Install
Topic: Problem with qt version while installing
Replies: 2
Views: 21

Re: Problem with qt version while installing

Did you try the latest github version of openEMS?
Which vtk version is installed?
by thorsten
Sat 07 May 2022, 22:02
Forum: Usage
Topic: NaN in source after ~350 time steps
Replies: 3
Views: 180

Re: NaN in source after ~350 time steps

I can only imagine that the simulation got unstable... Do you use PML? Also make sure your time signal is band limited and your mesh is not to coarse for the highest frequencies...
by thorsten
Sat 07 May 2022, 22:00
Forum: Usage
Topic: Energy goes to infinity
Replies: 2
Views: 232

Re: Energy goes to infinity

The only thing that can really get unstable is the pml if reactive near fields hit it...
And a pml_8 is 8 cells thick. It looks like in z-direction it is way to close ...
by thorsten
Sat 07 May 2022, 21:58
Forum: Usage
Topic: Automatic meshing?
Replies: 2
Views: 190

Re: Automatic meshing?

I think the DetectEdges can do the third rule?
But in any case, why not define all necessary mesh positions in your script and only run smooth mesh over it?
What I usually do is create an object and the required mesh for it side by side...
by thorsten
Sun 03 Apr 2022, 11:47
Forum: Usage
Topic: Where can I find the minimum spatial step used in openEMS?
Replies: 4
Views: 754

Re: Where can I find the minimum spatial step used in openEMS?

A mesh must always be defined. But in the script you mention the simulation is setup by the external function/script "Patch_Antenna_Array.m".
Look out for the mesh definiton "DefineRectGrid" which is always the final step with the finished mesh definition...

regards
Thorsten
by thorsten
Sun 03 Apr 2022, 10:06
Forum: Install
Topic: Problem with CSXCAD and python interface
Replies: 4
Views: 1108

Re: Problem with CSXCAD and python interface

I want to reiterate, if you just want to use openEMS, I recomment using the premade scripts from github: git clone --recursive https://github.com/thliebig/openEMS-Project.git cd openEMS-Project ./update_openEMS.sh ~/opt/openEMS --python And I recommend not to install/use as root. Only if you really ...
by thorsten
Sun 03 Apr 2022, 10:04
Forum: Install
Topic: Problem with CSXCAD and python interface
Replies: 4
Views: 1108

Re: Problem with CSXCAD and python interface

I just noticed, did you build the CSXCAD python interface?? You need to build and install *both* the CSXCAD and openEMS python interfaces...
by thorsten
Sun 03 Apr 2022, 10:02
Forum: Install
Topic: Problem with CSXCAD and python interface
Replies: 4
Views: 1108

Re: Problem with CSXCAD and python interface

Hi, did you try to just follow the instructions on github? https://github.com/thliebig/openEMS-Project#readme In any case for each "module" you can create a file called "localConfig.cmake" (next to the main CMakeLists.txt with e.g. the following content (for openEMS). SET(WITH_MPI 0) SET(FPARSER_ROO...
by thorsten
Sun 03 Apr 2022, 09:51
Forum: Usage
Topic: Where can I find the minimum spatial step used in openEMS?
Replies: 4
Views: 754

Re: Where can I find the minimum spatial step used in openEMS?

Just do in your Octave script min(diff(mesh.x)) ?