CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to use bounded in fvSchemes? (http://www.cfd-online.com/Forums/openfoam-solving/113004-how-use-bounded-fvschemes.html)

 immortality February 9, 2013 15:38

how to use bounded in fvSchemes?

when i use boundes scheme like this:
Code:

```laplacianSchemes {     default        Gauss linear bounded;//limited .5     /*laplacian(muEff,U) Gauss linear corrected;     laplacian(mut,U) Gauss linear corrected;     laplacian(DkEff,k) Gauss linear corrected;     laplacian(DepsilonEff,epsilon) Gauss linear corrected;     laplacian(DREff,R) Gauss linear corrected;     laplacian(DomegaEff,omega) Gauss linear corrected;     laplacian((rho*(1|A(U))),p) Gauss linear corrected;     laplacian(alphaEff,h) Gauss linear corrected;     laplacian(k,T)  Gauss linear corrected;      laplacian(alpha,e) Gauss linear corrected;     laplacian(alphaEff,e)  Gauss linear corrected;*/ } interpolationSchemes {     default        linear; } snGradSchemes {     default      bounded;//limited .5 }```
this error displayes:
Code:

```Create time Create mesh for time = 6e-05 PIMPLE: max iterations = 4 field "(U|k|omega)"        : relTol 0, tolerance 1e-11 Reading thermophysical properties Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> Reading field U Reading/calculating face flux field phi Creating turbulence model Selecting turbulence model type laminar Creating field dpdt Creating field kinetic energy K Starting time loop Courant Number mean: 0.03531419379 max: 0.2648126303 deltaT = 2e-07 Time = 6.02e-05 diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 PIMPLE: iteration 1 --> FOAM FATAL IO ERROR: Unknown discretisation scheme bounded Valid schemes are : 3 ( corrected limited uncorrected ) file: /home/ehsan/Desktop/WR_Pimple_filling/system/fvSchemes::laplacianSchemes::default at line 50. From function snGradScheme<Type>::New(const fvMesh&, Istream&) in file lnInclude/snGradScheme.C at line 82. FOAM exiting ehsan@Ehsan-com:~/Desktop/WR_Pimple_filling\$```
why?:confused:

 immortality April 2, 2013 06:14

i saw bounded in user guide.doesn't it work?is it incorrect?

 JackW February 15, 2016 20:19

A few examples:

Code:

```    div(phi,U)      bounded Gauss linearUpwindV grad(U); div(phi,k)      bounded Gauss upwind;```
I use it generally for steadyState calculations

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