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 | |
class | Kratos::HydraulicFluidAuxiliaryUtilities |
Variables | |
NodeType::Pointer | Kratos::HydraulicFluidAuxiliaryUtilities::EdgeDataContainer::pNodeI = nullptr |
NodeType::Pointer | Kratos::HydraulicFluidAuxiliaryUtilities::EdgeDataContainer::pNodeJ = nullptr |
SizeType | Kratos::HydraulicFluidAuxiliaryUtilities::EdgeDataContainer::NumberOfRepetitions = 0 |
Type Definitions | |
using | Kratos::HydraulicFluidAuxiliaryUtilities::SizeType = std::size_t |
using | Kratos::HydraulicFluidAuxiliaryUtilities::IndexType = std::size_t |
using | Kratos::HydraulicFluidAuxiliaryUtilities::NodeType = Node |
using | Kratos::HydraulicFluidAuxiliaryUtilities::GeometryType = Geometry< NodeType > |
using | Kratos::HydraulicFluidAuxiliaryUtilities::PointsArrayType = typename GeometryType::PointsArrayType |
using | Kratos::HydraulicFluidAuxiliaryUtilities::ModifiedShapeFunctionsFactoryType = std::function< ModifiedShapeFunctions::UniquePointer(const GeometryType::Pointer, const Vector &)> |
Static Operations | |
static double | Kratos::HydraulicFluidAuxiliaryUtilities::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 | Kratos::HydraulicFluidAuxiliaryUtilities::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 | Kratos::HydraulicFluidAuxiliaryUtilities::InitialWaterDepth (ModelPart &rModelPart) |
Calculates initial water depth guess by taking the average between the maximum and minimum coordinates. More... | |
static void | Kratos::HydraulicFluidAuxiliaryUtilities::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 | Kratos::HydraulicFluidAuxiliaryUtilities::FreeInlet (ModelPart &rModelPart) |
Free the inlet velocity in the nodes belonging to inlet model part. More... | |
static void | Kratos::HydraulicFluidAuxiliaryUtilities::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... | |
using Kratos::HydraulicFluidAuxiliaryUtilities::IndexType = std::size_t |
using Kratos::HydraulicFluidAuxiliaryUtilities::ModifiedShapeFunctionsFactoryType = std::function<ModifiedShapeFunctions::UniquePointer(const GeometryType::Pointer, const Vector&)> |
using Kratos::HydraulicFluidAuxiliaryUtilities::PointsArrayType = typename GeometryType::PointsArrayType |
using Kratos::HydraulicFluidAuxiliaryUtilities::SizeType = std::size_t |
|
static |
This functions calculates the wetted area of a given condition in order to apply the corresponding inlet boundary condition.
rModelPart | Inlet Model Part |
rSkinFlag | Flag that marks the conditions to be included in the calculation |
rDistanceVariable | Reference to the variable containing the distance |
IsHistorical | True if the distance is in the historical database, false otherwise |
|
static |
This functions calculates the wetted perimeter of a given condition in order to apply the corresponding inlet boundary condition.
rModelPart | Inlet Model Part |
rSkinFlag | Flag that marks the conditions to be included in the calculation |
rDistanceVariable | Reference to the variable containing the distance |
IsHistorical | True if the distance is in the historical database, false otherwise |
|
static |
Free the inlet velocity in the nodes belonging to inlet model part.
rModelPart | Inlet Model Part |
Calculates initial water depth guess by taking the average between the maximum and minimum coordinates.
rModelPart | Inlet Model Part |
SizeType Kratos::HydraulicFluidAuxiliaryUtilities::EdgeDataContainer::NumberOfRepetitions = 0 |
NodeType::Pointer Kratos::HydraulicFluidAuxiliaryUtilities::EdgeDataContainer::pNodeI = nullptr |
NodeType::Pointer Kratos::HydraulicFluidAuxiliaryUtilities::EdgeDataContainer::pNodeJ = nullptr |