convergence -- cfd online discussion forums

6

Click here to load reader

Upload: hanchuin

Post on 11-Nov-2015

220 views

Category:

Documents


0 download

DESCRIPTION

Convergence -- CFD Online Discussion Forums

TRANSCRIPT

  • Convergence -- CFD Online Discussion Forums

    http://www.cfd-online.com/Forums/fluent/90281-convergence.html[7/16/2013 9:32:03 AM]

    Home News Forums Wiki Links Jobs Books Events Tools Feeds

    About Search

    [Sponsors]

    Home > Forums > FLUENT

    Convergence User Name Remember MePassword

    REGISTER BLOGS COMMUNITY NEW POSTS UPDATED THREADS SEARCH

    LINKBACK THREAD TOOLS DISPLAY MODES

    July 6, 2011, 07:54 Convergence #1

    Centurion2011Member Join Date: Jul 2011Posts: 39Rep Power: 7

    I see all kind of mistakes on these forums when dealing with convergence, so I willgive brief review of methods...

    At convergence, the following should be satisfied:

    All discrete conservation equations (momentum, energy, etc.) are obeyed inall cells to a specified tolerance OR the solution no longer changes withsubsequent iterations.Overall mass, momentum, energy, and scalar balances are achieved.Monitoring convergence using residual history:Generally, a decrease in residuals by three orders of magnitude indicates atleast qualitative convergence. At this point, the major flow features should beestablished.Scaled energy residual should decrease to 10-6 (for the pressure-basedsolver).Scaled species residual may need to decrease to 10-5 to achieve speciesbalance.Monitoring quantitative convergence:Monitor other relevant key variables/physical quantities for a confirmation.Ensure that overall mass/heat/species conservation is satisfied.

    In addition to residuals, you can also monitor lift, drag and moment coefficients.

    Relevant variables or functions (e.g. surface integrals) at a boundary or any definedsurface.

    In addition to monitoring residual and variable histories, you should also check foroverall heat and mass balances.

    The net flux imbalance (shown in the GUI as Net Results) should be less than 1%of the smallest flux through the domain boundary

    If solution monitors indicate that the solution is converged, but the solution is stillchanging or has a large mass/heat imbalance, this clearly indicates the solution isnot yet converged.

    In this case, you need to:

    38 Likes

  • Convergence -- CFD Online Discussion Forums

    http://www.cfd-online.com/Forums/fluent/90281-convergence.html[7/16/2013 9:32:03 AM]

    Reduce values of Convergence Criterion or disable Check Convergence in theResidual Monitors panel.Continue iterations until the solution converges.

    Selecting None under Convergence Criterion disables convergence checking for allequations.

    Numerical instabilities can arise with an ill-posed problem, poor-quality meshand/or inappropriate solver settings.

    Exhibited as increasing (diverging) or stuck residuals.Diverging residuals imply increasing imbalance in conservation equations.Unconverged results are very misleading!

    Troubleshooting

    Ensure that the problem is well-posed.Compute an initial solution using a first-order discretization scheme.For the pressure-based solver, decrease underrelaxation factors for equationshaving convergence problems.For the density-based solver, reduce the Courant number.Remesh or refine cells which have large aspect ratio or large skewness.Remember that you cannot improve cell skewness by using mesh adaption!

    Under-relaxation factor, a, is included to stabilize the iterative process for thepressure-based solver

    Use default under-relaxation factors to start a calculation.

    Decreasing under-relaxation for momentum often aids convergence.Default settings are suitable for a wide range of problems, you can reduce thevalues when necessary.Appropriate settings are best learned from experience!

    For the density-based solver, under-relaxation factors for equations outside thecoupled set are modified as in the pressure-based solver.

    A transient term is included in the density-based solver even for steady stateproblems.The Courant number defines the time step size.For density-based explicit solver:

    Stability constraints impose a maximum limit on the Courant number.Cannot be greater than 2(default value is 1).

    Reduce the Courant number when having difficulty converging.For density-based implicit solver:

    The Courant number is not limited by stability constraints.Default value is 5.

    Convergence can be accelerated by:

    Supplying better initial conditionsStarting from a previous solution (using file/interpolation when necessary)Gradually increasing under-relaxation factors or Courant numberExcessively high values can lead to solution instability convergence problemsYou should always save case and data files before continuing iterationsControlling MultiGrid solver settings (not generally recommended)

  • Convergence -- CFD Online Discussion Forums

    http://www.cfd-online.com/Forums/fluent/90281-convergence.html[7/16/2013 9:32:03 AM]

    Default settings provide a robust Multigrid setup and typically do not need tobe changed.

    A converged solution is not necessarily a correct one!

    Always inspect and evaluate the solution by using available data, physicalprinciples and so on.Use the second-order upwind discretization scheme for final results.Ensure that solution is grid-independent:Use adaption to modify the grid or create additional meshes for the grid-independence study

    If flow features do not seem reasonable:

    Reconsider physical models and boundary conditionsExamine mesh quality and possibly remesh the problemReconsider the choice of the boundaries location (or the domain): inadequatechoice of domain (especially the outlet boundary) can significantly impactsolution accuracy

    Numerical errors are associated with calculation of cell gradients and cell faceinterpolations.

    Ways to contain the numerical errors:

    Use higher-order discretization schemes (second-order upwind, MUSCL)Attempt to align grid with the flow to minimize the false diffusionRefine the meshSufficient mesh density is necessary to resolve salient features of flowInterpolation errors decrease with decreasing cell sizeMinimize variations in cell size in non-uniform meshesTruncation error is minimized in a uniform meshFLUENT provides capability to adapt mesh based on cell size variationMinimize cell skewness and aspect ratioIn general, avoid aspect ratios higher than 5:1 (but higher ratios are allowedin boundary layers)Optimal quad/hex cells have bounded angles of 90 degreesOptimal tri/tet cells are equilateral

    A grid-independent solution exists when the solution does not change when themesh is refined. Below is a systematic procedure for obtaining a grid-independent solution:

    Generate a new, finer mesh.Return to the meshing application and manually adjust the mesh.OR Use the solution-based adaption capability in FLUENT.VERY IMPORTANT: Save the case and data files first.Create adaption register(s) and adapt the mesh. Data from the original meshis interpolated onto the finer mesh. FLUENT offers dynamic mesh adaptionwhich automatically changes the mesh according to user-defined criteria.Continue calculations until convergence.Compare the results obtained on the different meshes.Repeat the procedure if necessary.

    To use a different mesh on a single problem, use the TUI commands file/write-bcand file/read-bc to facilitate the setup of a new problem.Better initialization can be obtained via interpolation from existing case/data byusing solution data interpolationA web-based training module is available to train users in replication of case setup

  • Convergence -- CFD Online Discussion Forums

    http://www.cfd-online.com/Forums/fluent/90281-convergence.html[7/16/2013 9:32:03 AM]

    and solution data interpolation.

    Summary:

    Solution procedure for both the pressure-based and density-based solvers isidentical.

    Calculate until you get a converged solutionObtain a second-order solution (recommended)Refine the mesh and recalculate until a grid-independent solution is obtained.

    All solvers provide tools for judging and improving convergence and ensuringstability.

    All solvers provide tools for checking and improving accuracy.

    Solution accuracy will depend on the appropriateness of the physical models thatyou choose and the boundary conditions that you specify.

    sorry for lengthy post... sometimes people are lazy when theory is involved...

    January 13, 2012, 11:18 #2

    ChipsgrottelNew Member Charles de LuzanJoin Date: Jun 2010Location: Cincinnati, OHPosts: 11Rep Power: 5

    Quote:

    Originally Posted by Centurion2011 A web-based training module is available to train users in replication ofcase setup and solution data interpolation.

    Hello, and thanks for this long post actually. But what is this web-based training module you are talking about please?Thank you in advance.

    January 18, 2012, 02:31 #3

    Centurion2011Member Join Date: Jul 2011Posts: 39Rep Power: 7

    There are training modules for Ansys, very useful. You can find them all over.

    for example: http://avaxhome.ws/software/software..._training.html

    January 19, 2012, 11:53 #4

    wyldckat, Far, Julian K. and 32 others like this.

    ymanoj4 likes this.

    Chipsgrottel likes this.

  • Convergence -- CFD Online Discussion Forums

    http://www.cfd-online.com/Forums/fluent/90281-convergence.html[7/16/2013 9:32:03 AM]

    ChipsgrottelNew Member Charles de LuzanJoin Date: Jun 2010Location: Cincinnati, OHPosts: 11Rep Power: 5

    Thank you very much!I will spend some time on this.

    January 19, 2012, 11:58 Good post #5

    FarSuper Moderator

    Sijal Ahmed Memon([email protected])Join Date: Mar 2009Location: Islamabad PakistanPosts: 3,263Blog Entries: 5Rep Power: 32

    Make it blog and also ask Jola to add this in Fluent Section.

    __________________Best Regards Fartutorial on hexa meshing of hemishpere+cylinder http://goo.gl/69B4Ututorial on hybrid meshing in ICEM CFD http://goo.gl/JmeCa

    Web page http://goo.gl/Q1RF5

    February 14, 2012, 09:16 train moving in tunnel help #6

    sheikh nasirMember Join Date: Jan 2012Posts: 58Rep Power: 3

    helloi am working on train moving in tunnel. i am getting floating error:invalid number.can any one help me. my email is [email protected] help methanks

    Tags

    convergence, fluent, mesh

    Previous Thread | Next Thread

    Posting Rules

    You may not post new threadsYou may not post replies

    sajid likes this.

  • Convergence -- CFD Online Discussion Forums

    http://www.cfd-online.com/Forums/fluent/90281-convergence.html[7/16/2013 9:32:03 AM]

    CFD Online

    You may not post attachmentsYou may not edit your posts

    BB code is OnSmilies are On[IMG] code is OnHTML code is OffTrackbacks are OnPingbacks are OnRefbacks are On

    Forum Rules

    Similar Threads

    Thread Thread Starter Forum Replies Last Post

    problem with Min/max rho tH3f0rC3 OpenFOAM 7February 23, 2013

    05:37

    Time step dependence of convergence behaviorof steady state simulations in CFX

    Chander Main CFD Forum 4 May 3, 2011 12:53

    Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17

    Defect correction and convergence ganesh Main CFD Forum 4 June 30, 2006 14:20

    Convergence problems Chetan FLUENT 3 April 15, 2004 19:13

    All times are GMT -4. The time now is 21:25.

    Contact Us - CFD Online - Top

    cfd-online.comConvergence -- CFD Online Discussion Forums

    kwMjgxLWNvbnZlcmdlbmNlLmh0bWwA: form2: vb_login_username: User Namecookieuser: 1vb_login_password: input0: