windse.SolverManager¶
The SolverManager contains all the different ways to solve problems generated in windse
-
class
windse.SolverManager.GenericSolver(problem)¶ Bases:
objectA GenericSolver contains on the basic functions required by all solver objects.
-
ChangeWindAngle(inflow_angle)¶ This function recomputes all necessary components for a new wind direction
Parameters: theta (float) – The new wind angle in radians
-
ChangeWindSpeed(inflow_speed)¶ This function recomputes all necessary components for a new wind direction
Parameters: theta (float) – The new wind angle in radians
-
Save(val=0)¶ This function saves the mesh and boundary markers to output/…/solutions/
-
-
class
windse.SolverManager.IterativeSteadySolver(problem)¶ Bases:
windse.SolverManager.GenericSolverThis solver is for solving the iterative steady state problem
Parameters: problem ( windse.ProblemManager.GenericProblem()) – a windse problem object.-
Solve()¶ This solves the problem setup by the problem object.
-
-
class
windse.SolverManager.MultiAngleSolver(problem)¶ Bases:
windse.SolverManager.SteadySolverThis solver will solve the problem using the steady state solver for every angle in angles.
Parameters: - problem (
windse.ProblemManager.GenericProblem()) – a windse problem object. - angles (list) – A list of wind inflow directions.
-
Solve()¶ This solves the problem setup by the problem object.
- problem (
-
class
windse.SolverManager.SteadySolver(problem)¶ Bases:
windse.SolverManager.GenericSolverThis solver is for solving the steady state problem
Parameters: problem ( windse.ProblemManager.GenericProblem()) – a windse problem object.-
Solve()¶ This solves the problem setup by the problem object.
-
-
class
windse.SolverManager.TimeSeriesSolver(problem)¶ Bases:
windse.SolverManager.SteadySolverThis solver will solve the problem using the steady state solver for every angle in angles.
Parameters: - problem (
windse.ProblemManager.GenericProblem()) – a windse problem object. - angles (list) – A list of wind inflow directions.
-
Solve()¶ This solves the problem setup by the problem object.
- problem (
-
class
windse.SolverManager.UnsteadySolver(problem)¶ Bases:
windse.SolverManager.GenericSolverThis solver is for solving an unsteady problem. As such, it contains additional time-stepping features and functions not present in other solvers. This solver can only be used if an unsteady problem has been specified in the input file.
Parameters: problem ( windse.ProblemManager.GenericProblem()) – a windse problem object.
Classes¶
-
class
windse.SolverManager.GenericSolver(problem) Bases:
objectA GenericSolver contains on the basic functions required by all solver objects.
-
ChangeWindAngle(inflow_angle) This function recomputes all necessary components for a new wind direction
Parameters: theta (float) – The new wind angle in radians
-
ChangeWindSpeed(inflow_speed) This function recomputes all necessary components for a new wind direction
Parameters: theta (float) – The new wind angle in radians
-
Save(val=0) This function saves the mesh and boundary markers to output/…/solutions/
-
-
class
windse.SolverManager.IterativeSteadySolver(problem) Bases:
windse.SolverManager.GenericSolverThis solver is for solving the iterative steady state problem
Parameters: problem ( windse.ProblemManager.GenericProblem()) – a windse problem object.-
Solve() This solves the problem setup by the problem object.
-
-
class
windse.SolverManager.MultiAngleSolver(problem) Bases:
windse.SolverManager.SteadySolverThis solver will solve the problem using the steady state solver for every angle in angles.
Parameters: - problem (
windse.ProblemManager.GenericProblem()) – a windse problem object. - angles (list) – A list of wind inflow directions.
-
Solve() This solves the problem setup by the problem object.
- problem (
-
class
windse.SolverManager.SteadySolver(problem) Bases:
windse.SolverManager.GenericSolverThis solver is for solving the steady state problem
Parameters: problem ( windse.ProblemManager.GenericProblem()) – a windse problem object.-
Solve() This solves the problem setup by the problem object.
-
-
class
windse.SolverManager.TimeSeriesSolver(problem) Bases:
windse.SolverManager.SteadySolverThis solver will solve the problem using the steady state solver for every angle in angles.
Parameters: - problem (
windse.ProblemManager.GenericProblem()) – a windse problem object. - angles (list) – A list of wind inflow directions.
-
Solve() This solves the problem setup by the problem object.
- problem (
-
class
windse.SolverManager.UnsteadySolver(problem) Bases:
windse.SolverManager.GenericSolverThis solver is for solving an unsteady problem. As such, it contains additional time-stepping features and functions not present in other solvers. This solver can only be used if an unsteady problem has been specified in the input file.
Parameters: problem ( windse.ProblemManager.GenericProblem()) – a windse problem object.