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 | Static Public Member Functions | Public Attributes | List of all members
impose_mesh_motion_process.ImposeMeshMotionProcess Class Reference

Impose a rotation followed by translation on a ModelPart. More...

Inheritance diagram for impose_mesh_motion_process.ImposeMeshMotionProcess:
Collaboration diagram for impose_mesh_motion_process.ImposeMeshMotionProcess:

Public Member Functions

def __init__ (self, KratosMultiphysics.Model model, KratosMultiphysics.Parameters parameters)
 Impose a rotation followed by translation on a ModelPart. More...
 
def ExecuteInitializeSolutionStep (self)
 

Static Public Member Functions

def GetDefaultParameters ()
 

Public Attributes

 model_part
 
 interval_utility
 
 transform
 

Detailed Description

Impose a rotation followed by translation on a ModelPart.

   @details The transformation is equivalent to:
            1) Translation to the reference frame (offset the origin)
            2) Specified rotation
            3) Reverse translation from the reference frame (undo origin offset)
            4) Specified translation
            Note: angles in radians

            The rotation can be defined by either "euler_angles"
            or a "rotation_axis" and "rotation_angle" pair. The following parameters can be
            defined parametrically (see GenericFunctionUtility):
            "euler_angles", "rotation_axis", "reference_point", "rotation_angle", "translation_vector"

           Default parameters:
           @code
           {
               "model_part_name"       : "",
               "interval"              : [0.0, "End"],
               "rotation_definition"   : "rotation_axis",
               "euler_angles"          : [0.0, 0.0, 0.0],
               "rotation_axis"         : [0.0, 0.0, 1.0],
               "reference_point"       : [0.0, 0.0, 0.0]
               "rotation_angle"        : 0,
               "translation_vector"    : [0.0, 0.0, 0.0],
           }
           @endcode

   @note the euler angles follow the convention specified by @ref{Quaternion} (Z, -X', Z")

Constructor & Destructor Documentation

◆ __init__()

def impose_mesh_motion_process.ImposeMeshMotionProcess.__init__ (   self,
KratosMultiphysics.Model  model,
KratosMultiphysics.Parameters  parameters 
)

Impose a rotation followed by translation on a ModelPart.

Member Function Documentation

◆ ExecuteInitializeSolutionStep()

def impose_mesh_motion_process.ImposeMeshMotionProcess.ExecuteInitializeSolutionStep (   self)

◆ GetDefaultParameters()

def impose_mesh_motion_process.ImposeMeshMotionProcess.GetDefaultParameters ( )
static

Member Data Documentation

◆ interval_utility

impose_mesh_motion_process.ImposeMeshMotionProcess.interval_utility

◆ model_part

impose_mesh_motion_process.ImposeMeshMotionProcess.model_part

◆ transform

impose_mesh_motion_process.ImposeMeshMotionProcess.transform

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