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

how to use 'turbFoam standard k-Epsilon ?'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2009, 06:27
Default how to use 'turbFoam standard k-Epsilon ?'
  #1
Senior Member
 
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 16
panda60 is on a distinguished road
Dear Foamers:
I want to simulate the air flow across an single building . I try to use the standard k-Epsilon of turbFoam. This is my steps:
1. generate the mesh using ICEM in windows, and then save to *.msh;
2. using "fluentMeshToFoam *.msh -scale 0.001",convert to foam mesh;
3.checkMesh, no problem;
4.copy turorials/turbFoam/cavity to my case directory, delete the "nuTilda and R" files, note the nuTilda and R lines in fvSchemes file.

divSchemes
{
default none;
div(phi,U) Gauss limitedLinearV 1;
div(phi,k) Gauss limitedLinear 1;
div(phi,epsilon) Gauss limitedLinear 1;
// div(phi,R) Gauss limitedLinear 1;
// div(R) Gauss linear;
// div(phi,nuTilda) Gauss limitedLinear 1;
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;
}

5. when I run , it displays the following mistakes:
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
alphaEps 0.76923;
}

Starting time loop
Time = 0.0005
Courant Number mean: 0.0197359 max: 0.237347
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 1.2995e-06, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 1.91917e-09, No Iterations 2
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 7.8287e-09, No Iterations 2
DICPCG: Solving for p, Initial residual = 1, Final residual = 9.7326e-07, No Iterations 177
time step continuity errors : sum local = 1.35378e-10, global = 9.41494e-13, cumulative = 9.41494e-13
DICPCG: Solving for p, Initial residual = 0.0826107, Final residual = 9.50741e-07, No Iterations 158
time step continuity errors : sum local = 4.28276e-11, global = 1.23514e-13, cumulative = 1.06501e-12
DILUPBiCG: Solving for epsilon, Initial residual = 0.556573, Final residual = 1.13615e-06, No Iterations 2
DILUPBiCG: Solving for k, Initial residual = 1, Final residual = 2.70281e-07, No Iterations 3
ExecutionTime = 10.26 s ClockTime = 11 s


It seems does not converge. because I'm newer , don't understand why. If it is because I haven't used turbFoam k-Epsilon correctly?
I think it is only an simple case ,fluent can solve this easily, Why OpenFOAM has so many problem?
Thank you very much.
panda60 is offline   Reply With Quote

Reply


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
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 08:30
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
TurbFoam problemlarge Co number sunnysun OpenFOAM Running, Solving & CFD 6 March 10, 2009 08:05
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 20:21
SimpleFoam result for turbFoam initialisation philippose OpenFOAM Running, Solving & CFD 0 November 26, 2006 10:24


All times are GMT -4. The time now is 17:24.