Navier stokes and pressure on objects

Click For Summary

Discussion Overview

The discussion revolves around the pressure distribution in a 2D flow around a corner, specifically in the context of solving the Navier-Stokes equations using finite element methods (FEM) in flexPDE. Participants explore the incorporation of pressure in the modeling process and the implications of using different approaches, such as Bernoulli's principle and compressibility considerations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses uncertainty about how to incorporate pressure into their FEM solution for Navier-Stokes equations, noting conflicting advice from their supervisor and software examples.
  • The supervisor suggests using Bernoulli's dynamic pressure, but the participant questions its applicability, particularly regarding the "no slip" condition at the wall and the need for static pressure in the system.
  • Another participant proposes an incompressible case approach, presenting equations that relate pressure to velocity fields and suggesting that conventional CFD software may not calculate pressure in the same manner.
  • There is a discussion about including pressure as a dependent variable, with questions raised about the number of equations needed to solve for multiple unknowns, including velocity components and pressure.
  • Further clarification is sought on how to eliminate pressure from the equations and the identity that results from such elimination.
  • One participant recommends checking existing codes and suggests using COMSOL Multiphysics or a specific MIT resource for guidance on solving Navier-Stokes equations.

Areas of Agreement / Disagreement

Participants express differing views on the appropriate methods for incorporating pressure into the flow model, with no consensus reached on the best approach. There is ongoing uncertainty regarding the application of Bernoulli's principle and the treatment of pressure as a dependent variable.

Contextual Notes

Participants note limitations in their understanding of the mathematical transitions between equations and the assumptions involved in the modeling process, particularly regarding compressibility and the treatment of pressure in the equations.

Halitus
Messages
2
Reaction score
0
Hi every one, I am having a few problems with some research I am doing. I put this in the PDE section as it seams related, but it is for a specific application and I am not sure that it wouldn't be better suited to the mechanical engineering section.

I am wanting to find the pressure distribution in a 2d flow that moves around a corner (ie bend in a pipe)
I have been using flexPDE to solve naiver stokes with FEM. however, i am unsure how to incorporate pressure.
the software examples do one thing my supervisor suggests another.



First my supervisor is saying to use Bernoulli dynamic pressure. But i feel he is confusing something as that is more related to potential pressure rather than actual

pressure. also due to "no slip" the pressure on the wall would always be 0.
also not to mention using this alone mean the software can close on a solution.
I suspect we need to solve for the static pressure in the system but I don't know how.

secondly the software examples assume slight compressibility of the fluid.
they give:

defining a hypothetical equation of state

1) p(dens) = p0 + L*(dens-dens0)

" where p0 and dens0 represent a reference density and pressure, and L is a large
number representing a strong response of pressure to changes of density. L is
chosen large enough to enforce the near-incompressibility of the fluid, yet not
so large as to erase the other terms of the equation in the finite precision
of the computer arithmetic."

The compressible form of the continuity equation

2) dt(dens) + div(dens*U) = 0

(U is a velocty vector field it seams, and dt(dens)= ddens/dt, i am unsure what they mean by p(dens))

they then do some magic and come out with

dt(p) = -L*dens0*div(U)

=

3) div(grad(p)) = M*div(U)


what I understand is vaguely how they formed the first and second equation, and how they got from dt(p)= div(grad(p))

I don't understand how to get from 1 and 2 to 3, or how to get usable real world value predictions from this as L / M is assumed
I suspect that this is only used to find a vague distribution and to enforce continuity in the equation.


any help in unraveling this for me would be much appreciated thank you in advance

Phill
 
Physics news on Phys.org
For the incompressible case, you can use:
[tex]\nabla_{i}\cdot [u_{i,t}+u_{j}\nabla_{j}u_{i}]=\nabla_{i}[-p_{,i}/\rho+\nu \Delta u_{i}][/tex]
Then you have:
[tex]\Delta p=-\rho \nabla_{i}\nabla_{j} (u_{i}u_{j})[/tex]
But I'm quite sure conventional CFD software doesn't calulate pressure that way. Instead, it is included among the dependent variables
 
Hi gato thanks for the reply.

Just to make sure i understand what you mean...
deltaP = -p div(uj ui) ?

also how would you include Pressure as a dependent variable? wouldn't you require 3 equations to solve for 3 unknowns? Vx Vy and P?

thanks
 
you DO have 3 equations:
[tex]u_{t}+uu_{x}+vu_{y}=-p_{x}/\rho+\nu\Delta u[/tex]
[tex]v_{t}+uv_{x}+vv_{y}=-p_{y}/\rho+\nu\Delta v[/tex]
[tex]u_{x}+v_{y}[/tex]
Eliminating p using third equation leads to the identity just stated. Anyhow, best way is to check how other people are doing that. There are lots of codes available. If you want to use a predefined one, use comsol multiphysics for example. If you want to do your own, you might try looking this
http://math.mit.edu/cse/codes/mit18086_navierstokes.pdf
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
10K