CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Get pressure from velocity

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2014, 10:53
Default
  #81
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
Sure.

I was confused, please forget the two last posts I wrote nonsense..
samycfd is offline   Reply With Quote

Old   September 5, 2014, 05:20
Default
  #82
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
Hello,

I tried to discretize the problem using the approach you gave me.

To compute axd and adc in [(axd-axc)i+1/2 - (axd-axc)i-1/2]/dx, I need to discretize them - what I did - but I need some BC also ? because n.(ad-ac) is only for the final step ?

I am confused..
samycfd is offline   Reply With Quote

Old   September 5, 2014, 05:26
Default
  #83
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
No, just cancel out the terms in rhs and lhs of the equation when a section lies on a wall...You get a matrix with some lines modified according to neumann bc.s and the sourc e term modified congruently. That dose not imply You have fixed zero pressure normal derivative
FMDenaro is offline   Reply With Quote

Old   September 5, 2014, 05:30
Default
  #84
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
No that's not what I mean,

I have to compute that ( 1D )
[(dP/dx)i+1/2 - (dP/dx)i-1/2]/dx = [(axd-axc)i+1/2 - (axd-axc)i-1/2]/dx
with the BC : dp/dn = n.(ad-ac)

But first, I have to compute axd and axc. And for that on the edges I need some BC, no ? Do I just let 0 on the edges ?
samycfd is offline   Reply With Quote

Old   September 5, 2014, 06:27
Default
  #85
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Yes, use not permeable and no-slip bc.s
FMDenaro is offline   Reply With Quote

Old   September 5, 2014, 06:51
Default
  #86
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
this is only valid for the lid driven cavity, how to deal with that for an other flow ?
samycfd is offline   Reply With Quote

Old   September 5, 2014, 08:08
Default
  #87
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
I guess it's not a solvable problem. but still I could assume that the value on the boundary is the same as the closest value. ( zero-gradient condition)
samycfd is offline   Reply With Quote

Old   September 5, 2014, 09:39
Default
  #88
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
well, you can consider any type of bc.s, (inflow, outflow, etc), some details are here

http://onlinelibrary.wiley.com/doi/1...d.598/abstract
FMDenaro is offline   Reply With Quote

Old   September 23, 2014, 06:21
Default
  #89
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
Thank you again for all your help.

I would like to know from where come the relation dP/dn = n.(ad-ac) ?
It's the Helmholtz Hodge decomposition ?
samycfd is offline   Reply With Quote

Old   September 23, 2014, 07:16
Default
  #90
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Yes, correct
FMDenaro is offline   Reply With Quote

Old   September 24, 2014, 05:30
Default
  #91
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
I understood the definition of a projection operator which allows us to project any velocity field on his divergence free field. And then we apply this operator on Navier Stokes equation. But I don't understand the simplifications..

Here is the steady velocity field is w = - grad p - u(grad u) + mu lap u and then we compute P(w) ( P projection operator ) with hypothesis that div u = 0 ( divergence free) . But after I don't get it..to arrive to the pressure equation with BC
samycfd is offline   Reply With Quote

Old   September 24, 2014, 06:13
Default
  #92
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Just apply the divergence operator to all the terms in the steady momentum equation. This writes

Div Grad P = Div f


The key is that the momentum equation can be seen as the Hodge decomposition
FMDenaro is offline   Reply With Quote

Old   September 25, 2014, 03:44
Default
  #93
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
Okay , so there is an analogy between :
divgrad p = div f
and
div grad q = div w

( if w = v + grad q , the field we want to project with div v = 0 ) .
But I don't understand for which mathematical reason we could get the same BC for p.
samycfd is offline   Reply With Quote

Old   September 25, 2014, 04:54
Default
  #94
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by samycfd View Post
Okay , so there is an analogy between :
divgrad p = div f
and
div grad q = div w

( if w = v + grad q , the field we want to project with div v = 0 ) .
But I don't understand for which mathematical reason we could get the same BC for p.
To have a unique (apart a constant) solution, it is mandatory that the Neumann bc.s are imposed according to the Hodge decomposition, that is projecting the decomposition along the normal direction to the boundary. The divergenze-free constraint automatically set int[S] n.v ds = 0
FMDenaro is offline   Reply With Quote

Old   September 25, 2014, 05:12
Default
  #95
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
I am confused. I read that http://www2.math.uni-wuppertal.de/~r...u/lecture6.pdf .
And on pages 9 & 10, to arrive to the same result they assumes no slip BC on all boundaries.
I was thinking it was working even without that?
samycfd is offline   Reply With Quote

Old   September 25, 2014, 05:26
Default
  #96
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
To be well posed the HHD problem, only one bc must be provided.
For the pressure problem this condition accords with the mass flow rate, therefore the normal condition, not the tangential (no slip) is required.
The tangential condition is used for the HHD problem expressed in terme of vorticity and stream function
FMDenaro is offline   Reply With Quote

Old   September 25, 2014, 05:31
Default
  #97
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
So I need to know all the normal BC for velocity to be able to write the equation for pressure with BC. so that's why in your paper you made different cases depending what kind of normal BC for velocity it is ..
samycfd is offline   Reply With Quote

Old   September 25, 2014, 05:33
Default
  #98
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by samycfd View Post
So I need to know all the normal BC for velocity to be able to write the equation for pressure with BC. so that's why in your paper you made different cases depending what kind of normal BC for velocity it is ..

I considered several possibilities, depending on the type of BC.s, you can or not ensuring a orthogonal decomposition.
FMDenaro is offline   Reply With Quote

Old   September 25, 2014, 06:02
Default
  #99
Member
 
Join Date: Aug 2014
Posts: 58
Rep Power: 12
samycfd is on a distinguished road
I don"t see to what the case 2 (n.a diff 0 ) leads for the pressure ?
samycfd is offline   Reply With Quote

Old   September 25, 2014, 09:31
Default
  #100
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by samycfd View Post
I don"t see to what the case 2 (n.a diff 0 ) leads for the pressure ?
in this case you still have a decomposition but you can no longer demonstrate the unicity and orthogonality of the decomposition
FMDenaro is offline   Reply With Quote

Reply

Tags
pressure velocity


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
static vs. total pressure auf dem feld FLUENT 17 February 26, 2016 14:04
Timestep and Pressure Correction Relationship in SIMPLE rks171 Main CFD Forum 23 May 4, 2012 02:04
Initial pressure and transverse velocity fields to initialize turbulence model nickvinn Main CFD Forum 0 February 29, 2012 11:11
How to set pressure BC with mass Velocity Magnitud arwang FLUENT 2 March 12, 2007 21:04
how to print the results from CFX-4.2 cfd_99 Main CFD Forum 5 June 21, 1999 10:23


All times are GMT -4. The time now is 19:59.