PyFR: An open source framework for solving advection–diffusion type problems on streaming architectures using the flux reconstruction approach
Paper · 2014 · Freddie Witherden, A.M. Farrington and Peter Vincent
Summary
Simulating a changing flow around a complicated object creates two connected problems. The numerical method must preserve the important features of the flow, and the implementation must perform enough computation to make the simulation affordable. PyFR addresses both. It implements flux reconstruction, a framework for high-order numerical schemes on meshes whose elements need not follow a regular arrangement, and organizes that computation for processors that work efficiently on many independent streams of data.
The scientific motivation is the simulation of transient compressible flows near engineering geometries. The authors describe applications in which separated flow, acoustic effects, and changing conditions matter. They argue that the low-order, Reynolds-averaged approaches common in industrial computational fluid dynamics are poorly suited to these demands. Flux reconstruction offers a different combination: accurate polynomial approximations within individual elements, flexible meshes around complicated shapes, and limited communication between neighboring elements. That last property also creates an opportunity for GPU and parallel computing.
PyFR turns this opportunity into a software architecture. Python coordinates the calculation and handles setup, while the expensive work runs through matrix multiplication routines and compiled point-wise kernels. A small domain-specific language describes those kernels once; a templating system generates implementations for different processors. In the release described by the paper, compressible Euler and Navier–Stokes calculations can use triangles or quadrilaterals in two dimensions and hexahedra in three dimensions. It targets CPU clusters and NVIDIA GPUs. The published program is PyFR v0.1.0, distributed under a New Style BSD license.
The numerical evidence has several parts. An advected Euler vortex reproduces the unusually high spatial accuracy previously associated with particular flux reconstruction schemes. A viscous Couette-flow problem reaches the expected convergence order on mixed and unstructured meshes. A cylinder calculation demonstrates an unsteady viscous simulation on curved elements, although its evidence is qualitative. Hardware measurements show substantial use of an NVIDIA M2090’s attainable arithmetic throughput and memory bandwidth. Scaling experiments extend to 104 GPUs for increasing problem sizes and 32 GPUs for a fixed problem.
The paper therefore establishes a working connection between a numerical formulation and an implementation strategy. It shows that a high-level coordinating language can support demanding flow calculations when repeated numerical work is expressed through suitable compiled operations. Its strongest claims concern correctness on the chosen validation problems, efficient execution on the tested GPU, and scalability under the reported partitioning arrangements. It does not establish universal superiority over other solvers, quantitative accuracy for turbulent cylinder flow, or equal performance across all supported hardware.
Interesting ideas
Separate orchestration from repeated computation. PyFR uses Python for tasks such as building operators, arranging execution, and communicating through MPI, while compiled kernels perform the repeated numerical work. This works because the boundary between coordination and bulk computation is explicit. The useful lesson is architectural: a convenient implementation language need not execute every arithmetic operation. A different scientific or engineering system could retain readable control logic while placing its expensive, regular operations behind carefully defined interfaces.
Express repeated local work as shared operators. Within an element type, interpolation and differentiation follow the same mathematical pattern across many elements. PyFR represents these patterns as constant matrices applied to changing state arrays. This makes a complicated discretization accessible to established matrix multiplication software. The idea transfers wherever many independent objects undergo the same transformation: identify the invariant operator, gather the varying inputs into a batch, and apply the operator collectively. The benefit depends on the resulting matrix shapes, which the paper also examines critically.
Generate implementation details from a narrow description. A PyFR point-wise kernel states the scalar operation to perform, while the generation machinery handles concerns such as vectorization and memory access. The same description can produce CPU or GPU code and can specialize to a particular floating-point precision. This is a useful approach when a calculation has stable mathematical content but several hardware-specific implementations. Keeping the descriptive language narrow helps preserve a visible relationship between the intended operation and the generated code.
Spend setup effort where it reduces repeated work. PyFR uses symbolic mathematics to construct polynomial operators at startup. It also exploits the fact that combinations of constant matrices can be formed before time integration begins. These choices move complexity out of the repeated calculation. The general principle applies when a system will reuse the same structural relationships many times: distinguish what depends on the configuration from what depends on the current state, and prepare the former once. The paper does not require setup itself to achieve the throughput of the simulation loop.
Make shared interfaces explicit. Neighboring elements can produce different values at the same physical location, so PyFR computes a common interface state and a common normal flux. The state must be assigned consistently to both sides, and the flux must respect conservation through opposite signs. Beyond fluid simulation, this suggests a useful discipline for partitioned computation: define what neighboring partitions exchange and what agreement means before optimizing the exchange. A shared boundary is a mathematical contract, rather than merely a place where arrays happen to meet.
Schedule around dependencies and data lifetimes. PyFR separates local interfaces from interfaces crossing MPI ranks, allowing local work to continue during communication. It also reuses memory after earlier values have served their purpose. These optimizations come from understanding when information becomes available and when it stops being needed. They apply to other staged numerical pipelines, provided the dependencies remain clear. The important borrowing is the analysis of lifetimes and readiness; copying a particular buffer arrangement without that analysis would miss the reason it is valid.
Measure different kinds of evidence separately. The authors use analytical solutions to test numerical accuracy, kernel measurements to study processor use, and distributed runs to assess scalability. These answer different questions. A fast kernel does not prove an accurate solution, and agreement on a smooth validation problem does not establish distributed efficiency. This separation is useful in any performance-sensitive research system: choose measurements that isolate correctness, resource use, and behavior as the workload or machine count changes.
Deep dive: PyFR: An open source framework for solving advection–diffusion type problems on streaming architectures using the flux reconstruction approach
How PyFR combines high-order flow simulation, generated computational kernels, and GPU parallelism, with validation and scaling results. · about 36 minutes to read
How Mova uses it
For Mova, the small transparent language system implemented in Rust, the relevant connection is software organization. PyFR solves physical conservation equations; it does not provide a language-processing algorithm. The paper reports no integration with Mova, and no implementation evidence establishes that Mova has adopted its architecture. The connections below are therefore possible adaptations, with their usefulness depending on Mova’s actual workload.
A direct possibility is to distinguish inspectable language operations from their execution machinery. PyFR keeps a compact description of a point-wise calculation separate from the code that performs it on a particular processor. Mova could use a comparable separation wherever it applies a well-defined operation across many independent items. The transparent description would remain available for inspection, while the execution layer could change without silently changing the operation’s meaning. Rust would be the implementation setting for that adaptation, instead of a feature inherited from PyFR.
Another possibility concerns preparation. PyFR constructs operators from the selected polynomial spaces and element types before the main calculation begins. An analogous Mova design could prepare fixed structures before processing changing text, wherever those structures are independent of the current input. The useful question would be whether an operation repeatedly rebuilds information that could be prepared once. The paper supports that architectural question, but it supplies no measurements showing that such preparation would improve Mova.
PyFR’s split between regular bulk work and irregular interface work is also relevant as a way to inspect a workload. Some operations can be applied uniformly across a collection; others depend on relationships between particular items. Mova could make that distinction explicit before attempting parallel execution. Uniform operations might admit batching, while relationship-dependent operations would need a clear account of their dependencies. This is a proposed method of analysis, not evidence that any particular language operation will benefit from a GPU.
The scheduling approach offers a further design question. PyFR overlaps communication with computation only when the computation does not depend on the information being transferred. A language system could use the same reasoning when independent stages are available, or when different parts of a workload become ready at different times. The transferable part is the dependency analysis. PyFR’s distributed flow solver does not establish that MPI, accelerators, or asynchronous execution would be appropriate choices for a small Rust system.
Memory reuse deserves particular care in a transparent implementation. PyFR saves storage by allowing arrays with non-overlapping lifetimes to occupy the same space. Mova could investigate similar reuse if temporary data becomes a material cost. Transparency would benefit from retaining a clear explanation of which logical value occupies the storage at each stage. The paper demonstrates the value of this technique for its own numerical arrays; it does not quantify a corresponding benefit for text processing.
The most defensible use of PyFR in Mova is therefore as an engineering reference: keep the meaning of operations visible, prepare invariant work, batch only where dependencies permit it, and measure the resulting implementation. None of those ideas requires Mova to become a flow solver or to reproduce PyFR’s hardware choices.
The problem and its context
Why accuracy and geometry have to meet
The authors begin with a practical aspiration in computational fluid dynamics: resolving changing flow structures near complicated engineering shapes. Among their unmanned aerial vehicle examples are flows around spoilers that have been deployed and through curved intake ducts, along with weapons-bay acoustic loading and behavior outside intended operating conditions. The cited application range includes Reynolds numbers from 10^4 to 10^7 and Mach numbers around 0.1 to 1.0.
These examples explain why the numerical problem is demanding. The geometry can require an irregular mesh, while the flow can contain structures that change substantially over time. A method that handles complicated boundaries but introduces too much numerical error can obscure those structures. A method with attractive accuracy on a regular grid can be difficult to apply around the geometry of interest. The paper seeks the combination of accurate local approximation and flexible spatial decomposition.
The authors contrast that goal with industrial software built around first- or second-order Reynolds-averaged Navier–Stokes approaches. Their criticism is specific to the high-fidelity, scale-resolving simulations they want to perform. They do not present a general evaluation of industrial CFD software or show that every application requires their alternative.
High-order schemes on unstructured meshes offer a possible route. “High order” concerns how rapidly numerical error can decrease as the spatial discretization is refined under suitable conditions. An unstructured mesh allows element connectivity and placement to depart from a regular grid. A mixed mesh can contain different element shapes. Together, these properties aim to preserve numerical accuracy without surrendering flexibility around boundaries.
What flux reconstruction brings together
The paper places flux reconstruction alongside discontinuous Galerkin and spectral difference methods. It traces discontinuous Galerkin to Reed and Hill. It describes spectral difference through the earlier staggered-grid work of Kopriva and Kolias and its subsequent development by Sun and colleagues.
Huynh’s flux reconstruction framework is the immediate numerical foundation. As the authors describe it, the framework encompasses nodal discontinuous Galerkin schemes and, when the flux is linear, spectral difference schemes. This qualification matters: the paper does not assert unrestricted equivalence between every spectral difference construction and flux reconstruction for arbitrary nonlinear fluxes.
The unifying idea is to construct accurate approximations inside elements and then correct their behavior at interfaces. Each element has its own polynomial representation, so neighboring elements need not initially agree at their shared boundary. Numerical interface operations determine common quantities, and correction functions carry their effect into the element calculation.
This creates a compact spatial coupling. Much of the work concerns a single element, with neighboring information entering through its interfaces. When paired with explicit time integration, the method avoids requiring a broad, globally coupled operation at each stage. That locality is useful mathematically and computationally.
PyFR is not presented as the invention of flux reconstruction. Its contribution is an implementation framework that makes this family of methods usable on streaming hardware while retaining support for flexible meshes and different governing systems.
Why processor behavior changes the design
The hardware argument is central to the paper. The authors describe a growing gap between arithmetic capability and the rate at which processors can move data to and from memory. A computation can require many floating-point operations yet still spend most of its time waiting for data.
They illustrate the change through floating-point capability relative to memory bandwidth. Older processors in their discussion have ratios around 0.2 floating-point operations per byte, while more recent processors reach around 4. A ratio of 5 applies to each of the examples featuring the NVIDIA K20X and the Intel Xeon Phi 5110P.24 and 3.16, respectively.
These ratios do not by themselves predict the speed of a solver. They explain why implementation choices must consider data movement. An operation that performs little arithmetic for each retrieved value may fail to use the processor’s available arithmetic resources. Caches and shared memory can help, but only when access patterns allow useful reuse or neighboring accesses.
Unstructured meshes complicate that requirement. To find a neighboring element, an implementation generally follows connectivity information rather than advancing through a simple regular sequence. This indirection can weaken locality. A method with extensive coupling can therefore incur substantial memory costs even if its arithmetic description looks economical.
The paper also emphasizes parallel execution within processors. Multiple cores and vector units make independent streams of work valuable. A computation should expose enough independence to distribute operations across those resources. The authors use “streaming architectures” for hardware that can exploit this form of execution.
Flux reconstruction fits the argument because it contains substantial regular work inside each element. Once elements of the same type are grouped, the same operators can be applied across a large collection. The irregular interface operations remain, but they need not define the organization of the entire calculation.
Why a framework is needed
The implementation problem is broader than writing a fast kernel. The solver must define its polynomial operators, arrange state arrays, evaluate physical fluxes, handle boundaries, advance time, and exchange information between distributed partitions. It must do this while preserving the numerical method’s interface and conservation requirements.
Supporting more than one processor type adds another challenge. Maintaining separate handwritten versions of every physical operation would duplicate logic and make extension harder. PyFR responds by assigning different responsibilities to different layers: symbolic setup, matrix libraries, generated point-wise code, and Python-level coordination.
That division makes the paper an account of numerical software design as much as a report about a flow solver. Its central question is whether a compact and portable implementation can expose the structure of flux reconstruction well enough to use modern hardware effectively.
The method, step by step
Start with a conservation equation
The framework begins with an advection–diffusion problem written in conservation form:
∂u_α/∂t + ∇ · f_α(u, ∇u) = 0
Here, u_α is a conserved field, α selects one field from the collection, t is time, and ∇ denotes spatial differentiation. The vector f_α is the flux associated with that field. Its dependence on u allows transport governed by the current state, while dependence on ∇u permits gradient-dependent effects such as diffusion.
The unsubscripted u stands for all the fields together. N_V denotes the number of fields, and N_D denotes the number of spatial dimensions. This notation lets the numerical machinery describe a family of governing systems rather than only a particular fluid equation.
To handle the gradient dependence, the method introduces an auxiliary quantity:
q_α = ∇u_α
The vector q_α is the spatial gradient of field u_α. It allows the calculation to proceed through a gradient stage followed by a flux stage. For a system with several fields, the unsubscripted q contains all their gradients.
The important distinction is between the physical equation and its numerical realization. The equation describes continuous fields. PyFR stores values at selected points and reconstructs the information needed to approximate spatial derivatives and interface transport.
Divide the domain into elements
The physical domain, Ω, is covered by mesh elements. The index e denotes an element type, such as a triangle or quadrilateral, and n selects an individual element of that type. The notation Ω_en refers to that physical element.
The intended mesh is conforming: adjoining elements meet consistently at their interfaces. Different element types may coexist, but their shared interface points must correspond to the same physical locations. This requirement is essential because the interface operations compare values from both sides at matching positions.
Each element type has a standard reference element. A mapping carries reference coordinates into physical coordinates:
x = ℳ_en(x̃)
The vector x contains physical coordinates, x̃ contains reference coordinates, and ℳ_en is the mapping for element n of type e. Its inverse converts a physical location back into the reference element.
The mapping makes repeated numerical work possible. Elements can differ in position, size, and shape, yet share operators defined on the same reference element. Geometry enters through the mapping and its derivatives.
The Jacobian matrix records those derivatives:
(J_en)_ij = ∂ℳ_eni/∂x̃_j
Here, i selects a physical coordinate component and j a reference-coordinate component. J_en is the matrix of mapping derivatives. The paper also uses J_en without matrix adornment for its determinant; the distinction must be read from context.
The inverse determinant satisfies:
det(J_en⁻¹) = 1/det(J_en)
The inverse matrix transforms derivatives in the opposite direction, while the determinant accounts for changes of volume. These are geometric factors, not parameters learned from data.
PyFR keeps the evolving solution in physical variables. The transformed operators and geometric factors are arranged so that the solver does not need to evolve a separately scaled version of the conserved state.
Represent each element through nodal polynomials
Within a reference element, the method chooses solution points and a polynomial approximation space of order ℘. The symbol ℘ is the polynomial order used throughout the paper.
A nodal basis associates a polynomial with each solution point. Its defining property is:
ℓ_eρ(x̃_eσ⁽ᵘ⁾) = δ_ρσ
The function ℓ_eρ is basis polynomial ρ for element type e. The vector x̃_eσ⁽ᵘ⁾ is solution point σ in the reference element. The Kronecker delta δ_ρσ equals unity when the indices match and vanishes otherwise. Accordingly, the polynomial coefficients can be identified with the stored solution values.
The superscript (u) indicates a solution point. The paper uses (f) for a flux point, which lies on an element boundary. These are different sets with different roles: solution points represent the interior approximation, while flux points support interactions across interfaces.
The basis can be constructed from another polynomial basis through a generalized Vandermonde matrix:
V_eρσ = ψ_eρ(x̃_eσ⁽ᵘ⁾)
The functions ψ_eρ span the chosen polynomial space. V_eρσ is their evaluation at the solution points.
The nodal polynomials then follow from the inverse matrix:
ℓ_eρ(x̃) = (V_e⁻¹)_ρσ ψ_eσ(x̃)
The repeated σ indicates summation over that index. The inverse Vandermonde matrix changes from the original polynomial basis to the nodal basis.
PyFR uses symbolic manipulation to evaluate the required expressions and derivatives during setup. This reduces the burden of manually implementing polynomial algebra for every supported element type. Because setup occurs before the repeated time-stepping work, the authors prioritize compactness and portability there.
Follow the calculation from state to time derivative
The main stages of an advection–diffusion evaluation can be summarized as follows:
From element states to an updated flow solution
The steps in order.
These stages form a dependency chain. Interface states are needed to correct gradients; gradients are needed for viscous fluxes; and flux divergence supplies the time derivative. The implementation can overlap independent parts of this chain without changing its mathematical dependencies.
Interpolate the solution to interfaces
The stored solution values determine the polynomial approximation inside an element. Evaluating that approximation at a flux point gives:
u_eσnα⁽ᶠ⁾ = Σ_ρ u_eρnα⁽ᵘ⁾ ℓ_eρ(x̃_eσ⁽ᶠ⁾)
The value on the left is field α at flux point σ in element n of type e. The values u_eρnα⁽ᵘ⁾ are the stored solution-point values. The basis functions supply interpolation weights from solution points to the selected boundary point.
This produces a discontinuous interface representation. Each neighboring element interpolates from its own interior values, so the two results at a shared physical location may differ.
The method therefore computes a common interface solution. In compact notation:
u_common = 𝔠(u_L, u_R)
Here, u_L and u_R are the values supplied by the adjoining elements, and 𝔠 is the common-solution operation. Its definition depends on the numerical treatment of the governing system.
An implementation detail follows directly from this mathematics. The operation need not give the same result when its arguments are reversed. PyFR must therefore visit an interface pair consistently and assign the resulting common value to both sides. Treating the interface as unrelated calculations in each element could violate that requirement.
On an unstructured mesh, locating the matching flux point requires a connectivity lookup. This is one of the places where irregular memory access enters an otherwise regular calculation.
Correct the gradient with interface information
Differentiating the polynomial inside an element gives a local gradient approximation. That derivative alone does not incorporate the difference between the local boundary state and the chosen common state.
Flux reconstruction supplies correction functions associated with the flux points. They obey a boundary-normal condition:
ñ_eσ · g_eρ(x̃_eσ⁽ᶠ⁾) = δ_ρσ
The vector ñ_eσ is the outward unit normal in reference space at flux point σ. The vector function g_eρ is the correction associated with point ρ. The condition makes each correction act appropriately on the normal component at its designated boundary point.
The corrected gradient combines a differentiated interior polynomial with terms driven by interface jumps. A jump here means the common interface value minus the value extrapolated from the current element. This is how information from the neighbor influences the gradient without requiring a broad spatial stencil.
After obtaining the reference-space gradient, PyFR transforms it into physical coordinates:
q_eσnα⁽ᵘ⁾ = J_eσn⁻ᵀ q̃_eσnα⁽ᵘ⁾
The vector q̃_eσnα⁽ᵘ⁾ is the corrected reference gradient, q_eσnα⁽ᵘ⁾ is its physical counterpart, and J_eσn⁻ᵀ is the inverse-transpose Jacobian evaluated at the solution point.
Physical gradients are then interpolated to the flux points:
q_eσnα⁽ᶠ⁾ = Σ_ρ ℓ_eρ(x̃_eσ⁽ᶠ⁾) q_eρnα⁽ᵘ⁾
The notation follows the solution interpolation: the local basis transfers solution-point gradients to a boundary location. At this stage, the solver has both states and gradients where interface fluxes require them.
Evaluate fluxes and enforce conservation
The physical governing system determines the flux from the state and gradient. The reference-space flux is obtained through geometric transformation:
f̃_eρnα⁽ᵘ⁾ = det(J_eρn) J_eρn⁻¹ f_α(u_eρn⁽ᵘ⁾, q_eρn⁽ᵘ⁾)
The physical flux f_α is evaluated at a solution point. Multiplication by the inverse Jacobian and its determinant produces the transformed flux f̃. The paper characterizes this evaluation as a collocation projection.
The transformed flux can be interpolated to a boundary and projected onto the reference normal:
f̃_eσnα⁽ᶠ⊥⁾ = Σ_ρ ℓ_eρ(x̃_eσ⁽ᶠ⁾) ñ_eσ · f̃_eρnα⁽ᵘ⁾
The superscript (f⊥) indicates a normal flux at a flux point. This is still the value extrapolated from one element’s interior flux representation.
A separate interface calculation determines the common physical normal flux from the adjoining states and gradients. Conservation requires:
F_common,L = −F_common,R
The quantities F_common,L and F_common,R are the common outward normal fluxes assigned to the adjoining elements. Their signs differ because the elements’ outward normals point in opposite directions. What leaves one element must enter its neighbor.
This sign relationship is more than a coding convention. It is the local balance that makes the resulting discretization conservative across internal interfaces.
The physical normal also carries geometric information. The paper obtains it from the inverse-transpose mapping:
n = J⁻ᵀ ñ
Here, ñ is the reference unit normal, while n is the resulting physical-space normal vector before normalization. Its magnitude and direction are used when transforming the common flux back into the reference-space calculation.
Reconstruct flux divergence and advance time
The interior flux polynomial supplies a preliminary divergence. Correction terms then account for the mismatch between its boundary normal flux and the common normal flux.
The resulting divergence drives the stored solution:
∂u_eρnα⁽ᵘ⁾/∂t = −(1/det(J_eρn)) (∇̃ · f̃)_eρnα⁽ᵘ⁾
The expression on the right is the corrected reference-space divergence, scaled back through the local geometric determinant. The left side is the time derivative of the physical conserved field at a solution point.
After spatial discretization, the unknowns form a system of ordinary differential equations in time. An explicit integration scheme advances those values. The Euler-vortex validation uses classical fourth-order Runge–Kutta integration.
No training procedure is involved. The preparation consists of selecting a mesh, polynomial order, point distributions, correction functions, physical parameters, boundary conditions, and time-integration settings. The initial state is then evolved according to the discretized governing equations.
Specify the fluid equations
For the Euler equations, the state contains density, momentum components, and total energy per volume:
u = (ρ, ρv_x, ρv_y, ρv_z, E)ᵀ
The symbol ρ is fluid density, v_x, v_y, and v_z are velocity components, and E is total energy per unit volume. The transpose symbol indicates a column vector.
The inviscid flux transports those conserved quantities. Its mass components are density times velocity. Its momentum components combine momentum transport with pressure in the corresponding direction. Its energy components transport E + p with the velocity, where p is pressure.
The thermodynamic closure is:
E = p/(γ − 1) + (1/2)ρ‖v‖²
The vector v is velocity, ‖v‖² is its squared magnitude, and γ is the ratio of specific heats C_p/C_v. The first term represents the pressure-dependent contribution to energy; the second is kinetic energy per volume.
For compressible Navier–Stokes calculations, the total flux subtracts a viscous contribution:
f = f⁽ⁱⁿᵛ⁾ − f⁽ᵛⁱˢ⁾
The superscript inv denotes the inviscid flux and vis the viscous flux. The latter depends on velocity gradients and temperature gradients, which is why the auxiliary gradient calculation is required.
The viscous stress components are:
𝒯_ij = μ(∂_i v_j + ∂_j v_i) − (2/3)μδ_ij ∇ · v
Here, μ is dynamic viscosity, 𝒯_ij is a stress component, and ∂_i denotes differentiation with respect to coordinate i. The Kronecker delta selects the diagonal contribution involving velocity divergence.
The temperature expression is:
T = p/[C_v(γ − 1)ρ]
The symbol T denotes temperature and C_v the specific heat at constant volume. The paper obtains the needed derivatives through the quotient rule.
The coefficient used with temperature gradients is:
Δ = μC_p/P_r
The symbol C_p is the specific heat at constant pressure, P_r is the Prandtl number, and Δ is the coefficient entering the heat-related part of the viscous energy flux.
The two-dimensional equations retain the same structure after removing the momentum component and flux direction associated with the absent spatial dimension.
Choose numerical interface rules
For viscous calculations, PyFR uses a local discontinuous Galerkin treatment of the common state:
𝔠(u_L, u_R) = (1/2 − β)u_L + (1/2 + β)u_R
The states u_L and u_R come from the adjoining elements. The parameter β determines the directional weighting. This rule is applied to each conserved field.
The common normal flux combines inviscid and viscous parts:
𝔉 = 𝔉⁽ⁱⁿᵛ⁾ − 𝔉⁽ᵛⁱˢ⁾
The symbol 𝔉 denotes the interface operation’s resulting normal flux. Its inviscid part comes from an approximate Riemann solver; its viscous part uses both state and gradient information.
The viscous construction is:
𝔉⁽ᵛⁱˢ⁾ = n̂_L · [(1/2 + β)f_L⁽ᵛⁱˢ⁾ + (1/2 − β)f_R⁽ᵛⁱˢ⁾] + τ(u_L − u_R)
The vector n̂_L is the outward unit normal associated with the left state. The fluxes f_L⁽ᵛⁱˢ⁾ and f_R⁽ᵛⁱˢ⁾ are evaluated from the corresponding states and gradients. The parameter τ penalizes a difference between the states.
The directional weights are reversed relative to the common-state rule. The paper notes that choosing an upwinded common state leads to a downwinded viscous flux treatment. Its validation settings use β = 1/2 and τ = 0.1.
For the inviscid interface flux, the reported validation cases use Rusanov’s method:
𝔉⁽ⁱⁿᵛ⁾ = (1/2)n̂_L · (f_L⁽ⁱⁿᵛ⁾ + f_R⁽ⁱⁿᵛ⁾) + (s/2)(u_L − u_R)
The physical inviscid fluxes are averaged in the normal direction. The additional term depends on the state jump and an estimated maximum wave speed s.
That estimate is:
s = √[γ(p_L + p_R)/(ρ_L + ρ_R)] + (1/2)|n̂_L · (v_L + v_R)|
The pressures, densities, and velocities carry L or R subscripts according to their side of the interface. The estimate combines a pressure–density contribution with a normal-velocity contribution.
Handle physical boundaries through ghost states
At a domain boundary there is no neighboring mesh element to provide a second state. PyFR can instead construct a ghost state and, when necessary, a ghost gradient. These enter interface operations resembling those used between physical elements.
For the inflow boundary described in the appendix, density, velocity, and pressure are prescribed from free-stream values. The ghost energy follows the same thermodynamic relation used inside the domain, and the gradient supplied for the viscous treatment is set to zero.
For the described outflow condition, the ghost state retains the interior density and velocity while replacing pressure with its prescribed free-stream value. Energy is reconstructed accordingly. The supplied gradient is again zero.
The no-slip isothermal wall treatment distinguishes the ghost states used by the inviscid and viscous calculations. The inviscid velocity is reflected around the wall velocity:
v_ghost,inv = 2v_w − v_L
The vector v_w is wall velocity and v_L is the interior velocity. This construction supplies the state used by the inviscid interface operation.
The viscous common-state treatment uses the wall velocity directly:
v_ghost,ldg = v_w
The suffix ldg identifies the state used in the local discontinuous Galerkin treatment. Wall temperature determines the corresponding energy, while the gradient ghost retains the interior gradient.
This separation lets the boundary enforce its intended physical conditions through the same broad interface machinery used elsewhere. It also shows why a boundary implementation cannot always be reduced to assigning a single replacement state.
Turn the mathematics into matrix operations
The repeated interpolation and differentiation operations become matrix multiplications. Their general computational form is:
C ← c₁AB + c₂C
The matrix A is a constant numerical operator, B and C contain changing state information, and c₁ and c₂ are scalar coefficients. This is the operation supplied by the GEMM family of linear algebra routines.
For interpolation, the operator M⁰ contains nodal basis values at flux points:
U⁽ᶠ⁾ = M⁰U⁽ᵘ⁾
The matrix U⁽ᵘ⁾ contains solution-point values across the elements of a given type and their fields. U⁽ᶠ⁾ contains the interpolated boundary values. M⁰ is shared by that collection.
The corrected reference gradients can be arranged as:
Q̃⁽ᵘ⁾ = M⁶C⁽ᶠ⁾ + (M⁴ − M⁶M⁰)U⁽ᵘ⁾
The matrix C⁽ᶠ⁾ holds common interface states. M⁴ represents differentiation of the local polynomial, while M⁶ applies the interface correction. The combined constant operator M⁴ − M⁶M⁰ incorporates the subtraction of the local extrapolated boundary contribution.
Gradient interpolation uses:
Q⁽ᶠ⁾ = M⁵Q⁽ᵘ⁾
The matrices Q⁽ᵘ⁾ and Q⁽ᶠ⁾ store physical gradients at solution and flux points. M⁵ has a block-diagonal structure because the same interpolation acts on the separate spatial components.
The corrected divergence has a parallel form:
R̃⁽ᵘ⁾ = M³D̃⁽ᶠ⁾ + (M¹ − M³M²)F̃⁽ᵘ⁾
The matrix D̃⁽ᶠ⁾ stores transformed common normal fluxes, F̃⁽ᵘ⁾ stores transformed volume fluxes, and R̃⁽ᵘ⁾ is the resulting transformed divergence. M¹ differentiates volume fluxes, M² obtains their boundary normal values, and M³ applies the flux correction.
These expressions reveal why the implementation can reuse general matrix multiplication software. The operators are constant, while the state arrays contain many columns. They also reveal where setup can combine constant operators before repeated execution begins.
Arrange storage and generate the remaining kernels
PyFR uses a structure-of-arrays packing across its backends. In this arrangement, a field’s values across many elements are grouped according to a consistent layout. The paper discusses alternative packings but chooses a common scheme for simplicity.
Matrix multiplication is delegated to an available BLAS implementation, including cuBLAS on NVIDIA hardware. The remaining work is point-wise: evaluating fluxes, applying geometric factors, or combining the states associated with an interface.
Those operations are written through a domain-specific language built on Mako. At runtime, templates produce low-level source, which is compiled and loaded. The CPU path generates C with OpenMP, and the GPU path generates CUDA through PyCUDA.
The scalar kernel description does not prescribe every detail of parallel execution. The generation machinery supplies implementation decisions such as vectorization and gathering values from memory. A floating-point type abstraction permits common kernel descriptions for single and double precision.
This organization limits duplication, but it does not eliminate backend-specific engineering. The quality of generated code and the performance of the chosen matrix library remain important to the final result.
Exchange distributed state and reuse temporary storage
MPI communication is managed through mpi4py. The authors use persistent, non-blocking, point-to-point requests and make the exchanged format independent of the execution backend.
Interface operations are divided between interfaces internal to a rank and those requiring communication. While remote states are in transit, PyFR can execute work whose inputs are already local. The schedule aims to hide communication time behind useful computation.
Temporary storage is also managed through the schedule. Arrays can share memory when their logical values are not needed simultaneously. Gradients can be overwritten by transformed fluxes, and interface-state storage can later hold interface-flux information.
The authors report that these choices allow more than 100,000 curved hexahedral elements at ℘ = 3 to fit within 5 GiB. That result concerns the combined implementation and storage schedule; it is not an isolated measurement of any individual reuse decision.
Experiments and results
Euler vortex: checking unusually high spatial accuracy
The Euler validation follows a translating isentropic vortex. Because its ideal evolution is a translation of the initial state, the calculation provides an analytical reference against which numerical error can be measured.
The square domain is [−20,20]². The authors use structured quadrilateral meshes with spacings 1/3, 2/7, 1/4, and 2/9. The vortex strength is S = 13.5, the free-stream Mach number is M = 0.4, and its radius parameter is R = 1.5.
The initial density is:
ρ(x,0) = [1 − S²M²(γ − 1)exp(2f)/(8π²)]^[1/(γ − 1)]
The symbols S, M, and γ have the meanings given above, while f controls the spatial decay of the vortex. Density is related to the other initial fields so that the chosen vortex is isentropic.
The decay function is:
f = (1 − x² − y²)/(2R²)
The coordinates x and y locate a point relative to the vortex, and R is the radius parameter. The exponential dependence makes the disturbance decay away from its center.
The initial velocity is:
v(x,0) = [Sy exp(f)/(2πR)]x̂ + [1 − Sx exp(f)/(2πR)]ŷ
The unit vectors x̂ and ŷ identify the coordinate directions. The expression combines circulation around the vortex with translation in the y direction.
The pressure is:
p(x,0) = ρ(x,0)^γ/(γM²)
The pressure p is determined by the initial density, the ratio of specific heats γ, and the Mach number M.
The x boundaries are periodic. At the y boundaries, the fields are fixed to the limiting free-stream values. The authors acknowledge that periodicity represents an array of interacting vortices rather than an entirely isolated vortex. They reduce the effect of that interaction by using a domain much larger than the vortex’s characteristic extent and by evaluating error near its center.
The density error is measured over the central region with integration bounds −2 and 2 in both directions. A translation correction keeps the comparison aligned with the moving vortex:
σ(t)² = ∫₋₂²∫₋₂² [ρᵟ(x + Δ_y(t)ŷ,t) − ρ(x,0)]² dx dy
The quantity σ(t) is the L² density error. The superscript δ identifies the numerical density, while Δ_y(t) shifts the numerical field into alignment with the initial analytical profile. Gaussian quadrature evaluates the required element integrals.
The polynomial order is ℘ = 3. Initial conditions are placed on the mesh through collocation, and solution points follow a tensor-product Gauss–Legendre construction. The authors compare DG, SD, and HU correction schemes using Rusanov interface fluxes.
Time integration uses RK4 with Δt = 0.00125 over t = 0..1800. Output is written every 32,000 steps. At a selected time, fitting log error against log mesh spacing across the meshes estimates the spatial convergence order.
The main result is agreement with the previously reported super-accuracy behavior. The paper’s plotted comparison supports that conclusion, but the narrative does not provide numerical values for the individual convergence curves. The defensible report is therefore qualitative: the implementation reproduces the expected time-dependent emergence of super accuracy.
Couette flow: checking viscous accuracy across mesh types
The viscous validation places fluid between parallel walls separated by H. Both walls have temperature T_w, and the upper wall moves with speed v_w. With constant viscosity, the problem has an analytical steady solution.
The normalized height is:
φ = y/H
Here, y is the distance from the stationary wall and H is the wall separation.
The velocity varies linearly:
v(φ) = v_wφx̂
The vector x̂ points along the moving wall. The velocity is stationary at the lower wall and follows the prescribed upper-wall motion at the other boundary.
The analytical density is:
ρ(φ) = [γ/(γ − 1)] [2p/(2C_pT_w + P_rv_w²φ(1 − φ))]
The pressure p is constant, C_p is the specific heat at constant pressure, and P_r is the Prandtl number. The density profile incorporates the thermal effect associated with the sheared flow.
The physical settings include γ = 1.4, P_r = 0.72, μ = 0.417, C_p = 1005, H = 1, T_w = 300, p_c = 1e5, and v_w = 69.445, with the corresponding physical units given for the dimensional quantities. The resulting Mach number is 0.2 and Reynolds number is 200.
The simulations begin from a constant state and approach the steady solution. Error is measured in total energy:
σ(t)² = ∫_Ω [Eᵟ(x,t) − E(x)]² dx
The numerical energy is Eᵟ, the analytical steady energy is E, and Ω is the computational domain. The integration uses quadrature appropriate to each element type.
The stopping condition is:
σ(t)/σ(t + 0.1) ≤ 1.01
The solver evaluates error every 0.1 time units. The criterion identifies when the measured error changes sufficiently little for the convergence study; it does not require the discretization error to vanish.
All these calculations use double precision, DG corrections, Rusanov inviscid fluxes, β = 1/2, and τ = 0.1. Tensor-product elements use Gauss–Legendre points, while triangular elements use Williams–Shunn solution points and Gauss–Legendre boundary points.
The two-dimensional domain is [−1,1] × [0,1], with mixed triangular and quadrilateral meshes at different refinement levels. Another family extends quadrilateral meshes into hexahedra over [−1,1] × [0,1] × [0,1]. A further family uses fully unstructured hexahedra in [0,1]³, with 96, 536, and 1004 elements.
The reported conclusion is that the expected convergence order is achieved across the tested configurations. The fully unstructured hexahedral results have larger standard errors. This supports the implementation’s ability to retain accuracy beyond a regular mesh, while also showing that the convergence estimates become less clean in that setting.
Cylinder flow: demonstrating an unsteady curved-grid calculation
The cylinder case addresses a different question: whether PyFR can carry out an unsteady viscous calculation on a curved mesh. The Reynolds number is 3900 and the Mach number is M = 0.2.
The cylinder radius is 1/2, and the domain is [−18,30] × [−10,10] × [0,3.2]. The planar mesh contains 4661 quadratically curved quadrilaterals. Extrusion produces 46,610 hexahedra.
The calculation uses ℘ = 4 on four NVIDIA K20c GPUs and contains roughly 29 × 10^6 degrees of freedom. Boundary conditions prescribe inflow and outflow behavior, periodicity along the extrusion direction, and an isothermal no-slip cylinder surface.
Density isosurfaces show the wake after turbulent behavior has developed. This demonstrates a working unsteady calculation with curved geometry and distributed execution. It does not provide a quantitative comparison of wake statistics, forces, or other reference observables.
Single-GPU measurements: arithmetic and bandwidth
The single-device study uses an NVIDIA M2090. Its stated theoretical double-precision arithmetic ceiling is 665 GFLOP/s, and its theoretical bandwidth with ECC disabled is 177 GB/s.
The authors also measure attainable reference values. Multiplication of square matrices with cuBLAS reaches 407 GFLOP/s, while the CUDA bandwidth test reaches 138.9 GiB/s. These serve as practical reference ceilings rather than assumptions that theoretical specifications can be reached by every operation.
The PyFR workload is a periodic domain containing 50,176 hexahedral elements. The double-precision Navier–Stokes solver is evaluated at ℘ = 2,3,4. Kernels are separated into matrix multiplication, direct-access point-wise work, and point-wise work involving indirection.
M2090 double-precision arithmetic throughput, reference GEMM and PyFR matrix kernels
PyFR's differently shaped matrix operations attain substantial throughput below the square-matrix reference.
The numbers
| System or setting | GFLOP/s |
|---|---|
| cuBLAS reference, 4096×4096 matrices | 407 |
| PyFR matrix kernels, polynomial order 4 (this paper) | 305.4 |
The chart compares different matrix workloads on the same accelerator. It measures achieved arithmetic throughput; it does not compare total solver runtime or numerical accuracy.
Most floating-point work occurs in matrix multiplication. The point-wise operations are chiefly constrained by memory movement. The paper attributes around 15% of the relevant bandwidth consumption to register spilling that exceeds what the L1 cache can absorb.
As polynomial order increases, matrix multiplication takes a larger share of runtime. Moving from ℘ = 2 to ℘ = 3 benefits from improved cuBLAS performance for the changed matrix shapes. At ℘ = 4, absolute matrix-kernel throughput declines somewhat, reaching 305.4 GFLOP/s, which the authors identify as more than 75% of the attainable arithmetic reference.
The conclusion reports compute-bound kernels reaching between 50% and 90% of attainable peak arithmetic throughput. It reports point-wise kernels exceeding 89% of attainable peak bandwidth. These are resource-use results for the tested configurations, not end-to-end comparisons against competing flow solvers.
Distributed scaling: larger problems and fixed problems
The cluster experiments use NVIDIA M2090 devices connected through the Emerald system’s node and network arrangement. Runs use nodes equipped with eight GPUs.
The starting mesh contains N_E = 114,688 structured hexahedra. At ℘ = 3, its working set is approximately 4720 MiB. With ECC enabled, an M2090 provides roughly 5250 MiB to the user, so the initial case substantially fills the device.
Weak scaling increases the problem along with the number of ranks. PyFR extends the domain along the y direction, which also makes partitioning straightforward. The study reaches 104 GPUs. At that endpoint, the calculation contains roughly 3.8 × 10^9 degrees of freedom and occupies roughly 485 GiB.
Strong scaling holds the initial problem fixed and partitions it across more devices. The authors describe behavior close to ideal through eight GPUs. At 32 GPUs, the reported speedup relative to a single GPU is 26.
They also note that each device then has less than 3% load. This helps explain why adding devices no longer gives proportional improvement: each partition contains little local work relative to the costs that remain. The result demonstrates useful fixed-problem acceleration, while showing the limits of continuing to divide that particular workload.
What the ablations show
The paper contains no conventional component-removal ablation study; its explanatory evidence comes from controlled scheme comparisons, mesh studies, kernel profiling, and scaling experiments.
Correction schemes and the emergence of accuracy
The Euler-vortex experiment compares DG, SD, and HU corrections while retaining the same broad physical problem and numerical setting. This tests whether PyFR reproduces the accuracy behavior associated with different members of the flux reconstruction family.
The analysis also explains why the observed convergence order changes over time. The error is described as:
σ(t) = σ_p + σ_so(t)
The term σ_p is the initial projection error, while σ_so(t) is the evolving contribution associated with the spatial operator. The first is fixed by placing the initial condition into the approximation space; the second changes as the simulation proceeds.
An early measurement can therefore emphasize the projection step rather than the asymptotic behavior of the spatial method. The operator’s characteristic accuracy becomes visible when its error contribution dominates. This is a useful warning about validation design: a correct convergence experiment must measure the part of the algorithm whose behavior it intends to assess.
The comparison does not establish that one correction scheme is universally preferable. It demonstrates the expected behavior of the selected schemes on the chosen smooth vortex problem.
Mesh variation and geometric flexibility
The Couette calculations vary mesh composition and spatial construction. Mixed triangles and quadrilaterals test interfaces between element types. Extruded hexahedra extend an unstructured planar arrangement into a volume. Fully unstructured hexahedra remove the simplifying structure supplied by extrusion.
Obtaining the expected convergence order across these settings supports the mathematical and geometric implementation. It suggests that interpolation, mapping, correction, and interface operations remain consistent for the tested combinations.
The larger standard errors for fully unstructured hexahedra matter. They show that recovering a clean convergence trend from those meshes is less straightforward. The authors do not use this result to claim identical error constants or identical computational costs across mesh families.
This is a validation comparison rather than an isolation of individual geometric effects. Several properties can change together when the mesh family changes.
Polynomial order and hardware behavior
The single-GPU study changes polynomial order and separates kernel categories. It shows that increased arithmetic work can change the balance between computation and memory movement.
Matrix operations become more prominent at higher order, but their efficiency depends on shape. The intermediate setting benefits from the matrix library’s behavior, while the higher setting shows a throughput regression. A larger amount of regular arithmetic does not automatically imply a higher achieved arithmetic rate.
Point-wise kernels behave differently. Their operation remains essentially the same while the number of points changes, so their arithmetic performance is comparatively insensitive to polynomial order. This distinction explains why the implementation needs more than a single global performance number.
The study does not disable code generation, change array packing, or replace BLAS to measure their separate contributions. It identifies where time and resources go within the completed design.
Partition size and distributed efficiency
The weak- and strong-scaling experiments change different quantities. Weak scaling preserves substantial local work while increasing the total calculation. Strong scaling reduces local work by dividing a fixed calculation more finely.
Their different behavior is consistent with the implementation’s reliance on element-local computation to amortize communication and scheduling. The strong-scaling slowdown at small per-device workloads exposes the boundary of that amortization.
However, the paper does not compare overlapping and non-overlapping communication schedules directly. Its scaling results support the effectiveness of the overall implementation under the tested conditions, rather than measuring the isolated benefit of overlap.
Limitations
Limits explicitly identified by the authors
The implemented release covers a narrower range than the framework’s general formulation. The mathematical discussion includes several possible element shapes and general advection–diffusion systems. The reported software supports compressible Euler and Navier–Stokes equations, with triangles and quadrilaterals in two dimensions and hexahedra in three dimensions. The broader design should not be mistaken for implemented support for every listed possibility.
The authors explicitly identify matrix multiplication as an opportunity for further improvement. PyFR’s constant operators have around 10–100 rows and columns, while the changing state matrices have around 10–100 rows and 10 000–100 000 columns. Those shapes differ from the large square products for which GEMM is particularly well suited.
Because the operators are known in advance and remain fixed, specialized multiplication kernels might exploit information unavailable to a general library call. The authors present that possibility as future research. It is not a demonstrated improvement in the reported implementation.
The vortex validation has a physical qualification. Periodic boundaries introduce interactions among repeated vortices. The domain size and restricted error region reduce their influence, but the analytical comparison relies on treating those effects as negligible.
The same validation has a temporal qualification. Initial projection error can obscure the spatial method’s characteristic convergence behavior. The observed order is meaningful only with attention to when and how the error is measured.
The fully unstructured Couette study produces larger standard errors than the simpler mesh constructions. The expected convergence trend remains, but the estimates are less precise.
Finally, the authors acknowledge deterioration in fixed-problem scaling once work is divided across sufficiently many GPUs. The reported device underloading makes that limitation understandable. Communication overlap and locality do not remove the cost of making partitions too small.
Limits visible in the experimental setup
The strongest hardware measurements concern a particular NVIDIA accelerator and its associated software environment. PyFR can generate CPU code, and its communication format permits different backends to participate, but the paper does not provide an equally detailed performance study for every supported processor arrangement.
Portability of implementation and portability of performance are therefore separate claims. Generating code for a device establishes an execution path. Matching the efficiency measured on the M2090 would require measurements on the other target.
The performance study also uses a periodic hexahedral workload. That is useful for examining the repeated computational core, but it does not cover every combination of boundaries, geometry, mesh composition, and physical behavior.
The distributed studies use structured hexahedra and deliberately simple domain decompositions. Their results show scalability in those arrangements. They do not establish that arbitrary mixed meshes or more complicated partitions will have the same communication balance.
There is no end-to-end timing comparison against another complete CFD solver. The cuBLAS reference measures a matrix operation, and the bandwidth reference measures data movement. Neither is a competing numerical solution of the same flow problem.
The accuracy evidence has a similar boundary. Smooth analytical cases provide strong checks on implementation and convergence. They do not by themselves establish accuracy for every challenging flow regime. The paper does not provide a broad study of difficult discontinuities, highly distorted geometries, or all physical situations that fit the general conservation-law notation.
The cylinder simulation is especially important to interpret correctly. Its geometry, operating conditions, and computational size make it a useful demonstration of capability. Its density surfaces do not substitute for quantitative validation against reference measurements. The paper supplies no reported force-error metric or statistical convergence analysis for that case.
The storage result also describes the combined system. Memory aliasing is plausible and clearly motivated, but no controlled comparison measures how much each reuse decision saves individually. The same applies to the templating approach and communication schedule: their mechanisms are explained, while isolated effect sizes are not reported.
These boundaries do not undermine the central result. They locate it. PyFR demonstrates an accurate implementation on its validation cases and an efficient execution strategy on the tested hardware, with broader applicability remaining a design intention or a question for further evaluation.
What came after
The paper ends with a concrete direction for further work: replacing general matrix multiplication with specialized kernels that exploit the fixed flux reconstruction operators and the unusual shapes of the state arrays. The proposed architecture would allow such kernels to enter as an optional alternative without requiring a new description of the governing equations.
That proposal should remain distinct from an achieved result. The paper does not report its later implementation, benchmark it, or trace subsequent studies that adopted PyFR’s design. No specific later contribution can therefore be attributed on this account.
The reusable research agenda is nevertheless clear. PyFR makes it possible to examine numerical schemes, physical systems, and hardware execution through separate but connected layers. Its demonstrated contribution is that those layers can work together: a high-order method retains its expected accuracy while a compact implementation exposes enough regular computation to use streaming processors and distributed GPUs effectively.
Cite
Cite as Freddie Witherden, A.M. Farrington and Peter Vincent. 2014. PyFR: An open source framework for solving advection–diffusion type problems on streaming architectures using the flux reconstruction approach. Computer Physics Communications.
@inproceedings{witherden2014pyfr,
title = {{PyFR: An open source framework for solving advection–diffusion type problems on streaming architectures using the flux reconstruction approach}},
author = {Freddie Witherden, A.M. Farrington and Peter Vincent},
booktitle = {Computer Physics Communications},
year = {2014},
doi = {10.1016/j.cpc.2014.07.011},
eprint = {1312.1638},
archivePrefix = {arXiv},
url = {https://doi.org/10.1016/j.cpc.2014.07.011}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/witherden-2014-pyfr-open-source-framework-solving/
References
- WH Reed and TR Hill. Triangular mesh methods for the neutron transport equation. Technical Report LA-UR-73-479, Los Alamos Scientific Laboratory, 1973. OpenAlex ↗ · Scholar ↗
- David A Kopriva and John H Kolias. A conservative staggered-grid Chebyshev multidomain method for compressible flows. Journal of computational physics, 125(1):244–261, 1996. OpenAlex ↗ · Scholar ↗
- Yuzhi Sun, Zhi Jian Wang, and Yen Liu. High-order multidomain spectral difference method for the Navier-Stokes equations on unstructured hexahedral grids. Communications in Computational Physics, 2(2):310–333, 2007. OpenAlex ↗ · Scholar ↗
- HT Huynh. A flux reconstruction approach to high-order schemes including discontinuous Galerkin methods. AIAA paper, 4079:2007, 2007. OpenAlex ↗ · Scholar ↗
- Jan S Hesthaven and Tim Warburton. Nodal discontinuous Galerkin methods: algorithms, analysis, and applications, volume 54. Springer Verlag New York, 2008. OpenAlex ↗ · Scholar ↗
- PE Vincent, P Castonguay, and A Jameson. A new class of high-order energy stable flux reconstruction schemes. Journal of Scientific Computing, 47(1):50–72, 2011. OpenAlex ↗ · Scholar ↗
- P Castonguay, PE Vincent, and A Jameson. A new class of high-order energy stable flux reconstruction schemes for triangular elements. Journal of Scientific Computing, 2011. OpenAlex ↗ · Scholar ↗
- Patrice Castonguay, PE Vincent, and Antony Jameson. Application of high-order energy stable flux reconstruction schemes to the Euler equations. In 49th AIAA Aerospace Sciences Meeting, volume 686, 2011. OpenAlex ↗ · Scholar ↗
- A Jameson, PE Vincent, and P Castonguay. On the non-linear stability of flux reconstruction schemes. Journal of Scientific Computing, 50(2):434–445, 2011. OpenAlex ↗ · Scholar ↗
- PE Vincent, P Castonguay, and A Jameson. Insights from von Neumann analysis of high-order flux reconstruction schemes. Journal of Computational Physics, 230(22):8134–8154, 2011. OpenAlex ↗ · Scholar ↗
- Patrice Castonguay, Peter E Vincent, and Antony Jameson. A new class of high-order energy stable flux reconstruction schemes for triangular elements. Journal of Scientific Computing, 51(1):224–256, 2012. OpenAlex ↗ · Scholar ↗
- DM Williams, P Castonguay, PE Vincent, and A Jameson. Energy stable flux reconstruction schemes for advection-diffusion problems on triangles. Journal of Computational Physics, 2013. OpenAlex ↗ · Scholar ↗
- P Castonguay, DM Williams, PE Vincent, and A Jameson. Energy stable flux reconstruction schemes for advection-diffusion problems. Computer Methods in Applied Mechanics and Engineering, 2013. OpenAlex ↗ · Scholar ↗
- D.M. Williams and A. Jameson. Energy stable flux reconstruction schemes for advection-diffusion problems on tetrahedra. Journal of Scientific Computing, pages 1–39, 2013. OpenAlex ↗ · Scholar ↗
- David A Kopriva. A staggered-grid multidomain spectral method for the compressible navier–stokes equations. Journal of Computational Physics, 143(1):125–158, 1998. OpenAlex ↗ · Scholar ↗
- SymPy Development Team. Sympy: Python library for symbolic mathematics, 2013. OpenAlex ↗ · Scholar ↗
- Michael Bayer. Mako: Templates for python, 2013. OpenAlex ↗ · Scholar ↗
- Andreas Klöckner, Nicolas Pinto, Yunsup Lee, Bryan Catanzaro, Paul Ivanov, and Ahmed Fasih. Pycuda and pyopencl: A scripting-based approach to gpu run-time code generation. Parallel Comput., 38(3):157–174, 2012. OpenAlex ↗ · Scholar ↗
- Lisandro Dalcin. mpi4py: Mpi for python, 2013. OpenAlex ↗ · Scholar ↗
- Eleuterio F Toro. Riemann solvers and numerical methods for fluid dynamics: a practical introduction. Springer, 2009. OpenAlex ↗ · Scholar ↗