CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

mastering fvSchemes in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 3 Post By Lieven
  • 1 Post By immortality
  • 2 Post By Lieven
  • 1 Post By Pat84
  • 1 Post By Tushar@cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2013, 09:12
Default mastering fvSchemes in OpenFOAM
  #1
Member
 
Zifei Yin
Join Date: Sep 2012
Location: Shanghai & Ames
Posts: 33
Rep Power: 14
yzf1215 is on a distinguished road
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!
yzf1215 is offline   Reply With Quote

Old   July 20, 2013, 10:48
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
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
Lieven is offline   Reply With Quote

Old   August 9, 2013, 16:06
Default
  #3
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
Quote:
Originally Posted by Lieven View Post
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
Hi lieven
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
s.m is offline   Reply With Quote

Old   August 9, 2013, 16:40
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
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.
s.m likes 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.
immortality is offline   Reply With Quote

Old   August 9, 2013, 16:40
Default
  #5
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
Have a look at http://www.openfoam.org/docs/user/fvSchemes.php
there you have a few examples given...

Cheers,

L
s.m and Annier like this.
Lieven is offline   Reply With Quote

Old   August 9, 2013, 17:10
Default
  #6
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
i get it dear lieven & dera ehsan
thank you
s.m is offline   Reply With Quote

Old   August 11, 2013, 05:29
Default
  #7
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
Quote:
Originally Posted by immortality View Post
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.
Dear Ehsan,
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)?
s.m is offline   Reply With Quote

Old   August 11, 2013, 05:38
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
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.
immortality is offline   Reply With Quote

Old   August 11, 2013, 05:47
Default
  #9
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15
s.m is on a distinguished road
Quote:
Originally Posted by immortality View Post
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.
i can understand that what is the grad(omega) is, but i can understand what is the phi?
s.m is offline   Reply With Quote

Old   August 11, 2013, 05:51
Default
  #10
Member
 
Patrick Wollny
Join Date: Apr 2010
Posts: 58
Rep Power: 16
Pat84 is on a distinguished road
Since linear upwind has the additional term r.grad(omega) in the case of div(omega), I would prefer grad(omega).
s.m likes this.
Pat84 is offline   Reply With Quote

Old   December 4, 2014, 10:34
Default fv-schemes
  #11
Member
 
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13
Tobias Adam is on a distinguished road
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
Tobias Adam is offline   Reply With Quote

Old   December 5, 2014, 04:23
Default
  #12
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 18
Tushar@cfd is on a distinguished road
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!
Tobias Adam likes this.
Tushar@cfd is offline   Reply With Quote

Old   January 30, 2017, 06:49
Default
  #13
New Member
 
muhammet çevik
Join Date: Oct 2016
Location: turkey
Posts: 5
Rep Power: 10
muhmt.cvk is on a distinguished road
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
muhmt.cvk is offline   Reply With Quote

Reply

Tags
eof, fvschemes, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:35.