From c9fc8244f63266b455c061a215977366d9a09a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Irazabal?= Date: Mon, 24 Jan 2022 12:47:21 +0100 Subject: [PATCH] Use MainKratos --- kratos.gid/apps/Dam/app.json | 2 +- kratos.gid/apps/Dam/write/writeProjectParameters.tcl | 3 +++ kratos.gid/apps/Dam/xml/Conditions.xml | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kratos.gid/apps/Dam/app.json b/kratos.gid/apps/Dam/app.json index 1f17b1775..713a4f4dd 100644 --- a/kratos.gid/apps/Dam/app.json +++ b/kratos.gid/apps/Dam/app.json @@ -47,6 +47,6 @@ "properties_location": "mdpa", "model_part_name": "MainModelPart" }, - "main_launch_file": "python/MainKratos.py", + "main_launch_file": "../../exec/MainKratos.py", "examples": "examples/examples.xml" } diff --git a/kratos.gid/apps/Dam/write/writeProjectParameters.tcl b/kratos.gid/apps/Dam/write/writeProjectParameters.tcl index bc6b98ac6..ada1dae33 100644 --- a/kratos.gid/apps/Dam/write/writeProjectParameters.tcl +++ b/kratos.gid/apps/Dam/write/writeProjectParameters.tcl @@ -7,6 +7,9 @@ proc ::Dam::write::getParametersDict { } { set projectParametersDict [dict create] + # Analysis stage field + dict set projectParametersDict analysis_stage "KratosMultiphysics.DamApplication.dam_analysis" + ### Problem data dict set projectParametersDict problem_data [Dam::write::GetProblemDataDict] diff --git a/kratos.gid/apps/Dam/xml/Conditions.xml b/kratos.gid/apps/Dam/xml/Conditions.xml index 21c4e62da..bcc378610 100644 --- a/kratos.gid/apps/Dam/xml/Conditions.xml +++ b/kratos.gid/apps/Dam/xml/Conditions.xml @@ -5,7 +5,7 @@ @@ -20,7 +20,7 @@