Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

CloseSurfaces gives segmentation fault

More
1 year 10 months ago #4392 by m49nus
Dear all,

I would like to make an anisotropic mesh of spherical shells, with a well-resolved radial direction. I try to do this with the
Code:
CloseSurfaces
method, but I get 
Code:
Segmentation fault (core dumped)
when I try. Below is an example code that results in this error. Any ideas?

All the best,
Magnus
Code:
import netgen.csg as csg import ngsolve as ng origin = csg.Pnt(0,0,0) inner = csg.Sphere(origin, 1.0) outer = csg.Sphere(origin, 1.5) shell = outer - inner geo = csg.CSGeometry() geo.Add(shell) geo.CloseSurfaces(inner, outer, domain=shell) mesh = geo.GenerateMesh(maxh=0.2) csg.ZRefinement(mesh, geo)
More
1 year 4 months ago #4574 by VienC
Hi,
I'm also interested in the problem. Did you manage to solve it?

Best,
VC
Time to create page: 0.119 seconds