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.
List of all members
Kratos::DragAndMomentUtilities Class Reference

Auxiliary utility to compute the drag force and the moment around a given point. More...

#include <drag_and_moment_utilities.h>

Collaboration diagram for Kratos::DragAndMomentUtilities:

Public Member Functions

Life Cycle
 DragAndMomentUtilities ()
 Constructor. More...
 
 ~DragAndMomentUtilities ()
 Destructor. More...
 
Operations
std::tuple< array_1d< double, 3 >, array_1d< double, 3 > > CalculateBodyFittedDragAndMoment (ModelPart &rModelPart, array_1d< double, 3 > rReferencePoint)
 
std::tuple< array_1d< double, 3 >, array_1d< double, 3 > > CalculateEmbeddedDragAndMoment (ModelPart &rModelPart, array_1d< double, 3 > rReferencePoint)
 
Input and output
std::string Info () const
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

typedef Geometry< NodeGeometryType
 
typedef IntegrationPoint< 3 > IntegrationPointType
 
typedef std::vector< IntegrationPointTypeIntegrationPointsArrayType
 
 KRATOS_CLASS_POINTER_DEFINITION (DragAndMomentUtilities)
 Pointer definition of DragAndMomentUtilities. More...
 

Detailed Description

Auxiliary utility to compute the drag force and the moment around a given point.

Add description here.

Member Typedef Documentation

◆ GeometryType

◆ IntegrationPointsArrayType

◆ IntegrationPointType

Constructor & Destructor Documentation

◆ DragAndMomentUtilities()

Kratos::DragAndMomentUtilities::DragAndMomentUtilities ( )
inline

Constructor.

◆ ~DragAndMomentUtilities()

Kratos::DragAndMomentUtilities::~DragAndMomentUtilities ( )
inline

Destructor.

Member Function Documentation

◆ CalculateBodyFittedDragAndMoment()

std::tuple< array_1d< double, 3 >, array_1d< double, 3 > > Kratos::DragAndMomentUtilities::CalculateBodyFittedDragAndMoment ( ModelPart rModelPart,
array_1d< double, 3 >  rReferencePoint 
)

Computes the integral of the pressure stress term normal projection over the conditions of the given modelpart and the base moment.

Parameters
rModelPartreference to the model part in where the drag is to be computed
Returns
An array containing the drag force value and the base moments.

◆ CalculateEmbeddedDragAndMoment()

std::tuple< array_1d< double, 3 >, array_1d< double, 3 > > Kratos::DragAndMomentUtilities::CalculateEmbeddedDragAndMoment ( ModelPart rModelPart,
array_1d< double, 3 >  rReferencePoint 
)

Computes the integral of the Cauchy stress term normal projection in the given modelpart elements.

Parameters
rModelPartreference to the model part in where the drag is to be computed
Returns
An array containing the drag force value and base moments.

◆ Info()

std::string Kratos::DragAndMomentUtilities::Info ( ) const

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::DragAndMomentUtilities::KRATOS_CLASS_POINTER_DEFINITION ( DragAndMomentUtilities  )

Pointer definition of DragAndMomentUtilities.

◆ PrintData()

void Kratos::DragAndMomentUtilities::PrintData ( std::ostream &  rOStream) const

Print object's data.

◆ PrintInfo()

void Kratos::DragAndMomentUtilities::PrintInfo ( std::ostream &  rOStream) const

Print information about this object.


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