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.
Namespaces | Functions
convection_diffusion_reaction_stabilization_utilities.h File Reference
#include <cmath>
#include "includes/ublas_interface.h"
#include "custom_utilities/rans_calculation_utilities.h"
Include dependency graph for convection_diffusion_reaction_stabilization_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::ConvectionDiffusionReactionStabilizationUtilities
 

Functions

double Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculatePsiOne (const double VelocityNorm, const double Tau, const double DynamicReaction)
 
double Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculatePsiTwo (const double DynamicReaction, const double Tau, const double ElementLength)
 
template<unsigned int TDim>
void Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculateStabilizationTau (double &rTau, double &rElementLength, const array_1d< double, TDim > &rVelocity, const Matrix &rContravariantMetricTensor, const double Reaction, const double EffectiveKinematicViscosity, const double Alpha, const double Gamma, const double DeltaTime, const double DynamicTau)
 
double Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculateStabilizationTau (const double ElementLength, const double Velocity, const double Reaction, const double EffectiveKinematicViscosity, const double Alpha, const double Gamma, const double DeltaTime, const double DynamicTau)
 
void Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculateCrossWindDiffusionParameters (double &rChi, double &rStreamLineDiffusionCoeff, double &rCrossWindDiffusionCoeff, const double VelocityMagnitude, const double Tau, const double EffectiveKinematicViscosity, const double Reaction, const double Alpha, const double Gamma, const double DeltaTime, const double ElementLength, const double DynamicTau)
 
template<unsigned int TSize>
void Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculateDiscreteUpwindOperator (double &rScalarCoeff, BoundedMatrix< double, TSize, TSize > &rDiffusionMatrix, const BoundedMatrix< double, TSize, TSize > &rInputMatrix)
 
double Kratos::ConvectionDiffusionReactionStabilizationUtilities::CalculatePositivityPreservingMatrix (const Matrix &rInputMatrix)
 
void Kratos::ConvectionDiffusionReactionStabilizationUtilities::AddMassMatrixSUPGStabilizationGaussPointContributions (Matrix &rMassMatrix, const double AbsoluteReactionTerm, const double Tau, const Vector &rVelocityConvectiveTerms, const double GaussWeight, const Vector &rGaussShapeFunctions)
 
void Kratos::ConvectionDiffusionReactionStabilizationUtilities::AddDampingMatrixSUPGStabilizationGaussPointContributions (Matrix &rDampingMatrix, const double ReactionTerm, const double Tau, const Vector &rVelocityConvectiveTerms, const double GaussWeight, const Vector &rGaussShapeFunctions)
 
void Kratos::ConvectionDiffusionReactionStabilizationUtilities::AddSourceTermWithSUPGStabilizationGaussPointContributions (Vector &rRightHandSideVector, const double SourceTerm, const double AbsoluteReactionTerm, const double Tau, const Vector &rVelocityConvectiveTerms, const double GaussWeight, const Vector &rGaussShapeFunctions)