CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Fv scheme

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By julien.decharentenay

Reply
 
LinkBack Thread Tools Display Modes
Old   November 19, 2010, 00:45
Default Fv scheme
  #1
New Member
 
Wind
Join Date: Nov 2010
Posts: 10
Rep Power: 6
fuji is on a distinguished road
Dear all
I am a newbie on OpenFoam software, so i want to ask about fv scheme

Case name PitzDaily, located in the OpenFoam_Tutorial/ simpleFoam directory

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default steadyState;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}

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 linear;
interpolate(U) linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p;
}

// ************************************************** *********************** //

I don't know about some equation as: steadyState, Gauss linear, Gauss upwind, Gauss linear corrected, Euler, ...

Could you explain clearly for me?
I found all of equation in the Cfd online. But i didn't see it.
- http://www.cfd-online.com/Wiki/Fluid_dynamics
- http://www.cfd-online.com/Wiki/Turbulence_modeling
- http://www.cfd-online.com/Wiki/Numerical_methods

Could you show me some equation ?
Thank you very much.

Best regards.
Fuji
fuji is offline   Reply With Quote

Old   November 19, 2010, 01:14
Default
  #2
New Member
 
Wind
Join Date: Nov 2010
Posts: 10
Rep Power: 6
fuji is on a distinguished road
In User guide book, I found scheme

http://www.openfoam.com/docs/user/fv...#x20-1050004.4

4.4.1 Interpolation schemes

4.4.1.2 Schemes for vector fields



Centred schemes
+ linear Linear interpolation (central differencing)
+ cubicCorrection Cubic scheme
+ midPoint Linear interpolation with symmetric weighting


Upwinded convection schemes
+ upwind Upwind differencing
+ linearUpwind Linear upwind differencing
+ skewLinear Linear with skewness correction
+ QUICK Quadratic upwind differencing


TVD schemes
limitedLinear limited linear differencing
vanLeer van Leer limiter
MUSCL MUSCL limiter
limitedCubic Cubic limiter


NVD schemes
SFCD Self-filtered central differencing
Gamma Gamma differencing

Table 4.6: Interpolation schemes.
4.4.2 Surface normal gradient schemes

Scheme Description
corrected Explicit non-orthogonal correction
uncorrected No non-orthogonal correction
limited Limited non-orthogonal correction
bounded Bounded correction for positive scalars
fourth Fourth order

Table 4.7: Surface normal gradient schemes.

4.4.3 Gradient schemes

Discretisation scheme Description
Gauss <interpolationScheme> Second order, Gaussian integration
leastSquares Second order, least squares
fourth Fourth order, least squares
cellLimited <gradScheme> Cell limited version of one of the above schemes
faceLimited <gradScheme> Face limited version of one of the above schemes

..........................




I don't understand about it. Can you help me, Please!

Thank you very much.
Fuji
fuji is offline   Reply With Quote

Old   November 19, 2010, 01:40
Default
  #3
Senior Member
 
Julien de Charentenay
Join Date: Jun 2009
Location: Australia
Posts: 229
Rep Power: 9
julien.decharentenay is on a distinguished road
Send a message via Skype™ to julien.decharentenay
Hi Fuji,

You probably should narrow down your question. Below are a few quick answer

steadyState: The temporal term in the appropriate equation is neglected (i.e steady state solution which does not evolve in time). It is usually replaced by a under-relaxation terms to reduce the stiffness of the system;

Gauss: is a method involving the Gauss theorem, which transform a volume integral into a surface integral;

Gauss linear: apply the gauss theorem, using a linear interpolation of the cell center value to the face value;

Gauss upwind: apply the gauss theorem, using an upwind interpolation of the cell center value to the face value.

I am not sure if the above is really useful, but it is my definition of these terms.

Good luck.
Julien
sur4j, chengyu and smog like this.
julien.decharentenay is offline   Reply With Quote

Old   November 19, 2010, 01:42
Default
  #4
Senior Member
 
Julien de Charentenay
Join Date: Jun 2009
Location: Australia
Posts: 229
Rep Power: 9
julien.decharentenay is on a distinguished road
Send a message via Skype™ to julien.decharentenay
Forgot, I was meaning to point you to the cfd-online Wiki>Reference Section>Numerical Method.

It could be a good start to understand the meaning behind these terms.
julien.decharentenay is offline   Reply With Quote

Old   November 19, 2010, 23:16
Default
  #5
New Member
 
Olivier Benichou
Join Date: Sep 2010
Location: Brisbane
Posts: 10
Rep Power: 6
olivier78 is on a distinguished road
Bonjour,
aux Francais en Australie ?
olivier78 is offline   Reply With Quote

Old   November 22, 2010, 00:20
Default
  #6
New Member
 
Wind
Join Date: Nov 2010
Posts: 10
Rep Power: 6
fuji is on a distinguished road
Dear Julien

Thank you for your reply.
But I have still understood fv scheme.
In cfd-online Wiki>Reference Section>Numerical Method


I found all of equation in the Cfd online. But i didn't see it.
- http://www.cfd-online.com/Wiki/Fluid_dynamics
- http://www.cfd-online.com/Wiki/Turbulence_modeling
- http://www.cfd-online.com/Wiki/Numerical_methods
Could you explain clearly for me?

Thank a lot

Best regards
Fuji
fuji is offline   Reply With Quote

Old   November 22, 2010, 08:15
Default
  #7
New Member
 
Alton Luder III
Join Date: Oct 2009
Location: Michigan
Posts: 22
Rep Power: 7
sleepdeprivation is on a distinguished road
PDE's (the equations OpenFOAM solves) are equations of derivatives. The schemes are different ways to approximate those derivatives.
In finite difference equations, you classically make a Taylor series expansion then solve for the derivative you want (like d/dx).
Finite volume (what OpenFOAM uses) is similar, but cell based so you can use Gauss's Theorem and flux terms.

Many of the schemes are specific to CFD, so if you want information about something specific, check out the source code, just various places on the internet, or even Journal Articles if you want a really deep understanding.

If you're really confused, check out a calculus book, or one on numerical methods.
sleepdeprivation is offline   Reply With Quote

Old   December 14, 2010, 00:44
Default
  #8
New Member
 
Wind
Join Date: Nov 2010
Posts: 10
Rep Power: 6
fuji is on a distinguished road
Thank a lot sleepdeprivation
I will try to use it.

Fuji
fuji is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to understand high resolution scheme and high order scheme iilw1314 Main CFD Forum 3 September 30, 2010 10:43
Implementation of QUICK scheme Romuald Skoda Main CFD Forum 10 August 3, 2010 12:23
AUSM scheme ? Central Scheme boling Main CFD Forum 5 September 9, 2009 19:06
Definition of limiter function for central dirrerencing scheme sebastian_vogl OpenFOAM Running, Solving & CFD 0 January 5, 2009 12:08
extrapolation in MUSCL scheme Chandra Main CFD Forum 6 February 14, 2007 12:21


All times are GMT -4. The time now is 22:20.