1 #ifndef KRATOS_FLUID_FIELD_UTILITY_H
2 #define KRATOS_FLUID_FIELD_UTILITY_H
22 FluidFieldUtility(SpaceTimeSet::Pointer p_sts, VelocityField::Pointer p_vector_field,
const double fluid_density = 1000.0,
const double fluid_kinematic_viscosity = 1
e-6):
23 FieldUtility(p_sts, p_vector_field), mFluidDensity(fluid_density), mFluidViscosity(fluid_kinematic_viscosity){}
36 p_vel_field->ImposeVelocityOnNodes(r_model_part, container_variable);
40 virtual std::string
Info()
const override
47 virtual void PrintInfo(std::ostream& rOStream)
const override
53 virtual void PrintData(std::ostream& rOStream)
const override
108 double mFluidDensity;
109 double mFluidViscosity;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: field_utility.h:30
Definition: fluid_field_utility.h:13
virtual std::string Info() const override
Turn back information as a stemplate<class T, std::size_t dim> tring.
Definition: fluid_field_utility.h:40
KRATOS_CLASS_POINTER_DEFINITION(FluidFieldUtility)
virtual void ImposeVelocityOnNodes(ModelPart &r_model_part, const Variable< array_1d< double, 3 > > &container_variable)
Definition: fluid_field_utility.h:33
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: fluid_field_utility.h:47
FluidFieldUtility()
Default constructor.
Definition: fluid_field_utility.h:20
FluidFieldUtility(SpaceTimeSet::Pointer p_sts, VelocityField::Pointer p_vector_field, const double fluid_density=1000.0, const double fluid_kinematic_viscosity=1e-6)
Definition: fluid_field_utility.h:22
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: fluid_field_utility.h:53
virtual ~FluidFieldUtility()
Destructor.
Definition: fluid_field_utility.h:27
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
Holds a list of variables and their position in VariablesListDataValueContainer.
Definition: variables_list.h:50
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::shared_ptr< T > shared_ptr
Definition: smart_pointers.h:27
e
Definition: run_cpp_mpi_tests.py:31