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

[waves2Foam] About the introduction of the turbulence model into waveFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2015, 23:43
Default About the introduction of the turbulence model into waveFoam
  #1
Member
 
ALLEN
Join Date: Aug 2014
Posts: 32
Rep Power: 11
allenfieldin is on a distinguished road
Hi, Nielsen,

I am currently trying to introduce the turbulence model into the waveFoam solver, and I am suffering from the k-epsilon bounding problem. and the error seems to arise suddenly in a certain time step(for my case, it is after 4000 time steps):
Code:
time step continuity errors : sum local = 6.57563e-07, global = 2.12232e-09, cumulative = -8.22289e-05
GAMGPCG:  Solving for pdcorr, Initial residual = 1, Final residual = 3.41321e-08, No Iterations 11
GAMGPCG:  Solving for pdcorr, Initial residual = 1.27396e-08, Final residual = 1.27396e-08, No Iterations 0
GAMGPCG:  Solving for pdcorr, Initial residual = 1.27396e-08, Final residual = 1.27396e-08, No Iterations 0
GAMGPCG:  Solving for pdcorr, Initial residual = 1.27396e-08, Final residual = 1.27396e-08, No Iterations 0
Second continuityErrs.H :
time step continuity errors : sum local = 8.20024e-13, global = 9.95863e-15, cumulative = -8.22289e-05
Check Courant No :
Courant Number mean: 0.00308485 max: 0.045008 velocity magnitude: 0.264631
volume continuity errors : volume = 0.394011, max error = 1.95057e-11, sum local = 5.4868e-15, global = 5.10928e-18
No of Alpha subcycle is: 1
Solving Alpha Equation. 
MULES: Solving for alpha1
Liquid phase volume fraction = 0.441953  Min(alpha1) = -3.37222e-29  Max(alpha1) = 1.00107
Relaxing time: 0.03 s
DILUPBiCG:  Solving for Ux, Initial residual = 0.00526774, Final residual = 1.86658e-05, No Iterations 1
DILUPBiCG:  Solving for Uz, Initial residual = 0.00900043, Final residual = 3.5278e-05, No Iterations 1
GAMG:  Solving for pd, Initial residual = 0.00214831, Final residual = 1.85688e-05, No Iterations 1
GAMG:  Solving for pd, Initial residual = 1.85843e-05, Final residual = 9.88188e-08, No Iterations 4
GAMG:  Solving for pd, Initial residual = 9.86914e-08, Final residual = 9.86914e-08, No Iterations 0
GAMGPCG:  Solving for pd, Initial residual = 9.86914e-08, Final residual = 5.34721e-09, No Iterations 2
time step continuity errors : sum local = 1.71494e-09, global = -1.30375e-11
DILUPBiCG:  Solving for epsilon, Initial residual = 0.00087466, Final residual = 1.17416e-09, No Iterations 3
DILUPBiCG:  Solving for k, Initial residual = 0.000304489, Final residual = 6.88509e+29, No Iterations 500
bounding k, min: -1.01028e+31 max: 7.81151e+30 average: 5.85741e+26
I am wondering do you have some better suggestions for turbulence model selection (such as, different turbulence model have different bahavior at the surface) and waht kind of fvSchemes are suitable for wave propagation analysis. Have you already done such kind of analysis? Before k-epsilon, I tried with RNG k-epsilon, but it seems also have the bounding problem.

It is greatly apprecaited if you can give some hint and suggestion on that, it would be helpful for my current work.

I have attached the test case file mesh-fine-0.63-U3-kEpsilon.tar.gz, it is a 2D case(I know it is unsuitable for 2D, but it is just a test case). Hope you can have a minute looking into my case.

Thanks and best regards,

from Allen
allenfieldin is offline   Reply With Quote

Old   August 24, 2015, 05:29
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Allen,

A good place to begin with respect to turbulence models for breaking waves is the following reference:

https://journals.tdl.org/icce/index....icle/view/7485

Furthermore, if you are having problems with stability of your turbulence model, then I would suggest to use upwinding on k and epsilon to see, whether this choice in schemes solves the problems.

Kind regards,

Niels
Linmunn likes this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj 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
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 17:19
Error in Two phase (condensation) modeling adilsyyed CFX 15 June 24, 2015 19:42
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Wrong calculation of nut in the kOmegaSST turbulence model FelixL OpenFOAM Bugs 27 March 27, 2012 09:02


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