I suppose all I'm really asking is, if I know the velocity field at the nodes how do I interpolate to achieve velocities at control volume faces (using a median-dual scheme)?
|
I suppose U is conservative/primitive variable. Once you got it for all equation it is easy to estimate variables needed at face.
|
But, how? Say, for example, U is some tracer concentration and I know the velocity field at all nodes. How do I then determine the velocity field at the face of the control volume? As I say, there's a lot of literature on reconstructing U (i.e., scalar conservative variables), but no word on the velocity field.
|
Quote:
|
Thanks for the replies, duri. I'm not actually solving CFD (i.e., Euler or Navier-Stokes) equations, but just general conservation law equations using finite volume methods. So, I prescribe a velocity field onto the grid, I just don't know the best way to interpolate this field to my control volume faces. Would simple linear interpolation along edges work? Or do standard methods like MUSCL work for vectors like velocity fields, too? I realise that this may seem like a trivial point to those in the know, but I'm at a loss to figure out the best way to achieve this.
|
Hi Nereus,
Let's imagine you want to solve a transport equation for a scalar phi. This variable is convected by U velocity. When integrating over a control volume the convection term div(Uphi) where div is the divergence operator you will have to express U and phi on all control volume faces. let's say at i+1/2. Generally U at i+1/2 is expressed using a simple interpolation function. For example if your grid is regular you could use Ue=(UP+UE)/2 "e" stands for the location i+1/2 For phi variable you have to choose a discretization scheme. There exist a tons of such schemes (CDS, UDS, Hybrid, Power-Law, TVD schemes, ENO, WENO , blended schemes....) there are really a big choice according the type of your transport equation (dominated convection equation, Hyperbolic equation,...) You have to distinguish the scheme used for phi and the one for U. If phi=U then you may have two different schemes. |
answering to your question depends on what you are solving, compressible or incompressible flows... in the first case I suggest the book of LeVeque on FV method for hyperbolic systems, in the second case the book of Ferziger and Peric is useful for addressing the flux interpolation issue.
Do not forget that the colocation of the variables can be staggered or non-staggered. |
Thanks, leflix, that's exactly what I was after. I reconstruct my scalar variable using Barth & Jespersen's linear piecewise reconstruction and calculate the flux using Kurganov & Tadmor's scheme, I just needed to know what the velocity was at the faces. I'll use a simple interpolation, as you suggest.
Thanks for the reply, Filippo. I'm not solving a fluids problem as such, but rather a general conservation equation. |
if you are involved only on a formal reconstruction problem for conservation laws, perhaps you can do best by using spectral polynomials
|
All times are GMT -4. The time now is 04:26. |