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

#include <hydraulic_fluid_auxiliary_utilities.h>

Collaboration diagram for Kratos::HydraulicFluidAuxiliaryUtilities:

Public Types

Type Definitions
using SizeType = std::size_t
 
using IndexType = std::size_t
 
using NodeType = Node
 
using GeometryType = Geometry< NodeType >
 
using PointsArrayType = typename GeometryType::PointsArrayType
 
using ModifiedShapeFunctionsFactoryType = std::function< ModifiedShapeFunctions::UniquePointer(const GeometryType::Pointer, const Vector &)>
 

Static Public Member Functions

Static Operations
static double CalculateWettedPetimeter (ModelPart &rModelPart, const Flags &rSkinFlag, const Variable< double > &rDistanceVariable, const bool IsHistorical)
 This functions calculates the wetted perimeter of a given condition in order to apply the corresponding inlet boundary condition. More...
 
static double CalculateWettedArea (ModelPart &rModelPart, const Flags &rSkinFlag, const Variable< double > &rDistanceVariable, const bool IsHistorical)
 This functions calculates the wetted area of a given condition in order to apply the corresponding inlet boundary condition. More...
 
static double InitialWaterDepth (ModelPart &rModelPart)
 Calculates initial water depth guess by taking the average between the maximum and minimum coordinates. More...
 
static void SetInletVelocity (ModelPart &rModelPart, double InletVelocity, const Variable< double > &rDistanceVariable)
 Assign the inlet velocity to all nodes that are wet in the input model part. For dry nodes(air)is assumed that the inlet velocity is null. More...
 
static void FreeInlet (ModelPart &rModelPart)
 Free the inlet velocity in the nodes belonging to inlet model part. More...
 
static void SetInletFreeSurface (ModelPart &rModelPart, const Flags &rSkinFlag, const Variable< double > &rDistanceVariable)
 Set the free surface (DISTANCE) in the rModelPart equal to the water depth corresponding to Froude 1. More...
 

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