This page describe how to use built-in function for probe electric, magnetic, voltage and current fields.
【checked ☑E,H,V,I (FFT)】
and then using the function to probe the fields. If input correct, there will output the file
【Data_ProbeFields.csv 】
example:
probe_electric(1,:)=[x1,x2,y1,y2,z1,z2,direction];
the 1 means the probe electric field number 1
%------------探測電場 1 Probe Electric 1------------% direction 1(Ex),2(Ey),3(Ez),4(|E|)direction=3;x1=icenter-1;x2=icenter-1;y1=jcenter-1;y2=jcenter;z1=kcenter-1;z2=kcenter+1;probe_electric(1,:)=[x1,x2,y1,y2,z1,z2,direction];%---------------------------------- he probe electric field has no directionality.
%------------探測磁場 1 Probe Magnetic 1------------% direction 1(Hx),2(Hy),3(Hz),4(|H|)direction=1;x1=icenter-1;x2=icenter+1;y1=jcenter-1;y2=jcenter;z1=kcenter-1;z2=kcenter-1;probe_magnetic(1,:)=[x1,x2,y1,y2,z1,z2,direction];%---------------------------------- he probe magnetic field has no directionality.
%------------探測電流 1 Probe Current I 1------------% direction 1(+Ix),2(+Iy),3(+Iz),4(-Ix),5(-Iy),6(-Iz)direction=3;x1=icenter-1;x2=icenter-1;y1=jcenter-1;y2=jcenter;z1=kcenter-1;z2=kcenter+1;probe_currents(1,:)=[x1,x2,y1,y2,z1,z2,direction];%---------------------------------- the probe current has directionality, in this example is +z.
%------------探測電壓 Probe Voltage 1------------% direction 1(+Vx),2(+Vy),3(+Vz),4(-Vx),5(-Vy),6(-Vz)direction=2;x1=icenter-1;x2=icenter-1;y1=jcenter-1;y2=jcenter+1;z1=kcenter-1;z2=kcenter+1;probe_voltages(1,:)=[x1,x2,y1,y2,z1,z2,direction];%---------------------------------- the probe current has directionality, in this example is +y.