FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FasterCap and FastCap2
 "Generic error, program stopped" using FastCap2
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

HallieHe

USA
4 Posts

Posted - Mar 26 2018 :  22:10:58  Show Profile  Reply with Quote
I am using FastCap2 to extract capacitance value of a certain geometry: a metal half sphere in a big dielectric sphere (e.g. air). I do get a correct 3D model from the FastModel viewer. But an error message pops up when I solve for the capacitance. I copied the error message as below. Could someone help me with this error?

=================Error Message===========================
3D Solver Engine invoked
Solution scheme (-g): Collocation, GMRES tolerance (-t): 0.005
Out-of-core free memory to link memory condition (-f): 5
Potential interaction coefficient to mesh refinement ratio (-d): 1
Mesh curvature (-mc): 3
Number of input panels to solver engine: 320

Iteration number #0 ***************************

***************************************
Refining the geometry..
Refinement completed
Mesh refinement (-m): 1e+032
***************************************
Computing the links..
Number of panels after refinement: 320
Number of links to be computed: 638
Done computing links
***************************************
Precond Type(s) (-p): Jacobi

Total allocated memory: 16575 kilobytes
Total time: 0.004000s (0 days, 0 hours, 0 mins, 0 s)

Error: Generic error, program execution stopped!

===============My code=======================
I edited based on the example "coated_sph.lst". The main .lst file is as below:

* radius 1 shell is the conductor
C halfsphere.txt 2.0 0.0 0.0 0.0
* radius 2 shell is the dielectric interface - air on the outside
D sphere_big2.txt 1.0 2.0 0.0 0.0 0.0 0.0 0.0 0.0

sphere_big2.txt is straight from the example with no change; I changed the original "sphere.txt" to "halfsphere.txt" in order to get a half sphere geometry. "halfsphere.txt" is essentially a list of Q sphere commands, such as:

Q sphere -0.000000 0.000000 0.000000 -0.031287 0.000000 0.000000 -0.029756 -0.009668 0.000000 -0.000000 -0.000000 0.000000

HallieHe

USA
4 Posts

Posted - Mar 26 2018 :  22:19:08  Show Profile  Reply with Quote
Never mind.. I solved the problem - turns out I had spaces before the first line of command in the "halfsphere.txt". Once I removed those spaces the code worked.

Hallie He
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