Dear Sir/Madam,
While solving square cavity problem, I'm facing some issues.
After rotation of 30 degrees of the cavity at a center (0,0), how to give the boundary condition for the left wall as hot i.e., theta=1 and for left wall as cold i.e., theta=0 using Dirichlet condition
bc = {{DirichletCondition[\[Theta][x, y] == 1, x <= 0],
DirichletCondition[\[Theta][x, y] == 0, x <= 1],
DirichletCondition[{u[x, y] == 0, v[x, y] == 0}, True],
DirichletCondition[p[x, y] == 0, x <= 0 || y >= 0]}}
I have given like this but I don't know whether it is assigning correctly or not.