15 #if !defined(SET_MESH_VELOCITY_FOR_THERMAL_COUPLING_PROCESS)
16 #define SET_MESH_VELOCITY_FOR_THERMAL_COUPLING_PROCESS
67 #pragma omp parallel for
69 auto it_node = it_node_begin +
i;
70 noalias(it_node->FastGetSolutionStepValue(MESH_VELOCITY)) = it_node->FastGetSolutionStepValue(VELOCITY);
84 rOStream << std::endl;
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
NodeIterator NodesBegin(IndexType ThisIndex=0)
Definition: model_part.h:487
NodesContainerType & Nodes(IndexType ThisIndex=0)
Definition: model_part.h:507
The base class for all processes in Kratos.
Definition: process.h:49
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: process.h:204
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: process.h:210
This method sets the MESH_VELOCITY equal to the nodal VELOCITY.
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:31
KRATOS_CLASS_POINTER_DEFINITION(SetMeshVelocityForThermalCouplingProcess)
ModelPart & rModelPart
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:61
void ExecuteInitialize() override
This function is designed for being called at the beginning of the computations right after reading t...
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:55
~SetMeshVelocityForThermalCouplingProcess() override
Destructor.
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:41
void Execute() override
Execute method is used to execute the Process algorithms.
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:47
void ExecuteInitializeSolutionStep() override
This function will be executed at every time step BEFORE performing the solve phase.
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:57
void operator()()
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:43
SetMeshVelocityForThermalCouplingProcess(ModelPart &model_part)
Constructor.
Definition: set_mesh_velocity_for_thermal_coupling_process.hpp:38
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
T & noalias(T &TheMatrix)
Definition: amatrix_interface.h:484
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
model_part
Definition: face_heat.py:14
integer i
Definition: TensorModule.f:17