Builtin-Function & Examples
中文/English
Here are examples by using the builtin function to create simulation geometries.
Here are examples by using the builtin function to create simulation geometries.
instruction webpage: Built-in Function
instruction webpage: Built-in Function
Initializedgeometries
%=================矩形 Brick===========================
xstart=1*gdx;
xend=10*gdx;
ystart=1*dy;
yend=1*dy;
zstart=50*gdz;
zend=100*gdz;
nindex=1^2;
sigma=0;
choice='E_Model1'; %E_Iso,PEC,M_Iso,PMC,E_Model1,M_Model1,EM_Model1
gridtype=-1; %
Iso_Brick(choice,gridtype,nindex,sigma,xstart,xend,ystart,yend,zstart,zend)
%=================矩形 Brick===========================
Initializedgeometries : using this to initialize the geometries
gdx is (grid) dx variable, gdy = dy. gdz = dz;
ib= X grids, jb= Y grids, kb= Z grids;
icenter= ib/2; jcenter= jb/2; kcenter=kb/2;
The "choice" of the code is mean the material of the geometry
if choice
E_Iso: then nindex= (refractive index)^2 = epsilon_r
H_Iso: then nindex = mu_r
1. Checked the simulation material that will be used
2. Input the builtin function
3. Press the run button to execute the code
4. Checked out the geometries
5. If correct! then Press 【輸出 output】button to output the *.csv files.