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.

Using General PDE interface to solve Navier-Stokes equation

Please login with a confirmed email address before reporting spam

Hi

I am working on a project that needs me to use a compressible Navier Stokes solver with bulk viscosity involved. Since there is no such option in the COMSOL fluid model, I believe using PDE interface to create my own Navier-Stokes equation is the only option I left. So I want to start from generating incompressible N-S equation first.

There were several discussion talked about this in the forum.
www.comsol.com/community/forums/general/thread/22187/#p273132
www.comsol.com/community/forums/general/thread/38038/

After following their instruction I have no problem to set up 2 momentum equation PDE for "u" and "v", 1 continuity equation PDE with the pressure defined as the dependent variable and use linear Lagrange shape function.

However, these setting only works for a flow with velocity inlet boundary condition. If I want to simulate a pressure driven pipe flow with pressure inlet, which means setting inlet Dirichlet boundary conditions at that continuity equation PDE ( pressure defined ). the flow pattern is incorrect.

I will be very appreciated if someone can give me some instruction on this problem.

Best
Di Shen

0 Replies Last Post 6 sept. 2016, 14:42 UTC−4
COMSOL Moderator

Hello Di Shen

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.