what is a flux
play

What is a flux? Phil Roe The Things We Does Know Finite Volume - PowerPoint PPT Presentation

What is a flux? Phil Roe The Things We Does Know Finite Volume methods (and others) (are based on ensuring conservation by computing the flux through the surfaces of a polyhedral box. Either the normal component of the flux is evaluated at the


  1. What is a flux? Phil Roe The Things We Does Know

  2. Finite Volume methods (and others) (are based on ensuring conservation by computing the flux through the surfaces of a polyhedral box. Either the normal component of the flux is evaluated at the center of the face, or at the collocation points of some quadrature rule. Consider however the solution of the two-dimensional acoustic equation (successor to the ICASE equation?) ∂ t p + ∇ · u = 0 ∂ t u + ∇ p = 0 An important property of the exact solution is that ∂ t ∇ × u = 0 . However, vorticity arises from truncation error in almost all finite-volume schemes. Phil Roe The Things We Does Know

  3. Spurious vorticity is generated numerically q q q Here u , v are velocities in the cells, and p p p p u,v u,v u,v are updated by pressures (fluxes) p that q q q have been computed on the vertical p u,v p u,v p u,v p faces, and q on the horizontal faces q q q p p p p u,v u,v u,v δ t u = δ x p , δ t v = δ y q q q q The vorticity evaluated at a vertex as ω = µ y δ x v − µ x δ y u will change by δ t ω = µ y δ x δ t v − µ x δ y δ t u = µ y δ x δ y q − µ x δ y δ x p = δ x δ y ( µ y q − µ x p ) so that vorticity is preserved only if µ y q = µ x p , implying that p = µ y s , q = µ x s for some vertex flux s . Morton and Roe (SISC, 2001) Phil Roe The Things We Does Know

  4. Face-based fluxes cannot preserve vorticity s q s p p u,v q s s unless they are derived from vertex fluxes. These arguments were con- firmed and extended by Mishra and Tadmor (SINUM 2011). The experiments show patterns of vorticity in the initial data being dis- rupted by acoustic waves when using the standard MUSCL scheme, but pre- served by a scheme based on corner fluxes. Phil Roe The Things We Does Know

  5. Calculating a vertex flux involves averaging in the transverse direction. If the face flux for a conventional second order scheme reads f = µ f − 1 2 Q δ u the formula for a vertex flux reads f = µ x µ y f − 1 2 { Q x µ y δ x u + Q y µ x δ y u } The averaging operators serve t to enhance the accuracy of t y x Lax-Wendroff type schemes, particularly for waves not x travelling in the grid directions. (Morton and Roe, 2001) Phil Roe The Things We Does Know

  6. For the acoustic equations the dissipative terms are physically meaningful     u µ x µ y u − 1 2 Q µ y δ x p  = f = µ x µ y v − 1 2 Q µ x δ x p v (1)    p µ x µ y p − 1 2 Q ( µ y δ x u + µ x δ y v ) where Q = 1 . 0 gives an upwind scheme, and Q = ν gives Lax-Wendroff. The pressure gradient and the divergence are the drivers of change. These drivers need to be subjected to some nonlinear mechanism that avoids oscillations. The key is to select an appropriate value of Q . Phil Roe The Things We Does Know

  7. Flux-corrected Transport (FCT) provides an alternative to MUSCL-type schemes. It is widely regarded as a blunt instrument in comparison, but can be implemented in more sophisticated ways than it has been. The main idea is to represent all fluxes as the average of a high-order and a low-order term. f = α f HO + ( 1 − α ) f LO Begin by computing a low-order solution u ∗ . In cells containing a local extremum, it is acceptable to proceed with a high-order correction, but for other cells the correction is limited; f = f LO + α ( f HO − f LO ) where α is chosen to avoid an extremum in any neighboring cell. Phil Roe The Things We Does Know

  8. Potential advantages of FCT are that it is not based on one-dimensional physics and can be applied to invariant quantities like divergence and vorticity These are new possibilities that have not been exploited. The monotonicity constraints that have been used in the past have been rather blunt instruments, which has led to FCT having a poor reputation in aerospace circles. Phil Roe The Things We Does Know

  9. Is operator splitting OK? Operator splitting is another idea with a bad reputation. Even if the individual operators were to be solved perfectly, there a splitting error unless the operators commute. The splitting into advection terms and acoustic terms has no such error (at the linear level) ρ�       ρ v 0  = div  + div ρ� ρ� v ⊗ � ∂ t v v I p     E � p � E v v u n + 1 = ( advection (∆ t / 2 )) ( Acoustic (∆ t )) ( advection (∆ t / 2 )) u n Only the advection operator needs to be upwinded. Both operators require limiting. Phil Roe The Things We Does Know

  10. Geometrical Shock Dynamics (Whitham, 1957) is a semiempiriical method for computing the evolution of a shock surface moving into a uniform (or stationary) flow. Lines that are everywhere normal to the shock are called rays. and bundles of them are raytubes. The speed of the shock normal to itself is a function of the area of the raytube. The distance between two points lying on the shock at different times is d x = m dt + g d ξ , where g = ∂ ξ x , m = ∂ t x  B   t There is a geometric conservation shock law ∂ t g + ∂ ξ m = 0  D  A  closed by a relationship m / m 0 = fn ( g / g 0 ) t  ray C t  Phil Roe The Things We Does Know

  11. The Riemann problem in two dimensions has data comprising two consecutive segments g L , g R of the shock front. The solution is m, the speed and direction of the ray emanating from their juncture. m (g ,m) ) m , g ( m = 1 2 ( m L + m R ) − 1 2 λ ( g R − g L ) � m ( g ) m ′ ( g ) where λ = is the speed with which disturbances g travel along the front. When all of the ray segments m ∆ t are in place, the new shock segments are defined. Phil Roe The Things We Does Know

  12. Geometrical shock dynamics in three dimensions m H  g 2 g 1 D G F A C   B is based on a distance d x = m dt + g 1 d ξ + g 2 d η and a GCL (floor + ceiling + sum of sides =0) ∂ t ( g 1 × g 2 ) + ∂ ξ ( m × g 1 ) + ∂ η ( m × g 2 ) = 0 together with a closure m / m 0 = fn (( g 1 × g 2 ) / g 0 ) Phil Roe The Things We Does Know

  13. Following classical procedure we consider pairs of shock patches and solve the 1D Riemann problem at their common edge. The output from this is the vector normal to the ‘wall’ based on that edge. The walls erected around one vertex do not meet in a line, but each wall could be twisted by an arbitrary amount. In order to force them all into alignment we require three constraints per vertex. Since we have only one de- gree of freedom per side the discrepancies cannot be recon- m g m g ciled. This difficulty is cur- x rently encountered when intro- ducing Riemann solvers into La- grangian methods Phil Roe The Things We Does Know

  14. Solving two-dimensional Riemann problems instead results in a unique vector m leaving each vertex m m m b m m a Again, use of the vertex flux has allowed a multidimensional constaint (closure of the patch) to be met. Phil Roe The Things We Does Know

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend