Professional Documents
Culture Documents
Solver Settings
Introduction to CFX
• Initialization
• Solver Control
• Output Control
• Solver Manager
• In some cases a poor initial guess may cause the solver to fail
during the first few iterations
1
• If b = 0 we get the Upwind advection
scheme, i.e. no correction 0
– This is robust but only first order accurate
– Sometimes useful for initial runs, but
usually not necessary
Upwind Scheme
Initial Guess
50 iterations
100 iterations
150 iterations
Final Solution
• Physical Timescale
• Auto Timescale
– The Solver calculates a timescale based on
boundary / initial conditions or current solution
and domain length scale
where [A] is the coefficient matrix and [Φ] is the solution variable
• Since each control volume has a residual we usually look at the RMS
average or the maximum normalized residual
• Residual Type
– MAX: Convergence based on maximum
residual anywhere
– RMS: Convergence based on average
residual from all control volumes
• Residual Target
– For reasonable convergence MAX residuals
should be 1.0E-3, RMS should be at least
1.0E-4
– The targets dependent on the accuracy
needed
• Lower values may be needed for greater
accuracy
• When set, the Solver must meet both the Residual and Conservation Target
before stopping (assuming Max. Iterations is not reached)
• Interrupt Control
– Can specify other criteria for stopping
the Solver based on logical CEL
expressions
– When the expression returns true the
solver will stop
• Any value >= 0.5 is true
– Examples
• If temperature exceeds a specified value
if(areaAve(T)@wall>200[C],1,0)
• If mesh quality drops below a specified value in a moving mesh case
– More on logical expressions in the CEL lecture
• Advanced Options
– Advanced solver control options
– Rarely needed
• Option:
– Standard: Like a full results file
– Essential: Allows a clean solver restart
– Smallest: Can restart the solver, but
there‟ll be a jump in the residuals
– Selected Variables: Not recommended
• Serial
• Local Parallel
• Distributed Parallel
• Multidomain Option:
– Independent Partitioning: Each domain is
partitioned into n partitions
– Coupled Partitioning: All domains are combined
and then partitioned into n partitions
• There‟s a specific option for Transient Rotor Stator
cases
• During a solution Edit Run in Progress lets you make changes on the fly
– Models generally cannot be changed, but timescales, BC‟s, etc can