Hello everyone.

It's about the level set method. So, I have defined the value of phils as 0 and 1 as shown in the attached figure. The interface is at phils =0.5 (automatically).

I want to define the Heaviside function(Smooth function) in terms of interface thickness. My interface thickness is 0.013mm.

Values of phils (0 or 1) are domain-driven but 0.5 is at the interface. When phils is 0.5, it means its acted on the interface.

How can I define this Heaviside function using piecewise function or if there is any other way?

Probelm: Suppose if I use a piecewise function, what would be my "start" and "end" point. Please see the attached figure. Bec at phils= 0.5, its the whole domain, how can I define start and end point on this.

Looking forward to your replies.

More Akash Meena's questions See All
Similar questions and discussions