Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use example script #1

Closed
KhazAkar opened this issue Mar 19, 2019 · 5 comments
Closed

Can't use example script #1

KhazAkar opened this issue Mar 19, 2019 · 5 comments

Comments

@KhazAkar
Copy link

OS: OpenSUSE Tumbleweed
Octave 5.1.0
openEMS 0.0.35
openEMS FDTD startup Using Octave script files error: 'physical_constants' undefined near line 24 column 1 error: called from simulation_script at line 24 column 1 octave:1>

@jcyrax
Copy link
Owner

jcyrax commented Mar 21, 2019

You need to add OpenEMS matlab share to your octave path. I have made file .octaverc in my home directory

addpath('/home/janis/ProjectsContrib/openEMS/out/share/openEMS/matlab')
addpath('/home/janis/ProjectsContrib/openEMS/out/share/CSXCAD/matlab')

physical_constants is defined in OpenEMS, it's used in octave scripts so that's why the complaint.

@KhazAkar
Copy link
Author

Ok, now worked, but It is normal to close AppCSXCAD to perform simulations by OpenEMS?

@jcyrax
Copy link
Owner

jcyrax commented Mar 21, 2019

Yes, thats how its done in examples, so you could verify that geometry is ok, before waiting long time to complete simulation. If you don't need that, just edit octave script file. There is CSXGeomPlot call somewhere inside.

@jcyrax jcyrax closed this as completed Mar 30, 2019
@mfaccin
Copy link

mfaccin commented Nov 20, 2019

Warning: No primitives found in property: box_material!
Warning: No primitives found in property: drill_fill!

@jcyrax, I got these two warnings trying to run the examples. How to solve/add these primitives?

@jcyrax
Copy link
Owner

jcyrax commented Nov 30, 2019

@mfaccin, next time open new issue instead!
Regarding your question, this is just a warning OpenEMS gives to inform that there are no conductors in specified materials. In examples this is no problem. For your own simulations, this can be helpful hint to know something may be wrong with geometry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants