All Equalities Are Equal, but Some Are More Equal Than Others: The Effect of Implementation Aliasing on the Numerical Solution to Conservation Equations

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Trojak, Will, Scillitoe, Ash, Watson, Rob
Formato: Preprint
Publicado: 2019
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909435049279488
author Trojak, Will
Scillitoe, Ash
Watson, Rob
author_facet Trojak, Will
Scillitoe, Ash
Watson, Rob
contents We investigate the effect of aliasing when applied to the storage of variables, and their reconstruction for the solution of conservation equations. In particular, we investigate the effect on the error of storing primitives versus conserved variables for the Navier-Stokes equations. It was found that storing the conserved variables introduces less dissipation and that the dissipation caused by constructing the conversed variable from the primitives grows factorially with the order. Hence, this problem becomes increasingly important with the continuing move towards higher orders. Furthermore, the method of gradient calculation is investigated, as applied to the viscous fluxes in the Navier-Stokes equations. It was found that in most cases the difference was small, and that the product rule applied to the gradients of the conserved variables should be used due to a lower operation count. Finally, working precision is investigated and found to have a minimal impact on free-stream-turbulence-like flows when the compressible equations are solved, except at low Mach numbers.
format Preprint
id arxiv_https___arxiv_org_abs_1901_08884
institution arXiv
publishDate 2019
record_format arxiv
spellingShingle All Equalities Are Equal, but Some Are More Equal Than Others: The Effect of Implementation Aliasing on the Numerical Solution to Conservation Equations
Trojak, Will
Scillitoe, Ash
Watson, Rob
Numerical Analysis
Computational Physics
65M60, 65Y99, 68M07, 68Q25, 76F65
We investigate the effect of aliasing when applied to the storage of variables, and their reconstruction for the solution of conservation equations. In particular, we investigate the effect on the error of storing primitives versus conserved variables for the Navier-Stokes equations. It was found that storing the conserved variables introduces less dissipation and that the dissipation caused by constructing the conversed variable from the primitives grows factorially with the order. Hence, this problem becomes increasingly important with the continuing move towards higher orders. Furthermore, the method of gradient calculation is investigated, as applied to the viscous fluxes in the Navier-Stokes equations. It was found that in most cases the difference was small, and that the product rule applied to the gradients of the conserved variables should be used due to a lower operation count. Finally, working precision is investigated and found to have a minimal impact on free-stream-turbulence-like flows when the compressible equations are solved, except at low Mach numbers.
title All Equalities Are Equal, but Some Are More Equal Than Others: The Effect of Implementation Aliasing on the Numerical Solution to Conservation Equations
topic Numerical Analysis
Computational Physics
65M60, 65Y99, 68M07, 68Q25, 76F65
url https://arxiv.org/abs/1901.08884