koendv / hyp2mat

Import Hyperlynx Boardsim files to openEMS, an open source 3D full-wave electromagnetic field solver.
GNU General Public License v3.0
13 stars 11 forks source link

Is "hyp2mat" simulation tested on Octave? #12

Open prabhakarkr opened 6 years ago

prabhakarkr commented 6 years ago

Hi,

I have tried fullfilling all the recommendation on web to simulate "hyp2mat" tutorial. However, I am not able to proceed with the following command

CSX = ImportHyperLynx(CSX, 'msl.HYP'); error: 'ImportHyperLynx' undefined near line 1 column 7

I am using Octave 4.2.1 with openEMS 64 bit Windows. pls help

Thanks

koendv commented 6 years ago

OK. In addition to: addpath('D:/openEMS/matlab'); also do: addpath('D:/openEMS/hyp2mat/matlab'); % hyp2mat package

Does this solve the problem?

koen

On Nov 16, 2017, at 12:30 PM, prabhakarkr notifications@github.com wrote:

Hi,

I have tried fullfilling all the recommendation on web to simulate "hyp2mat" tutorial. However, I am not able to proceed with the following command

CSX = ImportHyperLynx(CSX, 'msl.HYP'); error: 'ImportHyperLynx' undefined near line 1 column 7

I am using Octave 4.2.1 with openEMS 64 bit Windows. pls help

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

koendv commented 6 years ago

Maybe you have to add D:/openEMS/hyp2mat/ to your PATH too, to find hyp2mat.exe

koen

On Nov 16, 2017, at 12:30 PM, prabhakarkr notifications@github.com wrote:

Hi,

I have tried fullfilling all the recommendation on web to simulate "hyp2mat" tutorial. However, I am not able to proceed with the following command

CSX = ImportHyperLynx(CSX, 'msl.HYP'); error: 'ImportHyperLynx' undefined near line 1 column 7

I am using Octave 4.2.1 with openEMS 64 bit Windows. pls help

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

prabhakarkr commented 6 years ago

I have added those pathss. I have added "C:\openEMS\hyp2mat\" to my system path aswell (may installation directories for both opemEMS and octave is "C:\") Now the erro is- command: "c:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" Can't open input file msl.HYP error: error executing "c:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" error: called from ImportHyperLynx at line 190 column 5

Thanks

koendv commented 6 years ago

What if in octave you do a "cd openEMS/hyp2mat/eagle/tutorial" first?

On Nov 17, 2017, at 6:10 AM, prabhakarkr notifications@github.com wrote:

I have added those pathss. I have added "C:\openEMS\hyp2mat" to my system path aswell (may installation directories for both opemEMS and octave is "C:") Now the erro is- command: "c:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" Can't open input file msl.HYP error: error executing "c:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" error: called from ImportHyperLynx at line 190 column 5

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

prabhakarkr commented 6 years ago

Hello Koen,

Thanks a lot for the support so far! I am able to use openEMS on Octave.

However, with respect to openEMS tutorial- http://openems.de/index.php/Tutorial:_Importing_with_hyp2mat

I guess there are still a few dependencies I may need to overcome (attached warnings and error screen-shot). I have installed “ParaView 5.4.1-822-g597adef”

Pls help

Regards Prabhakar Kumar ON Semiconductor Tech Ind Pvt Ltd RF ConnectivityTeam

From: Koen De Vleeschauwer [mailto:notifications@github.com] Sent: Friday, November 17, 2017 4:36 PM To: koendv/hyp2mat Cc: Prabhakar Kumar; Author Subject: Re: [koendv/hyp2mat] Is "hyp2mat" simulation tested on Octave? (#12)

What if in octave you do a "cd openEMS/hyp2mat/eagle/tutorial" first?

On Nov 17, 2017, at 6:10 AM, prabhakarkr notifications@github.com<mailto:notifications@github.com> wrote:

I have added those pathss. I have added "C:\openEMS\hyp2mat" to my system path aswell (may installation directories for both opemEMS and octave is "C:") Now the erro is- command: "c:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" Can't open input file msl.HYP error: error executing "c:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" error: called from ImportHyperLynx at line 190 column 5

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_koendv_hyp2mat_issues_12-23issuecomment-2D345214631&d=DwMFaQ&c=MHZppzMdXMt3JYjCV71UsQ&r=Da5MddG9FUvcRZ_gRAsPulcPua3PjQ09RCFiOIse-oQ&m=DmyjhRLlcycShgDC2M5CESA7tQVmiJMByjUUngZ282Y&s=vsyH8nmNHIVje4ce1fha3BIxCeq4eSeBnwMFKrE8svs&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ANpMpYI-2DbIN9D-5FitVZrcYbmwVgDoZsZeks5s3WiPgaJpZM4QgWUF&d=DwMFaQ&c=MHZppzMdXMt3JYjCV71UsQ&r=Da5MddG9FUvcRZ_gRAsPulcPua3PjQ09RCFiOIse-oQ&m=DmyjhRLlcycShgDC2M5CESA7tQVmiJMByjUUngZ282Y&s=rQ2F9oqN6mD2EvBylvWcGxBS5D8uLl3o466NDEpxn60&e=.

prabhakarkr commented 6 years ago

Hi,

I am done till- mesh = SmoothMesh(mesh, resolution);

However once I run the above command, I get "warning: division by zero"

Should I edit the hyperlynx file given in tutorial along with openEMS (my boards output seems defferent than swoen on web) or generate a fresh hypelynx file. I am using Altium Designer currently.

Thanks

screen-shot1.docx

koendv commented 6 years ago

Could you show the hyperlynx file?

koen

On Nov 22, 2017, at 4:40 AM, prabhakarkr notifications@github.com wrote:

Hi,

I am done till- mesh = SmoothMesh(mesh, resolution);

However once I run the above command, I get "warning: division by zero"

Should I edit the hyperlynx file given in tutorial along with openEMS (my boards output seems defferent than swoen on web) or generate a fresh hypelynx file. I am using Altium Designer currently.

Thanks

screen-shot1.docx

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

prabhakarkr commented 6 years ago

Hi Koen,

Pls find attached the hyperlynx file. It’s the same what is supplied along with openEMS\hyp2mat\eagle\tutorial I am getting the following after running -

CSX = ImportHyperLynx(CSX, 'msl.HYP'); command: "C:/openEMS/hyp2mat/matlab..\hyp2mat.exe" --verbose --output-format csxcad --output pcb.m "msl.HYP" board size: x = 0.00 : 20.00 mm y = 0.00 : 20.00 mm z = 0.00 : 1.84 mm layers: signal 35.56 um eps_r 1.00 'Top' dielectric 0.32 mm eps_r 4.80 'DL01' signal 35.56 um eps_r 4.80 'Bottom' dielectric 1.52 mm eps_r 4.80 'DL02'

However, in the tutorial page- http://openems.de/index.php/Tutorial:_Importing_with_hyp2mat it outputs as- loading msl.HYP copper: Top = 35.56 um copper: Bottom = 35.56 um epsilonr = 4.8 board: x = 0 : 20 mm y = 0 : 20 mm z = 0 : 1.8717 mm

Thanks

From: Koen De Vleeschauwer [mailto:notifications@github.com] Sent: Wednesday, November 22, 2017 12:46 PM To: koendv/hyp2mat Cc: Prabhakar Kumar; Author Subject: Re: [koendv/hyp2mat] Is "hyp2mat" simulation tested on Octave? (#12)

Could you show the hyperlynx file?

koen

On Nov 22, 2017, at 4:40 AM, prabhakarkr notifications@github.com<mailto:notifications@github.com> wrote:

Hi,

I am done till- mesh = SmoothMesh(mesh, resolution);

However once I run the above command, I get "warning: division by zero"

Should I edit the hyperlynx file given in tutorial along with openEMS (my boards output seems defferent than swoen on web) or generate a fresh hypelynx file. I am using Altium Designer currently.

Thanks

screen-shot1.docx

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_koendv_hyp2mat_issues_12-23issuecomment-2D346263488&d=DwMFaQ&c=MHZppzMdXMt3JYjCV71UsQ&r=Da5MddG9FUvcRZ_gRAsPulcPua3PjQ09RCFiOIse-oQ&m=saTePvSTX6lCpumYfkcy5YqGPenQQT9Ov50V9NNV-JQ&s=jWaGnJV_Cu4XoZLj4Hj8d6ogbtNeDgeMOX06fg206h0&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ANpMpWUkAHlJkTvAb95Am-2DSVcqeCiXdGks5s48pFgaJpZM4QgWUF&d=DwMFaQ&c=MHZppzMdXMt3JYjCV71UsQ&r=Da5MddG9FUvcRZ_gRAsPulcPua3PjQ09RCFiOIse-oQ&m=saTePvSTX6lCpumYfkcy5YqGPenQQT9Ov50V9NNV-JQ&s=rcBzcymdKf1BvsljSb_NDocnTBSoYT73n8M-Rd4KE3E&e=.