|
[Sponsors] |
Identifying bad cells that hold up convergence |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2015, 13:39 |
Identifying bad cells that hold up convergence
|
#1 |
New Member
Justin
Join Date: Aug 2014
Posts: 16
Rep Power: 11 |
Hello,
This is more of a numerical methods question and how to visualize it in STAR-CCM. My residuals have a tough time converging below 3 orders of magnitude. I have concluded it's the mesh that is holding up convergence. Is there a way to visualize which cell has the largest residual and is holding up convergence for the whole solution? Thanks! |
|
March 17, 2015, 16:14 |
|
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 17 |
Indeed! There is an easy way and a hard way.
If you have access to the Steve-Portal, the easy way is obviously best. Log on and go to the macro hut and look for mesh quality analyzer (I think is the name). Install it and read the instructions. It will automatically analyze your mesh and results for mesh quiailty issues and high residuals then create scenes to help you visualize. If not the hard way is, well... harder. Depending on what solver and turbulence models you are using you will see a number of items listed under Solvers in the model tree. One will say 'Coupled Implicit', 'Segregated Implicit', 'Coupled Explicit' or something like that. This is your main solver. If you highlight that in the tree, you will see an option in the propeties window that says temporary storage retained. Turn that on. Do the same thing in your turbulence solver and run 1 iteration. Now if you go into your field functions you will notice that you now have options for all the residuals that appear on your residual plot. You can create thresholds for these to target the top 5% or 10% of each value by hitting query and then adjusting the max/min values. Then you simply need to create a scalar scene that has these thresholds. I always add a geometry displayer too to help me visualize where I am in the domain. Make sure to turn temp storage off before you run again. A note on convergence. I too have struggled getting nice and pretty convergence plots on occasion. I have spoken with tech support about it and they told me that it can be a product of any number of things. As long as they don't go totally crazy (like gain an order of magnitude or more), your other values of interest converge (mass flow, force, whatever is important to you) converge and your high residual cells aren't near your areas of interest you should be fine. I most commonly see this problem when I do hover analysis for rotorcraft. My continuity and energy residuals usualy don't drop more than 2 OoM's. However, the results are reliable and have been confirmed through flight testing. |
|
March 18, 2015, 13:03 |
|
#3 |
New Member
Justin
Join Date: Aug 2014
Posts: 16
Rep Power: 11 |
Thanks so much. This is awesome information!
|
|
May 12, 2016, 07:45 |
|
#4 | |
New Member
Robin Cato
Join Date: Jan 2016
Posts: 5
Rep Power: 10 |
Quote:
|
||
May 12, 2016, 10:30 |
|
#5 |
Senior Member
kevin alun
Join Date: Sep 2011
Location: Germany
Posts: 106
Rep Power: 14 |
Nice information above not sure what is all in the macro but just in case here is more info
I usually add the physical model, Cell Quality Remediation (this will smooth gradients for bad cells) You can also visualize the bad cells, you have a field function called Cell Quality, I think 0 is bad, 1 is good. So if you make a plane section you can plot that or use a threshold to give everythign between 0-.01. Also if you right click on region, remove invalid cells (you can also add the cell quality option to remove bad cells below a threshold) Although after removing bad cells you should always check to make sure no islands of cells were created by, right click on region, Split non-contiguous, make sure on 1 region |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with divergence | TDK | FLUENT | 13 | December 14, 2018 06:00 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 03:23 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 19:43 |
too bad convergence | Davoche | Main CFD Forum | 2 | November 20, 2005 05:08 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |