Applying dirichlet bc on derived quantity

Asked by Praveen C

Hello

I have a system of two equation with two unknowns, say "rho" and "m" = rho*u.

I am solving for rho and m but the BC is specified in terms of u. Is it possible to apply such a BC ?

In finite volume, I would update rho at boundary cell and set m = rho*u for the second variable (i.e., dont update m on the boundary).

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Praveen C
Solved:
Last query:
Last reply:
Revision history for this message
Praveen C (cpraveen) said :
#1

I changed my approach to solve this problem.