Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Different boundary conditions for dependent variables in PDE mode (coefficient form)
Posted 2012年10月11日 GMT-4 11:28 Version 4.2 1 Reply
Please login with a confirmed email address before reporting spam
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
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
1 Reply Last Post 2012年10月15日 GMT-4 08:22