Hi Everybody,
I am using netgen quite extensively for my work.
I am using the similar following script for generation of my model.
algebraic3d
Example with two sub-domains:
cube dimension
solid cube = plane (0, 0, 0; 0, 0, -1)
and plane (0, 0, 0; 0, -1, 0)
and plane (0, 0, 0; -1, 0, 0)
and plane (10, 10, 10; 0, 0, 1)
and plane (10, 10, 10; 0, 1, 0)
and plane (10, 10, 10; 1, 0, 0);
sphere arrangement
solid sph = sphere (5.0, 5.0, 5.0; 2.0);
solid rest = cube and not sph;
tlo rest -transparent -col=[1,0,0] -maxh=0.52;
tlo sph -col=[0,0,1] -maxh=0.52;
#tlo cube -transparent -col=[1,0,0];
#tlo sph -col=[1,1,1];
Here, I can control mesh density globally by setting maxh value…
Now my question is that how can we control the mesh density at different region say at interface?
Any help would be appreciated. Thank you