FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FastHenry2
 About output file Zc.mat
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CHIA001

4 Posts

Posted - Feb 23 2022 :  12:41:55  Show Profile  Reply with Quote
Hello,
When I use FastHenry to caculate the inductance,I get a problem that the result of FastHenry's window is not the same as the output file Zc.mat.

EX:

The following is FastHenry input file

* FastHenry input file created using FreeCAD's ElectroMagnetic Workbench
* See ht*p://w*w.freecad.org, ht*p://w*w.fastfieldsolvers.com and ht*p://epc-co.com
.units mm
.default sigma=58000.0 nhinc=1 nwinc=1 rh=2 rw=2
* Nodes
NFHNode0 x=0 y=0.0 z=0.0
NFHNode1 x=0 y=100.000000 z=0.0

NFHNode2 x=1 y=0.0 z=0.0
NFHNode3 x=1 y=100.000000 z=0.0

NFHNode4 x=2 y=0.0 z=0.0
NFHNode5 x=2 y=100.000000 z=0.0

* Segments
EFHSegment0 NFHNode0 NFHNode1 w=0.200000 h=0.200000
EFHSegment1 NFHNode2 NFHNode3 w=0.200000 h=0.200000
EFHSegment2 NFHNode4 NFHNode5 w=0.200000 h=0.200000
* Ports
.external NFHNode0 NFHNode1
.external NFHNode2 NFHNode3
.external NFHNode4 NFHNode5
.freq fmin=1.000000 fmax=1.000000 ndec=1.0

.end


/////////////////////////////////////////////////////////

The follow ing is result of FastHenry's window

filling R and L...
Total Memory allocated: 64 kilobytes
Frequency = 1
Forming sparse matrix preconditioner..
conductor 0 from node nfhnode4
Calling gmres...
1 2 3
conductor 1 from node nfhnode2
Calling gmres...
1 2
conductor 2 from node nfhnode0
Calling gmres...
1 2 3

Computed matrices (R+jL)
Row 0: nfhnode0 to nfhnode1
Row 1: nfhnode2 to nfhnode3
Row 2: nfhnode4 to nfhnode5
Freq = 1
Row 0: 0.0431034+1.34278e-07j -1.85793e-26+8.61664e-08j -1.29247e-26+7.25019e-08j
Row 1: -1.37325e-26+8.61664e-08j 0.0431034+1.34278e-07j -8.07794e-27+8.61664e-08j
Row 2: -1.45403e-26+7.25019e-08j -6.46235e-27+8.61664e-08j 0.0431034+1.34278e-07j

All impedance matrices dumped to file Zc.mat

Times: Read geometry 0.134
Multipole setup 0.298
Scanning graph 0.033
Form A M and Z 0.052
form M'ZM 0
Form precond 0.0349998
GMRES time 0.549
Total: 1.101
/////////////////////////////////////////////////////


The following is the content in Zc.mat

Row 3: nfhnode4 to nfhnode5
Row 2: nfhnode2 to nfhnode3
Row 1: nfhnode0 to nfhnode1
Impedance matrix for frequency = 1 3 x 3
0.0431034 +8.43692e-07j -1.85793e-26 +5.41399e-07j -1.29247e-26 +4.55543e-07j
-1.37325e-26 +5.41399e-07j 0.0431034 +8.43692e-07j -8.07794e-27 +5.41399e-07j
-1.45403e-26 +4.55543e-07j -6.46235e-27 +5.41399e-07j 0.0431034 +8.43692e-07j
/////////////////////////////////////////////////


I have no idea why they not the same......

best,
ChiaChen Hu

CHIA001

4 Posts

Posted - Feb 23 2022 :  12:50:46  Show Profile  Reply with Quote
I'm sorry about that I ask a stupid question.
I check the "Help" document and know why it happen.

thanks,
ChiaChen Hu
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06