The solution process for the pressure-based segregated solver
(Figure 1.2: Solution Procedure for the Pressure-Based Segregated Solver) begins with a two-step
initialization sequence that is executed outside of the solution iteration
loop. This sequence begins by initializing equations to user-entered
(or default) values taken from the ANSYS Fluent user interface. Next, PROFILE UDFs are called, followed by a call to INIT UDFs. Initialization UDFs overwrite initialization
values that were previously set.
The solution iteration loop begins with the execution of ADJUST UDFs. Next, momentum equations for u, v, and
w velocities are solved sequentially, followed by mass continuity
and velocity updates. Subsequently, the energy and species equations
are solved, followed by turbulence and other scalar transport equations,
as required. Note that PROFILE and SOURCE UDFs are called by each "Solve" routine
for the variable currently under consideration (for example, species,
velocity).
After the conservation equations, properties are updated, including PROPERTY UDFs. Thus, if your model involves the gas
law, for example, the density will be updated at this time using the
updated temperature (and pressure and/or species mass fractions).
A check for either convergence or additional requested iterations
is done, and the loop either continues or stops.