diff --git a/applications/FSIapplication/python_scripts/partitioned_fsi_base_solver.py b/applications/FSIapplication/python_scripts/partitioned_fsi_base_solver.py index fdf8e3e0960e..7a5f94910cc3 100755 --- a/applications/FSIapplication/python_scripts/partitioned_fsi_base_solver.py +++ b/applications/FSIapplication/python_scripts/partitioned_fsi_base_solver.py @@ -22,11 +22,11 @@ import KratosMultiphysics.FluidDynamicsApplication as KratosFluid import KratosMultiphysics.StructuralMechanicsApplication as KratosStructural -def CreateSolver(structure_main_model_part, fluid_main_model_part, project_parameters): - return PartitionedFSIBaseSolver(structure_main_model_part, fluid_main_model_part, project_parameters) +def CreateSolver(fluid_main_model_part, project_parameters): + return PartitionedFSIBaseSolver(fluid_main_model_part, project_parameters) class PartitionedFSIBaseSolver: - def __init__(self, structure_main_model_part, fluid_main_model_part, project_parameters): + def __init__(self, fluid_main_model_part, project_parameters): print("** Calling the partitioned FSI base solver constructor...") @@ -41,7 +41,6 @@ def __init__(self, structure_main_model_part, fluid_main_model_part, project_par if end_time_structure != end_time_fluid: raise("ERROR: Different final time among subdomains!") - self.structure_main_model_part = structure_main_model_part self.fluid_main_model_part = fluid_main_model_part # Time stepping checks (no sub-stepping between subdomains has been implemented yed) diff --git a/applications/FSIapplication/python_scripts/partitioned_fsi_dirichlet_neumann_solver.py b/applications/FSIapplication/python_scripts/partitioned_fsi_dirichlet_neumann_solver.py index e7045dffcdcd..ef5277260d7c 100755 --- a/applications/FSIapplication/python_scripts/partitioned_fsi_dirichlet_neumann_solver.py +++ b/applications/FSIapplication/python_scripts/partitioned_fsi_dirichlet_neumann_solver.py @@ -26,14 +26,14 @@ # Import base class file import partitioned_fsi_base_solver -def CreateSolver(structure_main_model_part, fluid_main_model_part, project_parameters): - return PartitionedFSIDirichletNeumannSolver(structure_main_model_part, fluid_main_model_part, project_parameters) +def CreateSolver(fluid_main_model_part, project_parameters): + return PartitionedFSIDirichletNeumannSolver(fluid_main_model_part, project_parameters) class PartitionedFSIDirichletNeumannSolver(partitioned_fsi_base_solver.PartitionedFSIBaseSolver): - def __init__(self, structure_main_model_part, fluid_main_model_part, project_parameters): + def __init__(self, fluid_main_model_part, project_parameters): print("*** Partitioned Dirichlet-Neumann FSI solver construction starts...") - super(PartitionedFSIDirichletNeumannSolver, self).__init__(structure_main_model_part, fluid_main_model_part, project_parameters) + super(PartitionedFSIDirichletNeumannSolver, self).__init__(fluid_main_model_part, project_parameters) print("*** Partitioned Dirichlet-Neumann FSI solver construction finished.")