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.
|
Variables | |
model = KratosMultiphysics.Model() | |
project_path = sys.argv[1] | |
n_stages = int(sys.argv[2]) | |
list | directory_names = [os.path.join(project_path, 'Stage_' + str(i + 1)) for i in range(n_stages)] |
list | parameters_stages = [None] * n_stages |
string | parameter_file_name = directory_name + '/ProjectParameters.json' |
list | stages = [GeoMechanicsAnalysis(model, stage_parameters) for stage_parameters in parameters_stages] |
list run_multiple_separated_stages.directory_names = [os.path.join(project_path, 'Stage_' + str(i + 1)) for i in range(n_stages)] |
run_multiple_separated_stages.model = KratosMultiphysics.Model() |
run_multiple_separated_stages.n_stages = int(sys.argv[2]) |
string run_multiple_separated_stages.parameter_file_name = directory_name + '/ProjectParameters.json' |
list run_multiple_separated_stages.parameters_stages = [None] * n_stages |
run_multiple_separated_stages.project_path = sys.argv[1] |
list run_multiple_separated_stages.stages = [GeoMechanicsAnalysis(model, stage_parameters) for stage_parameters in parameters_stages] |