View Issue Details

IDProjectCategoryView StatusLast Update
0003429OpenFOAMBugpublic2020-01-14 16:21
ReporteremjayAssigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformdocker-image on macOSOtherOS Version(please specify)
Product Versiondev 
Fixed in Version 
Summary0003429: interpolation scheme bug
Descriptionwhen the interpolationScheme is changed from "linear;" to "linear banana;" the solver didn't report a error.
it still run to finish.

Also when the interpolationScheme is changed to "linear QUICK" the results are the same.
Steps To Reproducecopy the scalarTransportFoam case from tutorials
change in system/fvSchemes file the interpolationScheme from "linear;" to "linear banana;"
run blockmesh and scalarTransportFoam
 
TagsNo tags attached.

Activities

henry

2020-01-14 13:01

manager   ~0011060

In the tutorials/basic/scalarTransportFoam/pitzDaily case if I change

divSchemes
{
    default none;
    div(phi,T) Gauss linearUpwind grad(T);
}

to

divSchemes
{
    default none;
    div(phi,T) bannana;
}

I get the error message

--> FOAM FATAL IO ERROR:
Unknown convection scheme bannana

Valid convection schemes are :

2
(
Gauss
bounded
)


file: OpenFOAM-dev/tutorials/basic/scalarTransportFoam/pitzDaily/system/fvSchemes/divSchemes/div(phi,T) at line 31.

emjay

2020-01-14 14:56

reporter   ~0011061

if i replace the interpolation scheme with this "nonsense" line it still works, no error is reported

interpolationSchemes
{
    default linear Minmod linear;
}


or an another try with this configuration, the solver also did not report an error.

interpolationSchemes
{
    default linear banana;
}

henry

2020-01-14 15:08

manager   ~0011062

What do you want scalarTransportFoam to interpolate using this scheme? Currently it does not interpolate anything using this scheme hence it generates no error when the scheme is nonsense.

emjay

2020-01-14 16:06

reporter   ~0011064

i wanted to increase the accuracy of the solver and try benchmark it with different interpolations schemes.
e.g. this configuration works very well.
interpolationSchemes
{
    default cubic;
}

but for this test, the solver did not crash, and i don't understand this behaviour:

interpolationSchemes
{
    default linear banana;
}

henry

2020-01-14 16:21

manager   ~0011065

Last edited: 2020-01-14 16:21

View 2 revisions

scalarTransportFoam does not use or need interpolationSchemes

Issue History

Date Modified Username Field Change
2020-01-14 12:37 emjay New Issue
2020-01-14 13:01 henry Note Added: 0011060
2020-01-14 14:56 emjay Note Added: 0011061
2020-01-14 15:08 henry Note Added: 0011062
2020-01-14 16:06 emjay Note Added: 0011064
2020-01-14 16:21 henry Assigned To => henry
2020-01-14 16:21 henry Status new => closed
2020-01-14 16:21 henry Resolution open => no change required
2020-01-14 16:21 henry Note Added: 0011065
2020-01-14 16:21 henry Note Edited: 0011065 View Revisions