Table of Contents
Fetching ...

Using matrices in post-processing phase of CFD simulations

Gianluca Argentini

TL;DR

The paper tackles the high computational burden of post-processing CFD tracer trajectories by introducing a cubic-spline interpolation framework that blends a Bezier curve with a cubic spline between groups of four points, controlled via $v_k = \alpha b + \beta u_k$ with $\alpha=\beta=0.5$. Coefficients are obtained from a constant $4\times5$ matrix $T$ as $coeff = T p$, enabling a compact matrix formulation, while a sparse global matrix $G$ facilitates parallel evaluation across many trajectories. The approach achieves quasi-linear speedups on both MPI-based Linux clusters and MATLAB-based Windows clusters, leveraging sparsity ($G$ density ~ $1/M$) and a fixed matrix $T$ cached for performance. The work demonstrates substantial improvements in the post-processing phase of CFD simulations, with plans to extend to a global matrix product to further exploit sparsity and reduce memory usage. The practical impact is faster, scalable rendering of high-resolution particle trajectories for industrial burner design and optimization.

Abstract

In this work I present a technique of construction and fast evaluation of a family of cubic polynomials for analytic smoothing and graphical rendering of particles trajectories for flows in a generic geometry. The principal result of the work was implementation and test of a method for interpolating 3D points by regular parametric curves and their fast and efficient evaluation for a good resolution of rendering. For the purpose I have used a parallel environment using a multiprocessor cluster architecture. The efficiency of the used method is good, mainly reducing the number of floating-points computations by caching the numerical values of some line-parameter's powers, and reducing the necessity of communication among processes. This work has been developed for the Research and Development Department of my company for planning advanced customized models of industrial burners.

Using matrices in post-processing phase of CFD simulations

TL;DR

The paper tackles the high computational burden of post-processing CFD tracer trajectories by introducing a cubic-spline interpolation framework that blends a Bezier curve with a cubic spline between groups of four points, controlled via with . Coefficients are obtained from a constant matrix as , enabling a compact matrix formulation, while a sparse global matrix facilitates parallel evaluation across many trajectories. The approach achieves quasi-linear speedups on both MPI-based Linux clusters and MATLAB-based Windows clusters, leveraging sparsity ( density ~ ) and a fixed matrix cached for performance. The work demonstrates substantial improvements in the post-processing phase of CFD simulations, with plans to extend to a global matrix product to further exploit sparsity and reduce memory usage. The practical impact is faster, scalable rendering of high-resolution particle trajectories for industrial burner design and optimization.

Abstract

In this work I present a technique of construction and fast evaluation of a family of cubic polynomials for analytic smoothing and graphical rendering of particles trajectories for flows in a generic geometry. The principal result of the work was implementation and test of a method for interpolating 3D points by regular parametric curves and their fast and efficient evaluation for a good resolution of rendering. For the purpose I have used a parallel environment using a multiprocessor cluster architecture. The efficiency of the used method is good, mainly reducing the number of floating-points computations by caching the numerical values of some line-parameter's powers, and reducing the necessity of communication among processes. This work has been developed for the Research and Development Department of my company for planning advanced customized models of industrial burners.

Paper Structure

This paper contains 6 sections, 3 equations, 5 figures.

Figures (5)

  • Figure 1: Flows in combustion head (left) and combustion chamber.
  • Figure 2: Spline-based method with continuous slope and curvature.
  • Figure 3: Speedup (red line) in computing splines coefficients using C routines and a Linux cluster.
  • Figure 4: Total CPU-time for G* s matrix-vector multiplication on a Xeon 3.2 GHz node, using sparse (black line) and full (red line) matrix Matlab algorithm.
  • Figure 5: Total execution time for matrices products in the case 3 N= 4200 P.