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.
|
Impose a rotation followed by translation on a ModelPart. More...
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 | |
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")
def impose_mesh_motion_process.ImposeMeshMotionProcess.__init__ | ( | self, | |
KratosMultiphysics.Model | model, | ||
KratosMultiphysics.Parameters | parameters | ||
) |
Impose a rotation followed by translation on a ModelPart.
def impose_mesh_motion_process.ImposeMeshMotionProcess.ExecuteInitializeSolutionStep | ( | self | ) |
|
static |
impose_mesh_motion_process.ImposeMeshMotionProcess.interval_utility |
impose_mesh_motion_process.ImposeMeshMotionProcess.model_part |
impose_mesh_motion_process.ImposeMeshMotionProcess.transform |