TRACE User Guide  TRACE Version 9.8.1
Scale-resolving simulations

This describes the typical setup of a scale-resolving simulation with TRACE.

Discontinuous Galerkin solver

Due to its high-order accuracy and advantageous dispersion and dissipation characteristics, the Discontinuous-Galerkin solver is the recommended solver for Large Eddy Simulations (LES) and Direct Numerical Simulations (DNS). The best practice guidelines are presented in Discontinuous Galerkin spatial discretization scheme. It can be used with non-conformal meshes, see On-the-fly partitioning and non-conformal meshes.

Finite volume solver

Hybrid RANS/LES methods

This solver offers hybrid RANS/LES capabilities.

LES methods

The recommended GMC setup for LES is

  • LES WALE model
  • Third Order MUSCL scheme with Limiter Off
  • 3rd order Explicit Runge-Kutta time integration

Make sure to switch the numerical flux to either Central using the control file command SetRiemannSolver

all immediate SetRiemannSolver Central

or a low percentage (0.1-1%) of upwind using SetRiemannSolverBlendingConstant

all immediate SetRiemannSolverBlendingConstant 0.001

Analysis

3D Statistics

A long time cumulative average of the whole domain can be set up using ComputeStatistics.

all immediate ComputeStatistics --filename ../output/cgns/TRACE.statistics.cgns --moment 2 --averages --timestep <start> --samplingInterleave <interleave> --storePermanentInterleave <permanentInterleave>
  • It is recommended to use the --averages option as this will become the default from 9.5 onwards.
  • The time step at which sampling should be started can be controlled by --timestep.
  • A reasonable sampling interleave should be defined for efficiency reasons.
  • As the output file will get updated over time, it is good practice to store a series of statistics files using --storePermanentInterleave to be able to judge statistical convergence.

POST can then be used to compute the statistical moments using

POST -i ../output/cgns/TRACE.statistics.cgns --computeStatisticalValues --removeAllStatisticsSums -o ../output/cgns/POST.statistics.cgns

Probe time series

Time series at predefined points can be sampled using DoProbe.

Co-processing

Co-processing with ParaView Catalyst can be used to extract images directly from the simulation or use ParaView filters to extract data on subdomains.