KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Classes | Public Member Functions | List of all members
Kratos::QSVMSDerivativeUtilities< TDim > Class Template Reference

These are helper classes to define derivatives of coefficients of Navier-Stokes. More...

#include <qs_vms_derivative_utilities.h>

Collaboration diagram for Kratos::QSVMSDerivativeUtilities< TDim >:

Classes

class  Derivative
 Base class for Derivatives. More...
 
class  PressureDerivative
 Pressure derivative computation container. More...
 
class  ShapeDerivative
 Shape derivative computation container. More...
 
class  VelocityDerivative
 Velocity derivative computation container. More...
 

Public Member Functions

void CalculateStrainRate (Vector &rOutput, const Matrix &rNodalVelocity, const Matrix &rdNdX)
 
void CalculateStrainRate (Vector &rOutput, const Matrix &rNodalVelocity, const Matrix &rdNdX)
 
const std::array< const Variable< double > *, 3 > GetStrainRateVariables ()
 
const std::array< const Variable< double > *, 6 > GetStrainRateVariables ()
 

Static Public Member Functions

Static Operations
static void CalculateStrainRate (Vector &rOutput, const Matrix &rNodalVelocity, const Matrix &rdNdX)
 
static const std::array< const Variable< double > *, TStrainSizeGetStrainRateVariables ()
 

Type Definitions

using NodeType = Node
 
using GeometryType = Geometry< NodeType >
 
using IndexType = std::size_t
 
using DependentVariablesListType = std::vector< std::tuple< const Variable< double > &, std::vector< const Variable< double > * > > >
 
using DerivativeGradientsArray = std::array< const Variable< double > *, 9 >
 
constexpr static IndexType TStrainSize = (TDim - 1) * 3
 

Detailed Description

template<unsigned int TDim>
class Kratos::QSVMSDerivativeUtilities< TDim >

These are helper classes to define derivatives of coefficients of Navier-Stokes.

This class defines CalculationContainerHelper classes which can be used to compute analytical Navier-Stokes coefficient derivatives.

Coefficients being: EffectiveVelocity ElementLength StrainRate

Template Parameters
TDim

Member Typedef Documentation

◆ DependentVariablesListType

template<unsigned int TDim>
using Kratos::QSVMSDerivativeUtilities< TDim >::DependentVariablesListType = std::vector< std::tuple< const Variable<double>&, std::vector<const Variable<double>*> > >

◆ DerivativeGradientsArray

template<unsigned int TDim>
using Kratos::QSVMSDerivativeUtilities< TDim >::DerivativeGradientsArray = std::array<const Variable<double>*, 9>

◆ GeometryType

template<unsigned int TDim>
using Kratos::QSVMSDerivativeUtilities< TDim >::GeometryType = Geometry<NodeType>

◆ IndexType

template<unsigned int TDim>
using Kratos::QSVMSDerivativeUtilities< TDim >::IndexType = std::size_t

◆ NodeType

template<unsigned int TDim>
using Kratos::QSVMSDerivativeUtilities< TDim >::NodeType = Node

Member Function Documentation

◆ CalculateStrainRate() [1/3]

void Kratos::QSVMSDerivativeUtilities< 2 >::CalculateStrainRate ( Vector rOutput,
const Matrix rNodalVelocity,
const Matrix rdNdX 
)

◆ CalculateStrainRate() [2/3]

void Kratos::QSVMSDerivativeUtilities< 3 >::CalculateStrainRate ( Vector rOutput,
const Matrix rNodalVelocity,
const Matrix rdNdX 
)

◆ CalculateStrainRate() [3/3]

template<unsigned int TDim>
static void Kratos::QSVMSDerivativeUtilities< TDim >::CalculateStrainRate ( Vector rOutput,
const Matrix rNodalVelocity,
const Matrix rdNdX 
)
static

◆ GetStrainRateVariables() [1/3]

const std::array< const Variable< double > *, 3 > Kratos::QSVMSDerivativeUtilities< 2 >::GetStrainRateVariables ( )

◆ GetStrainRateVariables() [2/3]

const std::array< const Variable< double > *, 6 > Kratos::QSVMSDerivativeUtilities< 3 >::GetStrainRateVariables ( )

◆ GetStrainRateVariables() [3/3]

template<unsigned int TDim>
static const std::array<const Variable<double>*, TStrainSize> Kratos::QSVMSDerivativeUtilities< TDim >::GetStrainRateVariables ( )
static

Member Data Documentation

◆ TStrainSize

template<unsigned int TDim>
constexpr static IndexType Kratos::QSVMSDerivativeUtilities< TDim >::TStrainSize = (TDim - 1) * 3
staticconstexpr

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