def _CreateSolver(self):
     if self.project_parameters["solver_settings"]["solver_type"].GetString()=="potential_flow":
         import KratosMultiphysics.CompressiblePotentialFlowApplication.potential_flow_solver as potential_flow_solver
         return potential_flow_solver.CreateSolver(self.model, self.project_parameters["solver_settings"])
     elif self.project_parameters["solver_settings"]["solver_type"].GetString()=="adjoint_potential_flow":
         import KratosMultiphysics.CompressiblePotentialFlowApplication.potential_flow_adjoint_solver as adjoint_solver
         return adjoint_solver.CreateSolver(self.model, self.project_parameters["solver_settings"])
     else:
         raise Exception("Solver type not added. Please specify an available solver")
 def _CreateFluidSolver(self, solver_settings, parallelism):
     return potential_flow_solver.CreateSolver(self.model, solver_settings)
 def _CreateSolver(self):
     import KratosMultiphysics.CompressiblePotentialFlowApplication.potential_flow_solver as potential_flow_solver
     return potential_flow_solver.CreateSolver(
         self.model, self.project_parameters["solver_settings"])