Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
synthetic_inflow.h File Reference

Mean velocity of characteristic inlets, and synthetic turbulence (digital filter) superposed on it. More...

#include <array>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include <Kokkos_Core.hpp>
#include <toml.hpp>
#include "common.h"
#include "expression.h"

Go to the source code of this file.

Classes

class  InletProfile
 Mean velocity and Reynolds stress of an nscbc_inlet at given points: u (numbers or expressions in x, y, z), and with a [boundaries.turbulence] table its reynolds_stress (numbers or expressions), or both from its profile, a CSV file of plane averages (tools/plane_average.py: a coordinate column, MEAN_U_* and COV_U_*_U_*) interpolated linearly along that coordinate. More...
 
class  SyntheticInflow
 Synthetic turbulence for one nscbc_inlet: the digital filter of Klein, Sadiki & Janicka (2003), with the inlet's Reynolds stress imposed by the Cholesky factor of Lund, Wu & Squires (1998) (docs/design/synthetic_inflow.md). More...
 

Typedefs

using Point = std::array< double, N_DIM >
 Point in space.
 

Variables

constexpr uint8_t N_STRESS = N_DIM * (N_DIM + 1) / 2
 Independent components of a symmetric tensor: 2D [xx, yy, xy], 3D [xx, yy, zz, xy, xz, yz].
 

Detailed Description

Mean velocity of characteristic inlets, and synthetic turbulence (digital filter) superposed on it.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2026-10-05

Typedef Documentation

◆ Point

Point in space.

Variable Documentation

◆ N_STRESS

constexpr uint8_t N_STRESS = N_DIM * (N_DIM + 1) / 2
constexpr

Independent components of a symmetric tensor: 2D [xx, yy, xy], 3D [xx, yy, zz, xy, xz, yz].