Dirichlet boundary for a normal component of field variable!

Numerical methods and mathematical models of Elmer
Post Reply
suren
Posts: 18
Joined: 17 Nov 2009, 18:38

Dirichlet boundary for a normal component of field variable!

Post by suren »

Hi all,

I am trying to solve Stokes equation with my own subroutine... the coordinate system is "2-D Cartesian"... in one of the boundaries, I need to set "normal component of velocity" to zero... I tried, but couldn't get it right... A part of .sif for that particular boundary looks like-

Boundary 1
...
Normal-Tangential Velocity = True !!! It should set Normal-Tangential coordinate system active (via SolverUtils)
Velocity 1 = 0.0 !!! In Normal-Tangential coordinate, Velocity 1 = Normal comp. of velocity
...
End

I simply updated this boundary by doing "CALL DefaultDirichletBCs()"... I don't think this CALL to subroutine DefaultDirichletBCs (in DefUtils) captures the BC given above... I seek for your help to fix this problem...

thanking you,
suren.
Post Reply