|
[Sponsors] |
July 20, 2009, 03:45 |
Discretization settings Foam vs. Fluent
|
#1 |
New Member
Join Date: Jul 2009
Posts: 3
Rep Power: 17 |
Dear Foamers,
I´m interested in the the performance of Fluent 6.3.26 in comparison with OpenFoam 1.5. I´m simulating a steady (simpleFoam solver in OF 1.5), isothermal, single phase problem using the realizable k-epsilon-model. In order to get accurate results for my flow field, I chose the "second-order upwind" descritization scheme (for pressure, momentum, k, epsilon) in Fluent. Here my Question: How do I have to change the fvScheme-skript in OpenFoam to get the same settings as in Fluent? I made different approaches using the "linearUpwind"-scheme. But it did´nt work, due to some errors. I´m not sure if "linearUpwind" is comparable to the "second-order upwind" scheme in Fluent. I would appreciate any hints or help. Thanks in advance. wuppdupp Among others I used this fvScheme script: FoamFile { version 2.0; format ascii; class dictionary; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default steadyState; } gradSchemes { default Gauss linearUpwind; grad(p) Gauss linearUpwind; grad(U) Gauss linearUpwind; } divSchemes { default none; div(phi,U) Gauss linearUpwind; div(phi,k) Gauss linearUpwind; div(phi,epsilon) Gauss linearUpwind; div(phi,R) Gauss linearUpwind; div(R) Gauss linearUpwind; div(phi,nuTilda) Gauss linearUpwind; div((nuEff*dev(grad(U).T()))) Gauss linearUpwind; } laplacianSchemes { default none; laplacian(nuEff,U) Gauss linear corrected; laplacian((1|A(U)),p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; } interpolationSchemes { default linearUpwind; interpolate(U) linearUpwind; } snGradSchemes { default corrected; } fluxRequired { default no; p; } // ************************************************** *********************** // |
|
July 23, 2009, 09:39 |
|
#3 |
New Member
Join Date: Jul 2009
Posts: 3
Rep Power: 17 |
Dear paulo,
I tried Quick and GammaV. (For the gradSchemes) Without success. The only Schemes which work are linear an fourth. |
|
July 23, 2009, 14:10 |
|
#4 |
Member
Paulo Alexandre Costa Rocha
Join Date: Mar 2009
Posts: 71
Rep Power: 17 |
||
July 24, 2009, 05:38 |
|
#5 |
New Member
Join Date: Jul 2009
Posts: 3
Rep Power: 17 |
Hi Paulo,
thank´s for your advice. It works fine. Is there any possibility to use higher order discretization schemes also for the gradSchemes and the interpolationSchemes? I was quite confused because in the OF documentation is mentioned, that you can use other Schemes also for gradSchemes and interpolationSchemes. Again, thank you very much! Wuppdupp |
|
July 24, 2009, 11:08 |
|
#6 |
Member
Paulo Alexandre Costa Rocha
Join Date: Mar 2009
Posts: 71
Rep Power: 17 |
Yes,
if you write something wrong in the schemes text, OpenFOAM will show you all the possibilities. The books of Ferziger & Peric / Versteeg & Malalasekra have good explanation about many schemes. Best Regards, Paulo Rocha |
|
July 25, 2009, 03:35 |
|
#7 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
For interpolation schemes the choice is wider (see tab 4.6 in the manual). The "cubic" is fourth order central scheme, and it exists in the limited version "limitedCubic". Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stopping a Fluent batch job AND saving the data! Possible? | Volker Pawlik | FLUENT | 13 | December 28, 2020 05:16 |
Two questions on Fluent UDF | Steven | Fluent UDF and Scheme Programming | 7 | March 23, 2018 04:22 |
Changing the grid on the same set-up | Katya | FLUENT | 7 | October 8, 2009 17:31 |
Fluent connection with simulink by TCP/IP | Tanktruck | Fluent UDF and Scheme Programming | 1 | June 28, 2009 13:56 |
FOAM licensed free to academic institutions | Nabla Ltd. | Main CFD Forum | 0 | November 18, 2002 11:24 |