Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Different boundary conditions for dependent variables in PDE mode (coefficient form)

$
0
0
Hi all,

I'm trying to solve a system of 4 PDEs on a rectangular box. My problem concerns the implementation of the boundary conditions. If I name my dependent variables, say u, v, w and p, then I want to implement dirichlet boundary conditions for the variables u, v and w. I found the Dirichlet boundary node and specified my conditions.
Nevertheless, for the variable p I need to implement something like: dp/dx = - (d^2 u)/(d x^2).

The zero flux condition doesn't seem right, especially because it applies to all variables (as far as I understand it).

So:
- Is there a way to specify the boundary conditions for each independent variable separately?
- What node has to be used to specify a condition as stated above?


It would be super awesome if someone could point me in the right direction.

Lothar

Viewing all articles
Browse latest Browse all 26527

Trending Articles