parameters: (self, model_part, settings)
docstring: Incompressible Fractional Step Navier Stokes formulation
  
          This RansFormulation solves VELOCITY, and PRESSURE with Fractional Step formulated
          incompressible Navier-Stokes equation.
  
          This supports both steady and transient problems, transient with time integration scheme.
          It uses wall functions at walls, therefore SLIP flag must be True on all walls (in both conditions and nodes)
  
          Args:
              model_part (Kratos.ModelPart): ModelPart to be used in the formulation.
              settings (Kratos.Parameters): Settings to be used in the formulation.
docstring_summary: Incompressible Fractional Step Navier Stokes formulation
docstring_tokens: Incompressible Fractional Step Navier Stokes formulation
function: def __init__(self, model_part, settings):
          """Incompressible Fractional Step Navier Stokes formulation
  
          This RansFormulation solves VELOCITY, and PRESSURE with Fractional Step formulated
          incompressible Navier-Stokes equation.
  
          This supports both steady and transient problems, transient with time integration scheme.
          It uses wall functions at walls, therefore SLIP flag must be True on all walls (in both conditions and nodes)
  
          Args:
              model_part (Kratos.ModelPart): ModelPart to be used in the formulation.
              settings (Kratos.Parameters): Settings to be used in the formulation.
          """
          super().__init__(model_part, settings)
  
          ##settings string in json format
          default_settings = Kratos.Parameters("""
          {
              "formulation_name": "fractional_step",
              "predictor_corrector": false,
              "maximum_velocity_iterations": 3,
              "maximum_pressure_iterations": 3,
              "velocity_tolerance": 1e-3,
              "pressure_tolerance": 1e-2,
              "dynamic_tau": 0.01,
              "oss_switch": 0,
              "echo_level": 0,
              "time_order": 2,
              "compute_reactions": false,
              "reform_dofs_at_each_step": false,
              "pressure_linear_solver_settings":  {
                  "solver_type"                    : "amgcl",
                  "max_iteration"                  : 200,
                  "tolerance"                      : 1e-6,
                  "provide_coordinates"            : false,
                  "smoother_type"                  : "ilu0",
                  "krylov_type"                    : "cg",
                  "gmres_krylov_space_dimension"   : 100,
                  "use_block_matrices_if_possible" : false,
                  "coarsening_type"                : "aggregation",
                  "scaling"                        : true,
                  "verbosity"                      : 0
              },
              "velocity_linear_solver_settings": {
                  "solver_type"                    : "amgcl",
                  "max_iteration"                  : 200,
                  "tolerance"                      : 1e-6,
                  "provide_coordinates"            : false,
                  "smoother_type"                  : "ilu0",
                  "krylov_type"                    : "lgmres",
                  "gmres_krylov_space_dimension"   : 100,
                  "use_block_matrices_if_possible" : false,
                  "coarsening_type"                : "aggregation",
                  "scaling"                        : true,
                  "verbosity"                      : 0
              },
              "steady_convergence_settings":
              {
                  "velocity_tolerances": {
                      "relative_tolerance": 1e-3,
                      "absolute_tolerance": 1e-5
                  },
                  "pressure_tolerances": {
                      "relative_tolerance": 1e-3,
                      "absolute_tolerance": 1e-5
                  }
              }
          }""")
  
          settings.ValidateAndAssignDefaults(default_settings)
  
          self.min_buffer_size = 3
  
          self.echo_level = settings["echo_level"].GetInt()
          self.SetMaxCouplingIterations(1)
  
          Kratos.Logger.PrintInfo(self.__class__.__name__, "Construction of formulation finished.")
function_tokens: def __init__ ( self , model_part , settings ) : super ( ) . __init__ ( model_part , settings ) ##settings string in json format default_settings = Kratos . Parameters ( """
          {
              "formulation_name": "fractional_step",
              "predictor_corrector": false,
              "maximum_velocity_iterations": 3,
              "maximum_pressure_iterations": 3,
              "velocity_tolerance": 1e-3,
              "pressure_tolerance": 1e-2,
              "dynamic_tau": 0.01,
              "oss_switch": 0,
              "echo_level": 0,
              "time_order": 2,
              "compute_reactions": false,
              "reform_dofs_at_each_step": false,
              "pressure_linear_solver_settings":  {
                  "solver_type"                    : "amgcl",
                  "max_iteration"                  : 200,
                  "tolerance"                      : 1e-6,
                  "provide_coordinates"            : false,
                  "smoother_type"                  : "ilu0",
                  "krylov_type"                    : "cg",
                  "gmres_krylov_space_dimension"   : 100,
                  "use_block_matrices_if_possible" : false,
                  "coarsening_type"                : "aggregation",
                  "scaling"                        : true,
                  "verbosity"                      : 0
              },
              "velocity_linear_solver_settings": {
                  "solver_type"                    : "amgcl",
                  "max_iteration"                  : 200,
                  "tolerance"                      : 1e-6,
                  "provide_coordinates"            : false,
                  "smoother_type"                  : "ilu0",
                  "krylov_type"                    : "lgmres",
                  "gmres_krylov_space_dimension"   : 100,
                  "use_block_matrices_if_possible" : false,
                  "coarsening_type"                : "aggregation",
                  "scaling"                        : true,
                  "verbosity"                      : 0
              },
              "steady_convergence_settings":
              {
                  "velocity_tolerances": {
                      "relative_tolerance": 1e-3,
                      "absolute_tolerance": 1e-5
                  },
                  "pressure_tolerances": {
                      "relative_tolerance": 1e-3,
                      "absolute_tolerance": 1e-5
                  }
              }
          }""" ) settings . ValidateAndAssignDefaults ( default_settings ) self . min_buffer_size = 3 self . echo_level = settings [ "echo_level" ] . GetInt ( ) self . SetMaxCouplingIterations ( 1 ) Kratos . Logger . PrintInfo ( self . __class__ . __name__ , "Construction of formulation finished." )