From ba0f949cdabd9a381c8b00d138e5f388b8c5ee0e Mon Sep 17 00:00:00 2001 From: sunethwarna Date: Mon, 18 Mar 2024 08:29:29 +0100 Subject: [PATCH] revert changes to vm shape control --- .../controls/shape/vertex_morphing_shape_control.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/applications/OptimizationApplication/python_scripts/controls/shape/vertex_morphing_shape_control.py b/applications/OptimizationApplication/python_scripts/controls/shape/vertex_morphing_shape_control.py index 605cf069320c..b443009e6ba4 100644 --- a/applications/OptimizationApplication/python_scripts/controls/shape/vertex_morphing_shape_control.py +++ b/applications/OptimizationApplication/python_scripts/controls/shape/vertex_morphing_shape_control.py @@ -51,11 +51,8 @@ def GetImplicitFilterParameters(filter_model_part_name: str, parameters: Kratos. } }""") - vec_name = "HELMHOLTZ_VECTOR" if filter_type == "bulk_surface_implicit": implicit_vector_filter_parameters["solver_settings"]["filter_type"].SetString("bulk_surface_shape") - vec_name = "MESH_DISPLACEMENT" - implicit_vector_filter_parameters["solver_settings"].AddDouble("filter_radius",filter_radius) implicit_vector_filter_parameters["solver_settings"].AddString("model_part_name",filter_model_part_name) @@ -72,7 +69,7 @@ def GetImplicitFilterParameters(filter_model_part_name: str, parameters: Kratos. "process_name" : "FixVectorVariableProcess", "Parameters" : { "model_part_name" : \""""+model_part_name+"""\", - "variable_name" : \""""+vec_name+"""\", + "variable_name" : "HELMHOLTZ_VECTOR", "constrained" : [false,false,false] } }