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

#include <fluid_field_utility.h>

Inheritance diagram for Kratos::FluidFieldUtility:
Collaboration diagram for Kratos::FluidFieldUtility:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (FluidFieldUtility)
 
 FluidFieldUtility ()
 Default constructor. More...
 
 FluidFieldUtility (SpaceTimeSet::Pointer p_sts, VelocityField::Pointer p_vector_field, const double fluid_density=1000.0, const double fluid_kinematic_viscosity=1e-6)
 
virtual ~FluidFieldUtility ()
 Destructor. More...
 
void ImposeFieldOnNodes (ModelPart &r_model_part, const VariablesList &variables_to_be_imposed) override
 
void ImposeFieldOnNodes (ModelPart &r_model_part, const Variable< array_1d< double, 3 > > &variable_to_be_imposed) override
 
virtual void ImposeVelocityOnNodes (ModelPart &r_model_part, const Variable< array_1d< double, 3 > > &container_variable)
 
virtual std::string Info () const override
 Turn back information as a stemplate<class T, std::size_t dim> tring. More...
 
virtual void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const override
 Print object's data. More...
 
- Public Member Functions inherited from Kratos::FieldUtility
 KRATOS_CLASS_POINTER_DEFINITION (FieldUtility)
 
 FieldUtility ()
 Default constructor. More...
 
 FieldUtility (SpaceTimeSet::Pointer p_sts, VectorField< 3 >::Pointer p_vector_field)
 
virtual ~FieldUtility ()
 Destructor. More...
 
void MarkNodesInside (ModelPart &r_model_part, const ProcessInfo &r_current_process_info)
 
double EvaluateFieldAtPoint (const double &time, const array_1d< double, 3 > &coor, RealField::Pointer formula)
 
array_1d< double, 3 > EvaluateFieldAtPoint (const double &time, const array_1d< double, 3 > &coor, VectorField< 3 >::Pointer formula)
 
virtual void ImposeFieldOnNodes (Variable< double > &destination_variable, const double default_value, RealField::Pointer formula, ModelPart &r_model_part, const ProcessInfo &r_current_process_info, const bool recalculate_domain)
 
virtual void ImposeFieldOnNodes (Variable< array_1d< double, 3 > > &destination_variable, const array_1d< double, 3 > default_value, VectorField< 3 >::Pointer formula, ModelPart &r_model_part, const ProcessInfo &r_current_process_info, const bool recalculate_domain)
 

Additional Inherited Members

- Protected Attributes inherited from Kratos::FieldUtility
RealField::Pointer mFormula
 
SpaceTimeSet::Pointer mDomain
 
VectorField< 3 >::Pointer mpVectorField
 
std::vector< boolmIsInArray
 

Constructor & Destructor Documentation

◆ FluidFieldUtility() [1/2]

Kratos::FluidFieldUtility::FluidFieldUtility ( )
inline

Default constructor.

◆ FluidFieldUtility() [2/2]

Kratos::FluidFieldUtility::FluidFieldUtility ( SpaceTimeSet::Pointer  p_sts,
VelocityField::Pointer  p_vector_field,
const double  fluid_density = 1000.0,
const double  fluid_kinematic_viscosity = 1e-6 
)
inline

◆ ~FluidFieldUtility()

virtual Kratos::FluidFieldUtility::~FluidFieldUtility ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ ImposeFieldOnNodes() [1/2]

void Kratos::FluidFieldUtility::ImposeFieldOnNodes ( ModelPart r_model_part,
const Variable< array_1d< double, 3 > > &  variable_to_be_imposed 
)
overridevirtual

Reimplemented from Kratos::FieldUtility.

◆ ImposeFieldOnNodes() [2/2]

void Kratos::FluidFieldUtility::ImposeFieldOnNodes ( ModelPart r_model_part,
const VariablesList variables_to_be_imposed 
)
overridevirtual

Reimplemented from Kratos::FieldUtility.

◆ ImposeVelocityOnNodes()

virtual void Kratos::FluidFieldUtility::ImposeVelocityOnNodes ( ModelPart r_model_part,
const Variable< array_1d< double, 3 > > &  container_variable 
)
inlinevirtual

◆ Info()

virtual std::string Kratos::FluidFieldUtility::Info ( ) const
inlineoverridevirtual

Turn back information as a stemplate<class T, std::size_t dim> tring.

Reimplemented from Kratos::FieldUtility.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::FluidFieldUtility::KRATOS_CLASS_POINTER_DEFINITION ( FluidFieldUtility  )

◆ PrintData()

virtual void Kratos::FluidFieldUtility::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::FieldUtility.

◆ PrintInfo()

virtual void Kratos::FluidFieldUtility::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::FieldUtility.


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