solver#

Solver settings and context-management APIs for PyFluent.

This package exposes generated solver settings objects and the using() context manager. Solver session classes are defined in modules under ansys.fluent.core.solver.session: Solver directly inherits from BaseSession, and the SolverAero, SolverIcing, SolverLite, and PrePost variants inherit from Solver. The session classes are re-exported through ansys.fluent.core.execution.session and the top-level ansys.fluent.core API.

Functions:

using(session)

Make a session active for top-level settings within a with block.

ansys.fluent.core.solver.using(session)#

Make a session active for top-level settings within a with block.

This top-level function is retained for backward compatibility. The implementation lives with the session base implementation.

Solver expose an underlying hierarchical settings object. See the settings API for details.