Search found 1515 matches

by thorsten
Sat 07 Apr 2012, 17:39
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

Hello jam,

just keep the accuracy at 9 for the time being. It should be good enough...

regards
Thorsten
by thorsten
Sat 07 Apr 2012, 13:52
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

You found the solution, so you may have the honour :)

Let's hope they fix the bug quickly, should be easy enough... Maybe we should even send them a patch?

regards
Thorsten
by thorsten
Sat 07 Apr 2012, 09:28
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

Hi Seb, here is an example (on my Ubuntu Natty aka 11.04): octave:1> version ans = 3.2.4 octave:2> num2str(2e9,15) ans = 2000000000 octave:3> num2str(2.4e9,15) ans = -1894967296 octave:4> num2str(pi,15) ans = 3.14159265358979 really strange that it works for 2e9 and pi, but not for 2.4e9... regards ...
by thorsten
Fri 06 Apr 2012, 19:26
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

Hi,

sounds great to have this possibility.

But we still can't force anybody to use the newest version. So I think we need to check which Octave Version is used and use 9 for Octave < 3.6.1 and 15 for > 3.6.1
Accuracy 9 is working in almost all cases after all...

regards
Thorsten
by thorsten
Fri 06 Apr 2012, 19:10
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

Hi Seb, I tested mostly with 3.4.3, but 3.2.4 is working as well for all Tutorial examples. Just switching to 3.6.1 is easier said than done... Most people e.g. using Ubuntu down want to install Octave from source, they just take the version supplied by Ubuntu. And on Windows it is not guaranteed th...
by thorsten
Fri 06 Apr 2012, 19:05
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

Hi, so yes, I remembered correctly that I set this value to 9. I can reproduce this Octave bug with version 3.2.4 (which is default for Ubuntu 11.04) and also Version 3.4.3. So we have to keep this number at "9" for the time being... Is this bug gone for the latest Octave Version? Do we need to file...
by thorsten
Thu 05 Apr 2012, 09:19
Forum: Usage
Topic: How is "a" calculated in a function
Replies: 1
Views: 6125

Re: How is "a" calculated in a function

Hello jam, you can define functions that have access to the following predefined variables: x, y, z as the Cartesian coordinates rho, a, z as the cylindrical coordinates r,t,a as the spherical coordinates This means that a is the azimuth angle between the x-z-plane and the current coordinate... If y...
by thorsten
Thu 05 Apr 2012, 08:44
Forum: Usage
Topic: Why this message :Warning: Unused primitive (type: LinPoly)
Replies: 8
Views: 17863

Re: Why this message :Warning: Unused primitive (type: LinPo

With just a surface object, this should be impossible. What you should do is use a thin slab. E.g. a box with a thickness of 1 or 2 cells and rotate this box. Thereby you should hit enough E-fields to excite. I'm curious if all this works as you intent. Please keep me informed about your progress......
by thorsten
Mon 02 Apr 2012, 14:30
Forum: Usage
Topic: Why this message :Warning: Unused primitive (type: LinPoly)
Replies: 8
Views: 17863

Re: Why this message :Warning: Unused primitive (type: LinPo

Hello jam, keep in mind that an electric field excitation is taking place on the edges of an FDTD cell. Have a look at the FDTD article on Wikipedia for example. This means: Your primitive may be intersecting with a cell node, but it is more important that it intersects with an edge. For example, if...
by thorsten
Mon 02 Apr 2012, 09:45
Forum: Install
Topic: openEMS & Octave
Replies: 59
Views: 143439

Re: openEMS & Octave

Hi Seb, I'm not sure that this was your random number. I'm pretty sure that when I introduced the "vector2str" function I reduced that number to 9 because Octave gave me quite some trouble with higher numbers... But at the moment I cannot reproduce the problem... so we have to give this some testing...