SOLVER FROM PLAXIS LE

Hi guys,

I'm running a loop to get the fos but each time the solver opens. Is there a way not to open it?

Thank you for your consideration.

I look forward to hearing from you,

Mariele

Parents
  • The API docs mention a flag to the “solve” function, to hide the solver window while computing the FOS. It defaults to “False, meaning hidden, so you must have that flag set to True?

    I’m making a guess here since you did not mention exactly what you are doing, but this is the function that would trigger the solver.

    Here’s the definition for that function.

     

    def solve(model: Model, auto_exit: bool = True, hide_window: bool = False, solver_path: str = None) -> SolutionResult:

        """Call the PLAXIS LE slope stability solver to solve the model.

     

        Args:

            model (Model): The model to be solved.

            auto_exit (bool, optional): Close the solver UI when complete. Defaults to `True`.

            hide_window (bool, optional): Hide the solver UI. Defaults to `False`.

            solver_path (str, optional): Custom path to the PLAXIS LE solver executable. Defaults to `None`.

     

        Returns:

            SolutionResult: An object containing the minimum FOS, output path of the model, and a list with set \

        of slip surfaces for each CalculationMethod that was given.

        """

    Answer Verified By: Mariele Rodrigues 

Reply
  • The API docs mention a flag to the “solve” function, to hide the solver window while computing the FOS. It defaults to “False, meaning hidden, so you must have that flag set to True?

    I’m making a guess here since you did not mention exactly what you are doing, but this is the function that would trigger the solver.

    Here’s the definition for that function.

     

    def solve(model: Model, auto_exit: bool = True, hide_window: bool = False, solver_path: str = None) -> SolutionResult:

        """Call the PLAXIS LE slope stability solver to solve the model.

     

        Args:

            model (Model): The model to be solved.

            auto_exit (bool, optional): Close the solver UI when complete. Defaults to `True`.

            hide_window (bool, optional): Hide the solver UI. Defaults to `False`.

            solver_path (str, optional): Custom path to the PLAXIS LE solver executable. Defaults to `None`.

     

        Returns:

            SolutionResult: An object containing the minimum FOS, output path of the model, and a list with set \

        of slip surfaces for each CalculationMethod that was given.

        """

    Answer Verified By: Mariele Rodrigues 

Children