Hi everyone,
how can I create an initial condition of the type:
u_0 = 1, if 0.8<=x,y<=0.2
u_0 = 0, other cases
I am not finding in the documentation the if and else conditionals to create this type of condition.
Best regards,
Hi everyone,
how can I create an initial condition of the type:
u_0 = 1, if 0.8<=x,y<=0.2
u_0 = 0, other cases
I am not finding in the documentation the if and else conditionals to create this type of condition.
Best regards,
Hi,
you can use (multiple) IfPos functions to create your discontinuous initial condition.
Best,
Michael