COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Public Member Functions | Public Attributes | List of all members
ComputeTauImpl Struct Reference

Calculation of the stabilization coefficients for the SUPG method. More...

#include <SUPG.hpp>

Inherits noncopyable.

Public Types

typedef void result_type
 

Public Member Functions

 ComputeTauImpl ()
 
template<typename UT , typename NUT >
void operator() (const UT &u, const NUT &nu_eff, const Real &dt, Real &tau_ps, Real &tau_su, Real &tau_bulk) const
 Compute the coefficients for the full Navier-Stokes equations. More...
 
template<typename UT , typename NUT >
void operator() (const UT &u, const NUT &nu_eff, const Real &dt, Real &tau_su) const
 Only compute the SUPG coefficient. More...
 
template<typename UT >
void operator() (const UT &u, const Real &nu_eff, const Real &dt, Real &tau_su) const
 Only compute the SUPG coefficient, overload for scalar viscosity. More...
 
template<typename SupportEtypeT , Uint Dim, bool IsEquationVar>
void compute_coefficients (const solver::actions::Proto::EtypeTVariableData< solver::actions::Proto::ElementBased< Dim >, SupportEtypeT, Dim, IsEquationVar > &u, const Real element_nu, const Real &dt, Real &tau_ps, Real &tau_su, Real &tau_bulk) const
 
template<typename UT >
void compute_coefficients (const UT &u, const Real element_nu, const Real &dt, Real &tau_ps, Real &tau_su, Real &tau_bulk) const
 
void trigger_supg_type ()
 

Public Attributes

Real alpha_ps
 
Real alpha_su
 
Real alpha_bu
 
SUPGTypes::Type supg_type
 
std::string supg_type_str
 
Real c1
 
Real c2
 
Real u_ref
 

Detailed Description

Calculation of the stabilization coefficients for the SUPG method.

Definition at line 92 of file SUPG.hpp.

Member Typedef Documentation

typedef void result_type

Definition at line 106 of file SUPG.hpp.

Constructor & Destructor Documentation

ComputeTauImpl ( )
inline

Definition at line 94 of file SUPG.hpp.

Member Function Documentation

void compute_coefficients ( const solver::actions::Proto::EtypeTVariableData< solver::actions::Proto::ElementBased< Dim >, SupportEtypeT, Dim, IsEquationVar > &  u,
const Real  element_nu,
const Real &  dt,
Real &  tau_ps,
Real &  tau_su,
Real &  tau_bulk 
) const
inline

Definition at line 136 of file SUPG.hpp.

void compute_coefficients ( const UT &  u,
const Real  element_nu,
const Real &  dt,
Real &  tau_ps,
Real &  tau_su,
Real &  tau_bulk 
) const
inline

Definition at line 141 of file SUPG.hpp.

void operator() ( const UT &  u,
const NUT &  nu_eff,
const Real &  dt,
Real &  tau_ps,
Real &  tau_su,
Real &  tau_bulk 
) const
inline

Compute the coefficients for the full Navier-Stokes equations.

Definition at line 110 of file SUPG.hpp.

void operator() ( const UT &  u,
const NUT &  nu_eff,
const Real &  dt,
Real &  tau_su 
) const
inline

Only compute the SUPG coefficient.

Definition at line 120 of file SUPG.hpp.

void operator() ( const UT &  u,
const Real &  nu_eff,
const Real &  dt,
Real &  tau_su 
) const
inline

Only compute the SUPG coefficient, overload for scalar viscosity.

Definition at line 128 of file SUPG.hpp.

void trigger_supg_type ( )
inline

Definition at line 221 of file SUPG.hpp.

Member Data Documentation

Real alpha_bu

Definition at line 226 of file SUPG.hpp.

Real alpha_ps

Definition at line 226 of file SUPG.hpp.

Real alpha_su

Definition at line 226 of file SUPG.hpp.

Real c1

Definition at line 231 of file SUPG.hpp.

Real c2

Definition at line 231 of file SUPG.hpp.

SUPGTypes::Type supg_type

Definition at line 227 of file SUPG.hpp.

std::string supg_type_str

Definition at line 228 of file SUPG.hpp.

Real u_ref

Definition at line 234 of file SUPG.hpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin