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
compute_level_force_process.ComputeLevelForceProcess Class Reference
Inheritance diagram for compute_level_force_process.ComputeLevelForceProcess:
Collaboration diagram for compute_level_force_process.ComputeLevelForceProcess:

Public Member Functions

def __init__ (self, KratosMultiphysics.Model model, KratosMultiphysics.Parameters parameters)
 Reduce nodal reaction forces and torques on stacked slab domains. More...
 
def ExecuteFinalizeSolutionStep (self)
 

Static Public Member Functions

def GetDefaultParameters ()
 
def ParseOutput (pathlib.Path fileName)
 Get output values from a file written by this process (temporary implementation). More...
 

Public Attributes

 model_part
 
 moment_reference_point
 
 bottom_point
 
 top_point
 
 time_domain
 
 number_of_slabs
 
 is_open_domain
 
 output_name_stub
 

Constructor & Destructor Documentation

◆ __init__()

def compute_level_force_process.ComputeLevelForceProcess.__init__ (   self,
KratosMultiphysics.Model  model,
KratosMultiphysics.Parameters  parameters 
)

Reduce nodal reaction forces and torques on stacked slab domains.

A region of space between 'bottom_point' and 'top_point' is subdivided into 'number_of_slabs' parallel slabs. Then, nodes from the specified model part are sorted into sub model parts based on which slab they are located in. Finally, for each sub model part, the reaction forces are summed up, and their torque (plus MOMENT if applicable) is reduced to 'moment_reference_point'. The reduced values are written to output files for each sub model part. Default parameters: { "model_part_name" : "", "moment_reference_point" : [0.0, 0.0, 0.0], "bottom_point" : [0.0, 0.0, 0.0], "top_point" : [0.0, 0.0, 0.0], "number_of_slabs" : 1, "open_domain" : false, "time_domain" : [0.0, 1e100], "output_name_stub" : "slab_" }

Member Function Documentation

◆ ExecuteFinalizeSolutionStep()

def compute_level_force_process.ComputeLevelForceProcess.ExecuteFinalizeSolutionStep (   self)

◆ GetDefaultParameters()

def compute_level_force_process.ComputeLevelForceProcess.GetDefaultParameters ( )
static

◆ ParseOutput()

def compute_level_force_process.ComputeLevelForceProcess.ParseOutput ( pathlib.Path  fileName)
static

Get output values from a file written by this process (temporary implementation).

Member Data Documentation

◆ bottom_point

compute_level_force_process.ComputeLevelForceProcess.bottom_point

◆ is_open_domain

compute_level_force_process.ComputeLevelForceProcess.is_open_domain

◆ model_part

compute_level_force_process.ComputeLevelForceProcess.model_part

◆ moment_reference_point

compute_level_force_process.ComputeLevelForceProcess.moment_reference_point

◆ number_of_slabs

compute_level_force_process.ComputeLevelForceProcess.number_of_slabs

◆ output_name_stub

compute_level_force_process.ComputeLevelForceProcess.output_name_stub

◆ time_domain

compute_level_force_process.ComputeLevelForceProcess.time_domain

◆ top_point

compute_level_force_process.ComputeLevelForceProcess.top_point

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