|
[Sponsors] |
July 20, 2013, 09:12 |
mastering fvSchemes in OpenFOAM
|
#1 |
Member
Zifei Yin
Join Date: Sep 2012
Location: Shanghai & Ames
Posts: 33
Rep Power: 14 |
Its easy to use Gauss upwind and Gauss linear in OpenFOAM with good robutness. However, when I used other fvSchemes like MUSCL, Fourth etc. It often turns out to be EOF error.
I'd like to know the reason behind it and the way to master using fvSchemes in OpenFOAM. Many thanks! |
|
July 20, 2013, 10:48 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Hi yzf1215,
Several of the schemes you can select in the fvSchemes-file require a number of arguments (either floats or words). When you get an EOF error it could indicate that you didn't provide them. Cheers, Lieven |
|
August 9, 2013, 16:06 |
|
#3 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
how should we provide them for removing this error, when i change the Guass Upwind for "di(phi ,omega)" to Guass linearupwind i also get this error, i thank you if you explain it more |
||
August 9, 2013, 16:40 |
|
#4 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi
set it to Gauss linearUpwind phi; for example.or Gauss linearUpwind grad(omega); and then define grad(Omega) in grad dictionary.both of these terms indicate the direction of flow(that divergence should act at that direction) for solver.hope be solved by this.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 9, 2013, 16:40 |
|
#5 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Have a look at http://www.openfoam.org/docs/user/fvSchemes.php
there you have a few examples given... Cheers, L |
|
August 9, 2013, 17:10 |
|
#6 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
i get it dear lieven & dera ehsan
thank you |
|
August 11, 2013, 05:29 |
|
#7 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
are thease two divergence schems the same? "Gauss linearUpwind phi" & "Gauss linearUpwind grad(omega)" if yes, phi means grad(omega)? is it true to write Gauss linearUpwind grad(U) instead of Gauss linearUpwind grad(omega)? |
||
August 11, 2013, 05:38 |
|
#8 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
no they are different by themselves but "here" they have the same role of showing direction to the solver.
for Omega you better use grad(Omega) and for U,grad(U) for more clarification.but both show direction of flow for calculation of terms.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
August 11, 2013, 05:47 |
|
#9 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
i can understand that what is the grad(omega) is, but i can understand what is the phi?
|
|
August 11, 2013, 05:51 |
|
#10 |
Member
Patrick Wollny
Join Date: Apr 2010
Posts: 58
Rep Power: 16 |
Since linear upwind has the additional term r.grad(omega) in the case of div(omega), I would prefer grad(omega).
|
|
December 4, 2014, 10:34 |
fv-schemes
|
#11 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13 |
Hey everyone
I try to find an explantation to the fv-schemes. I know how to use the main schemes. But I like to understand all schemes from this list. Does anyone know where to find information about these. Information could be anything like, the mathematical explanation the fv-schemes ( still I don´t understand c++) or descriptions about when to use which scheme. The schemes I want to know about are listed in this document: https://docs.google.com/document/d/1...it?usp=sharing Tomorrow I´m going to ask someone to help me with C++, but I would be happy for each kind of information :-) Best regards Tobi |
|
December 5, 2014, 04:23 |
|
#12 |
Senior Member
|
Hello Tobi Adam,
I guess there was discussion on the forum sometime back. I think you should have a look to the post referred below. http://www.cfd-online.com/Forums/ope...tml#post348575 - Best Luck! |
|
January 30, 2017, 06:49 |
|
#13 |
New Member
muhammet çevik
Join Date: Oct 2016
Location: turkey
Posts: 5
Rep Power: 10 |
hi Tobias
I am also trying to find an explantation to the fv-schemes. Did you find something useful. If you ,Could you share for me Best |
|
Tags |
eof, fvschemes, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ESI-OpenCFD Releases OpenFOAM v2.2.0 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 13 | March 30, 2013 17:52 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 08:14 |