Using TVD Schemes in fvScheme
Hi everyone,
I am trying to run a simulation in wind tunnel with a supersonic flow and a shock holder. Since I have a shock, I wanted to use TVD scheme in my fvscheme file. I looked up at the information on OpenFoam's website and decided to use 'limitedLinear 1' for my 'interpolationSchemes' but I am getting this error: wrong token type - expected word, found on line 44 the label 1 I searched the forums and I saw this type of error is mostly based on a missing identifier like 'uniform' or 'constant' but this is not my case. Do you have any idea what's the problem? Here is my fvScheme file: dtSchemes { default backward; } gradSchemes { default Gauss linear; } divSchemes { default none; div(phi,k) Gauss limitedLinear 1; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default limitedLinear 1; //this is where I have a problem } snGradSchemes { default corrected; } fluxRequired { default no; p ; } |
Try the following..
interpolationSchemes { default limitedLinear phi 1; } - Best Luck! |
All times are GMT -4. The time now is 23:47. |