stem.IO.kratos_boundaries_io module
- class stem.IO.kratos_boundaries_io.KratosBoundariesIO(domain: str)
Bases:
objectClass containing methods to write boundary conditions to Kratos
- Attributes:
domain (str): name of the Kratos domain
Constructor of KratosBoundariesIO class
- Args:
domain (str): name of the Kratos domain
- create_boundary_condition_dict(part_name: str, parameters: BoundaryParametersABC, current_time: float, use_linear_elastic_strategy: bool) Dict[str, Any] | None
Creates a dictionary containing the boundary parameters
- Args:
part_name (str): part name where the boundary condition is applied
parameters (
stem.boundary.BoundaryParametersABC): boundary parameters objectcurrent_time (float): current time of the analysis
use_linear_elastic_strategy (bool): flag to determine if the linear elastic strategy is used
- Returns:
Dict[str, Any]: dictionary containing the boundary parameters