20 "num_piso_iterations",
22 "The number of PISO iterations without recomputing the momentum matrix.");
29 _num_piso_iterations(getParam<unsigned
int>(
"num_piso_iterations"))
33std::pair<unsigned int, Real>
37 std::pair<unsigned int, Real> residual;
38 unsigned int piso_iteration_counter = 0;
48 const bool recompute_flux = reconstructed || last_piso_corrector;
54 if (!last_piso_corrector && reconstructed)
57 piso_iteration_counter++;
void ErrorVector unsigned int
Common base class for segregated solvers for the Navier-Stokes equations with linear FV assembly rout...
virtual std::pair< unsigned int, Real > correctVelocity(const bool recompute_face_mass_flux, const SolverParams &solver_params)
Computes new velocity field based on computed pressure gradients.
static InputParameters validParams()
RhieChowMassFlux * _rc_uo
Pointer to the segregated RhieChow interpolation object.
const unsigned int _num_piso_iterations
Number of H(u) and u iterations with fixed face flux.
virtual std::pair< unsigned int, Real > correctVelocity(const bool recompute_face_mass_flux, const SolverParams &solver_params) override
Computes new velocity field based on computed pressure gradients.
PIMPLESolve(Executioner &ex)
static InputParameters validParams()
void preparePISOCorrector()
Capture the lagged velocity gradient for another corrector using the current predictor.
bool usingReconstructedPressureGradientMethod() const
Whether the registered pressure gradient field is produced by the reconstructed method.