![]() |
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.
|
Classes | |
| class | Sub_model_part |
Functions | |
| def | clear_node_data_from_mdpa (mdpa_data, line=0) |
| def | clear_element_data_from_mdpa (mdpa_data, nr_element_types, line=0) |
| def | count_element_types (mdpa_data) |
| def | collect_submodel_parts_from_mdpa (mdpa_data) |
| def | remove_sub_model_part (mdpa_data, sub_model_part, line=0) |
| def | compare_and_edit_sub_model_parts (duplicated_submodel_part) |
| def | add_new_sub_model_part (mdpa_data, submodel_part) |
| def | read_all_projects (all_project_names) |
| def | clear_duplications_in_mdpa_files (all_project_names, all_mdpa_data) |
| def | update_project_parameters_files (all_project_parameters) |
| def | write_all_files_in_project_dir (main_folder, new_project_name, all_project_names, all_project_parameters, all_material_parameters, all_mdpa_data) |
| def | run_main (main_folder, all_project_names, new_project_name) |
Variables | |
| string | main_folder = r"C:\Users\noordam\Documenten\Kratos\applications\GeoMechanicsApplication\test_examples" |
| list | all_project_names = [r"simple_dike_test_stage1.gid", r"simple_dike_test_stage2.gid"] |
| string | new_project_name = r'simple_dike_test_all_stages' |
| def collect_stages.add_new_sub_model_part | ( | mdpa_data, | |
| submodel_part | |||
| ) |
:param mdpa_data: :param submodel_part: :return:
| def collect_stages.clear_duplications_in_mdpa_files | ( | all_project_names, | |
| all_mdpa_data | |||
| ) |
| def collect_stages.clear_element_data_from_mdpa | ( | mdpa_data, | |
| nr_element_types, | |||
line = 0 |
|||
| ) |
:param mdpa_data: :param line: :return:
| def collect_stages.clear_node_data_from_mdpa | ( | mdpa_data, | |
line = 0 |
|||
| ) |
:param mdpa_data: :param line: :return:
| def collect_stages.collect_submodel_parts_from_mdpa | ( | mdpa_data | ) |
:param mdpa_data: :return:
| def collect_stages.compare_and_edit_sub_model_parts | ( | duplicated_submodel_part | ) |
:param duplicated_submodel_parts: :return:
| def collect_stages.count_element_types | ( | mdpa_data | ) |
| def collect_stages.read_all_projects | ( | all_project_names | ) |
:param all_project_names: :return:
| def collect_stages.remove_sub_model_part | ( | mdpa_data, | |
| sub_model_part, | |||
line = 0 |
|||
| ) |
:param mdpa_data: :param sub_model_part: :param line: :return:
| def collect_stages.run_main | ( | main_folder, | |
| all_project_names, | |||
| new_project_name | |||
| ) |
:param main_folder: overlaying folder of all stages :param all_project_names: all gid project names :param new_project_name: new project name :return:
| def collect_stages.update_project_parameters_files | ( | all_project_parameters | ) |
:param all_project_parameter: :return:
| def collect_stages.write_all_files_in_project_dir | ( | main_folder, | |
| new_project_name, | |||
| all_project_names, | |||
| all_project_parameters, | |||
| all_material_parameters, | |||
| all_mdpa_data | |||
| ) |
| list collect_stages.all_project_names = [r"simple_dike_test_stage1.gid", r"simple_dike_test_stage2.gid"] |
| string collect_stages.main_folder = r"C:\Users\noordam\Documenten\Kratos\applications\GeoMechanicsApplication\test_examples" |
| string collect_stages.new_project_name = r'simple_dike_test_all_stages' |