Skip to content

Reply To: IndicatorCuboid2D : Need extra Explanation

#5426
at8i
Participant

Another Question popped up today .Is below code a valid operation in OpenLB:

IndicatorCircle2D<T> Circle1(center , radius);
IndicatorCircle2D<T> Circle2(center , radius2);

IndicatorIdentity2D<T> shell(Circle2 - / + / . Circle1);

I get an error if I do any of these operations and I am trying to use venturi3d’s approach in
User-guide to set up my geometry.
Now let’s say after solving the problem and the getting a “shell”. Will this code work(using shell as a condition indicator in rename method):

SuperGeometry.rename(4,2,1,shell);

Kind Regards,
Amir Toosi