Skip to content

Re: Material number 0.

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics Material number 0. Re: Material number 0.

#2417
robin.trunk
Participant

Hi aliiab,rnrnyou are usingrn

Quote:
IndicatorCircle3D<T> sphere(center, normVector, 0.5*sphereDiam);

rnfor your sphere. This creates just a disc in 3D, therefore no voxel gets the material number 0 assigned, since everything is surface.rnTo create a 3D-sphere, I suggest using IndicatorSphere3D<T> sphere(center, radius).rnrnBestrnRobin