Mercurial > repos > public > sbplib
changeset 724:a9e8c9d71307 feature/poroelastic
Modify penalty for Neumann in Head2d so that data is for normal derivative and not u_x or u_y.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 14 Mar 2018 13:04:25 -0700 |
parents | 60eb7f46d8d9 |
children | e9e15d64f9f9 |
files | +scheme/Heat2dVariable.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/Heat2dVariable.m Thu Feb 15 16:38:36 2018 -0800 +++ b/+scheme/Heat2dVariable.m Wed Mar 14 13:04:25 2018 -0700 @@ -188,7 +188,8 @@ % Free boundary condition case {'N','n','neumann','Neumann'} closure = -nj*Hi*e{j}*kappa_gamma*H_gamma*(d{j}' ); - penalty = nj*Hi*e{j}*kappa_gamma*H_gamma; + penalty = Hi*e{j}*kappa_gamma*H_gamma; + % penalty is for normal derivative and not for derivative, hence the sign. % Unknown boundary condition otherwise