Message Boards Message Boards

0
|
312 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Regarding the boundary conditions in square cavity problem

Posted 19 days ago

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
image for the cavity problem

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.

POSTED BY: Nithiya V
3 Replies

find straight-line eq of each edge, then the condition for them would be a x + b == y

POSTED BY: Mohammad Bahrami
Posted 10 days ago

Thank you for your reply. I defined that and even though I'm not getting it sir

POSTED BY: Nithiya V

do you have the answer for the case that is not rotated?

POSTED BY: Mohammad Bahrami
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract