From 20ad12938e16832b03cfc95100334d9a91bcad54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Antonio=20Zu=C3=B1iga=20Perez?= <49286443+Marco1410@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:31:40 +0200 Subject: [PATCH] Update navier_stokes_compressible_explicit_solver.py - rebuild_level value --- .../navier_stokes_compressible_explicit_solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/FluidDynamicsApplication/python_scripts/navier_stokes_compressible_explicit_solver.py b/applications/FluidDynamicsApplication/python_scripts/navier_stokes_compressible_explicit_solver.py index 751050c9ab4f..5cfddf5f3aa0 100644 --- a/applications/FluidDynamicsApplication/python_scripts/navier_stokes_compressible_explicit_solver.py +++ b/applications/FluidDynamicsApplication/python_scripts/navier_stokes_compressible_explicit_solver.py @@ -127,7 +127,7 @@ def _get_solution_strategy(self): def _create_solution_strategy(self): self.computing_model_part = self.GetComputingModelPart() strategy_settings = KratosMultiphysics.Parameters('''{}''') - strategy_settings.AddEmptyValue("rebuild_level").SetInt(0 if self.settings["reform_dofs_at_each_step"].GetBool() else 1) + strategy_settings.AddEmptyValue("rebuild_level").SetInt(1 if self.settings["reform_dofs_at_each_step"].GetBool() else 0) strategy_settings.AddEmptyValue("move_mesh_flag").SetBool(self.settings["move_mesh_flag"].GetBool()) strategy_settings.AddEmptyValue("shock_capturing_settings").RecursivelyAddMissingParameters(self.settings["shock_capturing_settings"])