API documentation
Main scripts
NSCoupled.py
NSfracStep.py
- NSfracStep.assemble_first_inner_iter(**NS_namespace)[source]
Called first thing on a new velocity/pressure iteration.
- NSfracStep.get_solvers(**NS_namespace)[source]
Return 4 linear solvers.
- We are solving for
tentative velocity
pressure correction
velocity update (unless lumping is switched on)
and possibly: - scalars
- NSfracStep.mesh_velocity_assemble(**NS_namespace)[source]
Assemble remaining system for tentative velocity component.
- NSfracStep.mesh_velocity_solve(**NS_namespace)[source]
Linear algebra solve of tentative velocity component.
- NSfracStep.print_velocity_pressure_info(num_iter, print_velocity_pressure_convergence, norm, info_blue, inner_iter, udiff, dp_, **NS_namespace)[source]
- NSfracStep.velocity_tentative_assemble(**NS_namespace)[source]
Assemble remaining system for tentative velocity component.