|
[Sponsors] |
August 22, 2014, 09:57 |
|
#21 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
the mathematical equivalence among several formulations is correct, but what is not is the numerical treatment of them.... for example Lap p and Div Grad p are numerically not always equivalent... the same happens if you discretize v*Grad v or Div (vv). This is especially relevant when you cannot ensure that Div v =0. the momentum equation d(rho*v)/dt + Div (rho*vv)+ Grad p = Div (2*mu*Grad v) becomes rho*dv/dt + rho*v Grad v+ Grad p = mu Lap v only if you use the continuity constraint. But if it is not verified by your velocity field you can not |
||
August 22, 2014, 10:10 |
|
#22 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
Okay yes i agree. And if the continuity constraint is ensured regarded as a specific tolerance( the divergence is nearly equal to zero but not zero exactly) then the results won't be exact, but not totally true.
Is there a better numerical treatment of this formulation ? I suppose it's really difficult to obtain good results when the continuity constraint is not satisfied. Maybe using a SIMPLE algorithm to correct the velocity in order it satisfy the continuity constraint .. |
|
August 22, 2014, 10:15 |
|
#23 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
in any numerical solution, the velocity is computed in such a way to ensure it is divergence-free (in approximate o exact way). But if I got correctly your problem, the velocity field was prescribed to you, you don't have a real 3D numerical solution coming from computation, right? |
||
August 22, 2014, 10:17 |
|
#24 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
No most of the time I only have a 2D vector field .. and maybe I could access to the gradient of the 3rd component relative to this planar field.
|
|
August 22, 2014, 12:10 |
|
#25 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
In my opinion this is the real problem, you have access a planar velocity field that, however, is a 3D field, not a 2D. In this plane do you know the value of the third component (the normal to plane)?
|
|
August 23, 2014, 16:23 |
|
#26 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
Yes i know it but not the gradient of this 3rd component..
But on all my test flows I computed the divergence and it's close to zero on each nodes. But i know it will be like that every time. |
|
August 23, 2014, 16:53 |
|
#27 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
dw/dz = - (du/dx+dv/dy) |
||
August 23, 2014, 16:56 |
|
#28 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
If it's divergence free yes .. but it doesn't change anything I still have an experimental flow which may not respect this condition..even if the fluid is incompressible.
So what the advantage of knowing the gradient ? |
|
August 23, 2014, 17:29 |
|
#29 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
However, the approximations can be meaningful... I don't know details of your problem and cannot say more... |
||
August 23, 2014, 17:37 |
|
#30 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
It's a kind of Simple algorithm where the pressure correction enforced the continuity equation
There are no other details :/ These are my hypothesis. So if I judge that the divergence free is verified then I solved the Poisson equation and if not I can attempt to force the field to be divergence-free..and then solve the pressure poisson equation ? |
|
August 23, 2014, 17:38 |
|
#31 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
yes ... in the framework of lot of hypothesis... |
||
August 23, 2014, 17:57 |
|
#32 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
I am more focused on the divergence-free case, so what are these hypothesis you are talking about it or the issues I can get during the resolution ?
|
|
August 23, 2014, 18:22 |
|
#33 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
I still have not a clear idea of how your velocity field is obtained, is numerical or experimental measurement? And what about the geometry of the flow problem?
|
|
August 23, 2014, 18:38 |
|
#34 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
Sorry..It's an experimental flow obtained with Particle Image Velocimetry method(PIV).
So whatever the flow I get a rectangular ( or square ) velocity field ( because the PIV method deals with images ) but not always fully populated. For example in the Von Karman experiment the cylinder could be part of the image and there is no velocity inside of course. So The data I am working on are these kind of velocity fields added with a boolean matrix which help me to know which vector is inside outside or not relevant. So I can define a mesh with boundaries and use finite element method. I already implemented that but I am not sure of the Pressure poisson equation I have to solve. You know the whole story know, I guess |
|
August 23, 2014, 18:42 |
|
#35 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
If the flow problem is quasi-2D you can implement periodical BC.s in the normal-to-plane direction |
||
August 23, 2014, 18:59 |
|
#36 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
I understand the idea but if I just have the out-of-plane velocity in the (x,y) plane I still can treat the problem in 3D so why BC in that way and not just treat the problem in 2D since the case is quasi-2D ?
|
|
August 27, 2014, 04:57 |
Results
|
#37 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
||
August 27, 2014, 05:07 |
|
#38 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
yes, the pressure field seems quite reasonable... what kind of bc.s for pressure did you use?
|
|
August 27, 2014, 05:10 |
|
#39 |
Member
Join Date: Aug 2014
Posts: 58
Rep Power: 12 |
I used Neumann boundary conditions everywhere because the velocity is set on each edges and I have set one point to zero.(dirichlet value )
|
|
August 27, 2014, 05:27 |
|
#40 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
||
Tags |
pressure velocity |
|
|
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 |