ABLATE Source Documentation  0.12.34
ablate::finiteVolume::processes::LES Class Reference
+ Inheritance diagram for ablate::finiteVolume::processes::LES:

Public Member Functions

 LES (std::string tkeField={})
 
void Setup (ablate::finiteVolume::FiniteVolumeSolver &flow) override
 
- Public Member Functions inherited from ablate::finiteVolume::processes::Process
virtual void Initialize (ablate::finiteVolume::FiniteVolumeSolver &fv)
 

Static Public Member Functions

static PetscErrorCode LesMomentumFlux (PetscInt dim, const PetscFVFaceGeom *fg, const PetscInt uOff[], const PetscInt uOff_x[], const PetscScalar field[], const PetscScalar grad[], const PetscInt aOff[], const PetscInt aOff_x[], const PetscScalar aux[], const PetscScalar gradAux[], PetscScalar flux[], void *ctx)
 
static PetscErrorCode LesEnergyFlux (PetscInt dim, const PetscFVFaceGeom *fg, const PetscInt uOff[], const PetscInt uOff_x[], const PetscScalar field[], const PetscScalar grad[], const PetscInt aOff[], const PetscInt aOff_x[], const PetscScalar aux[], const PetscScalar gradAux[], PetscScalar flux[], void *ctx)
 
static PetscErrorCode LesTkeFlux (PetscInt dim, const PetscFVFaceGeom *fg, const PetscInt uOff[], const PetscInt uOff_x[], const PetscScalar field[], const PetscScalar grad[], const PetscInt aOff[], const PetscInt aOff_x[], const PetscScalar aux[], const PetscScalar gradAux[], PetscScalar flux[], void *ctx)
 
static PetscErrorCode LesEvFlux (PetscInt dim, const PetscFVFaceGeom *fg, const PetscInt uOff[], const PetscInt uOff_x[], const PetscScalar field[], const PetscScalar grad[], const PetscInt aOff[], const PetscInt aOff_x[], const PetscScalar aux[], const PetscScalar gradAux[], PetscScalar flux[], void *ctx)
 
static PetscErrorCode LesViscosity (PetscInt dim, const PetscFVFaceGeom *fg, const PetscScalar *densityField, const PetscReal turbulence, PetscReal &mut)
 

Constructor & Destructor Documentation

◆ LES()

ablate::finiteVolume::processes::LES::LES ( std::string  tkeField = {})
explicit

The field name containing the tkeField. This is assumed to contain the density/tke value (conserved form)

Parameters
tkeField

Member Function Documentation

◆ LesEnergyFlux()

PetscErrorCode ablate::finiteVolume::processes::LES::LesEnergyFlux ( PetscInt  dim,
const PetscFVFaceGeom *  fg,
const PetscInt  uOff[],
const PetscInt  uOff_x[],
const PetscScalar  field[],
const PetscScalar  grad[],
const PetscInt  aOff[],
const PetscInt  aOff_x[],
const PetscScalar  aux[],
const PetscScalar  gradAux[],
PetscScalar  flux[],
void *  ctx 
)
static

This computes the energy source for SGS model for rhoE f = "euler" u = {"euler"} a = {"tke", "vel", "temperature"} ctx = nullptr

Returns

◆ LesEvFlux()

PetscErrorCode ablate::finiteVolume::processes::LES::LesEvFlux ( PetscInt  dim,
const PetscFVFaceGeom *  fg,
const PetscInt  uOff[],
const PetscInt  uOff_x[],
const PetscScalar  field[],
const PetscScalar  grad[],
const PetscInt  aOff[],
const PetscInt  aOff_x[],
const PetscScalar  aux[],
const PetscScalar  gradAux[],
PetscScalar  flux[],
void *  ctx 
)
static

This computes the species transfer for SGS model for density-Yi or density ev f = "conserved_ev/yi" u = {"euler"} a = {"tke", "yi/ev"} ctx = (PetscInt*) size of yi/ev field

Returns

◆ LesMomentumFlux()

PetscErrorCode ablate::finiteVolume::processes::LES::LesMomentumFlux ( PetscInt  dim,
const PetscFVFaceGeom *  fg,
const PetscInt  uOff[],
const PetscInt  uOff_x[],
const PetscScalar  field[],
const PetscScalar  grad[],
const PetscInt  aOff[],
const PetscInt  aOff_x[],
const PetscScalar  aux[],
const PetscScalar  gradAux[],
PetscScalar  flux[],
void *  ctx 
)
static

This computes the momentum source for SGS model for rhoU f = "euler" u = {"euler"} a = {"tke, "vel"} ctx = nullptr

Returns

◆ LesTkeFlux()

PetscErrorCode ablate::finiteVolume::processes::LES::LesTkeFlux ( PetscInt  dim,
const PetscFVFaceGeom *  fg,
const PetscInt  uOff[],
const PetscInt  uOff_x[],
const PetscScalar  field[],
const PetscScalar  grad[],
const PetscInt  aOff[],
const PetscInt  aOff_x[],
const PetscScalar  aux[],
const PetscScalar  gradAux[],
PetscScalar  flux[],
void *  ctx 
)
static

This computes the EV transfer for SGS model for density_tke f = "conserved_tke" u = {"euler"} a = {"tke", "vel"} ctx = nullptr return

◆ LesViscosity()

PetscErrorCode ablate::finiteVolume::processes::LES::LesViscosity ( PetscInt  dim,
const PetscFVFaceGeom *  fg,
const PetscScalar *  densityField,
const PetscReal  turbulence,
PetscReal &  mut 
)
static

static support function to compute the turbulent viscosity

Parameters
dim
fg
field
uOff
mut
Returns

◆ Setup()

void ablate::finiteVolume::processes::LES::Setup ( ablate::finiteVolume::FiniteVolumeSolver flow)
overridevirtual

public function to link this process with the flow

Parameters
flow

Implements ablate::finiteVolume::processes::Process.


The documentation for this class was generated from the following files: