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.
|
A collection of functions to compute element size, to be used as the h parameter in stabilized CFD formulations. More...
#include <element_size_calculator.h>
Public Member Functions | |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | MinimumElementSize (const Geometry< Node > &rGeometry) |
double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | AverageElementSize (const Geometry< Node > &rGeometry) |
double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
Life Cycle | |
ElementSizeCalculator ()=delete | |
ElementSizeCalculator (ElementSizeCalculator const &rOther)=delete | |
Deleted copy constructor. More... | |
~ElementSizeCalculator () | |
Destructor. More... | |
Operators | |
ElementSizeCalculator & | operator= (ElementSizeCalculator const &rOther)=delete |
Deleted assignment operator. More... | |
Static Public Member Functions | |
Operations | |
static double | MinimumElementSize (const Geometry< Node > &rGeometry) |
Minimum element size based on the geometry. More... | |
static double | MinimumElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
Minimum element size derivative based on the geometry. More... | |
static double | AverageElementSize (const Geometry< Node > &rGeometry) |
Average element size based on the geometry. More... | |
static double | AverageElementSizeDerivative (const unsigned int DerivativeNodeIndex, const unsigned int DerivativeDirectionIndex, const Geometry< Node > &rGeometry) |
Average element size derivative based on the geometry. More... | |
static double | ProjectedElementSize (const Geometry< Node > &rGeometry, const array_1d< double, 3 > &rVelocity) |
Projected element size in the direction of the velocity vector. More... | |
static double | GradientsElementSize (const BoundedMatrix< double, 3, 2 > &rDN_DX) |
Element size based on the shape functions gradients. Triangle element version. More... | |
static double | GradientsElementSize (const BoundedMatrix< double, 4, 3 > &rDN_DX) |
Element size based on the shape functions gradients. Tetrahedral element version. More... | |
Type Definitions | |
typedef BoundedMatrix< double, TNumNodes, TDim > | ShapeDerivativesType |
KRATOS_CLASS_POINTER_DEFINITION (ElementSizeCalculator) | |
Pointer definition of ElementSizeCalculator. More... | |
A collection of functions to compute element size, to be used as the h parameter in stabilized CFD formulations.
typedef BoundedMatrix<double,TNumNodes,TDim> Kratos::ElementSizeCalculator< TDim, TNumNodes >::ShapeDerivativesType |
|
delete |
|
delete |
Deleted copy constructor.
Kratos::ElementSizeCalculator< TDim, TNumNodes >::~ElementSizeCalculator |
Destructor.
double Kratos::ElementSizeCalculator< 2, 3 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 2, 6 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 2, 4 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 2, 9 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 4 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 10 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 6 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 8 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 27 >::AverageElementSize | ( | const Geometry< Node > & | rGeometry | ) |
|
static |
Average element size based on the geometry.
rGeometry | The geometry of calling element. |
double Kratos::ElementSizeCalculator< 2, 3 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 2, 6 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 2, 4 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 2, 9 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 4 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 10 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 6 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 8 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 27 >::AverageElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
|
static |
Average element size derivative based on the geometry.
DerivativeNodeIndex | NodeIndex for which the derivative is obtained |
DerivativeDirectionIndex | DirectionIndex for which the derivative is obtained |
rGeometry | The geometry of calling element |
|
static |
Element size based on the shape functions gradients. Triangle element version.
rDN_DX | The shape functions gradients. |
|
static |
Element size based on the shape functions gradients. Tetrahedral element version.
rDN_DX | The shape functions gradients. |
Kratos::ElementSizeCalculator< TDim, TNumNodes >::KRATOS_CLASS_POINTER_DEFINITION | ( | ElementSizeCalculator< TDim, TNumNodes > | ) |
Pointer definition of ElementSizeCalculator.
double Kratos::ElementSizeCalculator< 2, 3 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 2, 6 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 2, 4 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 2, 9 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 4 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 10 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 6 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 8 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
double Kratos::ElementSizeCalculator< 3, 27 >::MinimumElementSize | ( | const Geometry< Node > & | rGeometry | ) |
|
static |
Minimum element size based on the geometry.
rGeometry | The geometry of calling element. |
double Kratos::ElementSizeCalculator< 2, 3 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 2, 6 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 2, 4 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 2, 9 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 4 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 10 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 6 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 8 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
double Kratos::ElementSizeCalculator< 3, 27 >::MinimumElementSizeDerivative | ( | const unsigned int | DerivativeNodeIndex, |
const unsigned int | DerivativeDirectionIndex, | ||
const Geometry< Node > & | rGeometry | ||
) |
|
static |
Minimum element size derivative based on the geometry.
DerivativeNodeIndex | NodeIndex for which the derivative is obtained |
DerivativeDirectionIndex | DirectionIndex for which the derivative is obtained |
rGeometry | The geometry of calling element |
|
delete |
Deleted assignment operator.
double Kratos::ElementSizeCalculator< 2, 3 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 2, 6 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 2, 4 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 2, 9 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 3, 4 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 3, 10 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 3, 6 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 3, 8 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
double Kratos::ElementSizeCalculator< 3, 27 >::ProjectedElementSize | ( | const Geometry< Node > & | rGeometry, |
const array_1d< double, 3 > & | rVelocity | ||
) |
|
static |
Projected element size in the direction of the velocity vector.
rGeometry | The geometry of calling element. |
rVelocity | The velocity defining the direction of projection. |