Hi, Just downloaded v1.1 and was going through the momentum equation (velocity.c BuildMomentumMatrix)but the gradp(p) that should be in the source term seems to be commented out. I can't see where the grad(p) comes into discretisation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can remove the comments and test adding the pressure gradient to the momentum. It has been commented out because it leads to velocity oscillations in some cases.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Just downloaded v1.1 and was going through the momentum equation (velocity.c BuildMomentumMatrix)but the gradp(p) that should be in the source term seems to be commented out. I can't see where the grad(p) comes into discretisation?
You can remove the comments and test adding the pressure gradient to the momentum. It has been commented out because it leads to velocity oscillations in some cases.