Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/samples/netgen/TwoBallsInBall.geo
3204 views
#
# a large ball with two smaller balls cut off
#
algebraic3d

solid smallballs = sphere (-1.0, 0.0, 0.0; 0.5)
           or sphere (1.0, 0.0, 0.0; 0.5);

solid bigball = sphere (0.0, 0.0, 0.0; 5.0);

solid rest = bigball and not smallballs;

# two sub-domains (or one now)
#tlo smallballs -col=[1,0,0];
tlo rest -col=[0,0,1] -transparent;