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.
Public Types | Public Member Functions | List of all members
Kratos::UlfUtils Class Reference

#include <ulf_utilities.h>

Collaboration diagram for Kratos::UlfUtils:

Public Types

typedef Node NodeType
 

Public Member Functions

void ApplyBoundaryConditions (ModelPart &ThisModelPart, int laplacian_type)
 
void IdentifyFluidNodes (ModelPart &ThisModelPart)
 
void ApplyMinimalPressureConditions (std::vector< GlobalPointersVector< Node > > &connected_components)
 
double EstimateDeltaTime (double dt_min, double dt_max, ModelPart &ThisModelPart)
 
void MarkOuterNodes (const array_1d< double, 3 > &corner1, const array_1d< double, 3 > &corner2, ModelPart::NodesContainerType &rNodes)
 
double Length (array_1d< double, 3 > &Point1, array_1d< double, 3 > &Point2)
 
double CalculateTriangleArea3D (array_1d< double, 3 > &Point1, array_1d< double, 3 > &Point2, array_1d< double, 3 > &Point3)
 
double CalculateFreeSurfaceArea (ModelPart &ThisModelPart, int domain_size)
 
void CalculateNodalArea (ModelPart &ThisModelPart, int domain_size)
 
void MarkNodesTouchingWall (ModelPart &ThisModelPart, int domain_size, double factor)
 
void MarkExcessivelyCloseNodes (ModelPart::NodesContainerType &rNodes, const double admissible_distance_factor)
 
void MarkNodesCloseToFS (ModelPart &ThisModelPart, int domain_size)
 
void MarkNodesCloseToWallForBladder (ModelPart &ThisModelPart, const double &crit_distance)
 
void MarkNodesCloseToWall (ModelPart &ThisModelPart, int domain_size, double alpha_shape)
 
void SetNodalHAtLagInlet (ModelPart &ThisModelPart, double factor)
 
void RestoreNodalHAtLagInlet (ModelPart &ThisModelPart, double factor)
 
void DeleteFreeSurfaceNodesBladder (ModelPart &ThisModelPart)
 
void MarkLonelyNodesForErasing (ModelPart &ThisModelPart)
 
bool AlphaShape (double alpha_param, Geometry< Node > &pgeom)
 
bool AlphaShape3D (double alpha_param, Geometry< Node > &geom)
 
void Predict (ModelPart &ThisModelPart)
 
void MoveLonelyNodes (ModelPart &ThisModelPart)
 
void SaveLagrangianInlet (ModelPart &fluid_model_part, ModelPart &lagrangian_inlet_model_part)
 
void InjectNodesAtInlet (ModelPart &fluid_model_part, ModelPart &lagrangian_inlet_model_part, float vel_x, float vel_y, float vel_z, float h)
 
void MoveInletNodes (ModelPart &fluid_model_part, float vel_x, float vel_y, float vel_z)
 
double CalculateVolume (ModelPart &ThisModelPart, int domain_size)
 
void ReduceTimeStep (ModelPart &ThisModelPart, const double reduction_factor)
 
void NodalIncrementalPressureCalculation (const double k, ModelPart &ThisModelPart)
 
void SaveNodalArea (ModelPart &ThisModelPart)
 

Member Typedef Documentation

◆ NodeType

Member Function Documentation

◆ AlphaShape()

bool Kratos::UlfUtils::AlphaShape ( double  alpha_param,
Geometry< Node > &  pgeom 
)
inline

◆ AlphaShape3D()

bool Kratos::UlfUtils::AlphaShape3D ( double  alpha_param,
Geometry< Node > &  geom 
)
inline

◆ ApplyBoundaryConditions()

void Kratos::UlfUtils::ApplyBoundaryConditions ( ModelPart ThisModelPart,
int  laplacian_type 
)
inline

◆ ApplyMinimalPressureConditions()

void Kratos::UlfUtils::ApplyMinimalPressureConditions ( std::vector< GlobalPointersVector< Node > > &  connected_components)
inline

◆ CalculateFreeSurfaceArea()

double Kratos::UlfUtils::CalculateFreeSurfaceArea ( ModelPart ThisModelPart,
int  domain_size 
)
inline

◆ CalculateNodalArea()

void Kratos::UlfUtils::CalculateNodalArea ( ModelPart ThisModelPart,
int  domain_size 
)
inline

◆ CalculateTriangleArea3D()

double Kratos::UlfUtils::CalculateTriangleArea3D ( array_1d< double, 3 > &  Point1,
array_1d< double, 3 > &  Point2,
array_1d< double, 3 > &  Point3 
)
inline

◆ CalculateVolume()

double Kratos::UlfUtils::CalculateVolume ( ModelPart ThisModelPart,
int  domain_size 
)
inline

◆ DeleteFreeSurfaceNodesBladder()

void Kratos::UlfUtils::DeleteFreeSurfaceNodesBladder ( ModelPart ThisModelPart)
inline

◆ EstimateDeltaTime()

double Kratos::UlfUtils::EstimateDeltaTime ( double  dt_min,
double  dt_max,
ModelPart ThisModelPart 
)
inline

◆ IdentifyFluidNodes()

void Kratos::UlfUtils::IdentifyFluidNodes ( ModelPart ThisModelPart)
inline

◆ InjectNodesAtInlet()

void Kratos::UlfUtils::InjectNodesAtInlet ( ModelPart fluid_model_part,
ModelPart lagrangian_inlet_model_part,
float  vel_x,
float  vel_y,
float  vel_z,
float  h 
)
inline

◆ Length()

double Kratos::UlfUtils::Length ( array_1d< double, 3 > &  Point1,
array_1d< double, 3 > &  Point2 
)
inline

◆ MarkExcessivelyCloseNodes()

void Kratos::UlfUtils::MarkExcessivelyCloseNodes ( ModelPart::NodesContainerType rNodes,
const double  admissible_distance_factor 
)
inline

◆ MarkLonelyNodesForErasing()

void Kratos::UlfUtils::MarkLonelyNodesForErasing ( ModelPart ThisModelPart)
inline

◆ MarkNodesCloseToFS()

void Kratos::UlfUtils::MarkNodesCloseToFS ( ModelPart ThisModelPart,
int  domain_size 
)
inline

◆ MarkNodesCloseToWall()

void Kratos::UlfUtils::MarkNodesCloseToWall ( ModelPart ThisModelPart,
int  domain_size,
double  alpha_shape 
)
inline

◆ MarkNodesCloseToWallForBladder()

void Kratos::UlfUtils::MarkNodesCloseToWallForBladder ( ModelPart ThisModelPart,
const double crit_distance 
)
inline

◆ MarkNodesTouchingWall()

void Kratos::UlfUtils::MarkNodesTouchingWall ( ModelPart ThisModelPart,
int  domain_size,
double  factor 
)
inline

◆ MarkOuterNodes()

void Kratos::UlfUtils::MarkOuterNodes ( const array_1d< double, 3 > &  corner1,
const array_1d< double, 3 > &  corner2,
ModelPart::NodesContainerType rNodes 
)
inline

◆ MoveInletNodes()

void Kratos::UlfUtils::MoveInletNodes ( ModelPart fluid_model_part,
float  vel_x,
float  vel_y,
float  vel_z 
)
inline

◆ MoveLonelyNodes()

void Kratos::UlfUtils::MoveLonelyNodes ( ModelPart ThisModelPart)
inline

◆ NodalIncrementalPressureCalculation()

void Kratos::UlfUtils::NodalIncrementalPressureCalculation ( const double  k,
ModelPart ThisModelPart 
)
inline

◆ Predict()

void Kratos::UlfUtils::Predict ( ModelPart ThisModelPart)
inline

◆ ReduceTimeStep()

void Kratos::UlfUtils::ReduceTimeStep ( ModelPart ThisModelPart,
const double  reduction_factor 
)
inline

◆ RestoreNodalHAtLagInlet()

void Kratos::UlfUtils::RestoreNodalHAtLagInlet ( ModelPart ThisModelPart,
double  factor 
)
inline

◆ SaveLagrangianInlet()

void Kratos::UlfUtils::SaveLagrangianInlet ( ModelPart fluid_model_part,
ModelPart lagrangian_inlet_model_part 
)
inline

◆ SaveNodalArea()

void Kratos::UlfUtils::SaveNodalArea ( ModelPart ThisModelPart)
inline

◆ SetNodalHAtLagInlet()

void Kratos::UlfUtils::SetNodalHAtLagInlet ( ModelPart ThisModelPart,
double  factor 
)
inline

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