View Issue Details

IDProjectCategoryView StatusLast Update
0000108OpenFOAMBugpublic2010-12-15 12:41
ReporterJuho Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000108: rhoPimpleFoam: hEqn relaxation on the final outer correction loop
DescriptionShouldn't the hEqn relaxation factor be set to 1 on the final outer correction loop to ensure time accuracy with limited number of outer correction loops? The same way it is done for the UEqn.

hEqn.H:

    if (oCorr == nOuterCorr-1)
    {
        hEqn.relax();
        hEqn.solve(mesh.solver("hFinal"));
    }
    else
    {
        hEqn.relax();
        hEqn.solve();
    }

UEqn.H:

    if (oCorr == nOuterCorr-1)
    {
        UEqn().relax(1);
    }
    else
    {
        UEqn().relax();
    }
 
TagsNo tags attached.

Activities

henry

2010-12-15 12:41

manager   ~0000179

It is your choice, you can set hFinal to 1 as you suggest or if you are not interested in the accuracy of the transient behavior or are iterating sufficiently you can use a value less than 1.

Issue History

Date Modified Username Field Change
2010-12-15 09:48 Juho New Issue
2010-12-15 12:41 henry Note Added: 0000179
2010-12-15 12:41 henry Status new => resolved
2010-12-15 12:41 henry Resolution open => fixed
2010-12-15 12:41 henry Assigned To => henry