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

maxCo in VOF interFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By haze_1986
  • 1 Post By JF_tx

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2015, 21:57
Default maxCo in VOF interFoam
  #1
Senior Member
 
Join Date: Jul 2011
Posts: 120
Rep Power: 14
haze_1986 is on a distinguished road
Hi All,

I'm not sure if anyone is experiencing this in interFoam, that reducing the maxCo and alphaMaxCo from the default 1 will change the result quite a lot. Does this simply mean that a smaller Courant number is required? From some quick runs the results seems to not change much when the Courant number is 0.1.
haze_1986 is offline   Reply With Quote

Old   May 7, 2015, 09:43
Default
  #2
Member
 
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0
hchen is on a distinguished road
Hi,

InterFoam uses a explicit time scheme, so I suppose the time step will affect the accuracy of the result. I always use Co < 0.35 - 0.5. However this is case sensitive.

Best regards
Hao

Quote:
Originally Posted by haze_1986 View Post
Hi All,

I'm not sure if anyone is experiencing this in interFoam, that reducing the maxCo and alphaMaxCo from the default 1 will change the result quite a lot. Does this simply mean that a smaller Courant number is required? From some quick runs the results seems to not change much when the Courant number is 0.1.
hchen is offline   Reply With Quote

Old   May 11, 2015, 04:09
Default
  #3
Senior Member
 
Join Date: Jul 2011
Posts: 120
Rep Power: 14
haze_1986 is on a distinguished road
Quote:
Originally Posted by hchen View Post
Hi,

InterFoam uses a explicit time scheme, so I suppose the time step will affect the accuracy of the result. I always use Co < 0.35 - 0.5. However this is case sensitive.

Best regards
Hao
Thanks Hao, I assume that's just for the alpha equations? Is there a way to run them using an implicit time scheme?
haze_1986 is offline   Reply With Quote

Old   September 7, 2015, 19:56
Default
  #4
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 23
santiagomarquezd will become famous soon enough
Hi, you can go up in Co increasing nAlphaSubCycles accordingly.

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Scientist
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   September 8, 2015, 08:56
Default
  #5
Senior Member
 
Join Date: Jul 2011
Posts: 120
Rep Power: 14
haze_1986 is on a distinguished road
Just an update on this, in version 2.4.0 alpha is now solved semi-implicitly, and I no longer have this issue. Solution converged better with larger Courant numbers.
JF_tx likes this.
haze_1986 is offline   Reply With Quote

Old   May 3, 2016, 03:40
Default
  #6
New Member
 
Juan Fran
Join Date: Jan 2016
Posts: 4
Rep Power: 10
JF_tx is on a distinguished road
Quote:
Originally Posted by haze_1986 View Post
Just an update on this, in version 2.4.0 alpha is now solved semi-implicitly, and I no longer have this issue. Solution converged better with larger Courant numbers.
Hi all,
I have been researching in the maxCo number in interFOAM. I checked that in the tutorial (OpenFoam 3.0) inteFoam/ras/waterChannel, maxCo and maxAlpha are given a value of 6. Same configuration is working for the problem that I'm studding (flow over a sloped channel with a control structure (a wall with a small notch on it)), obtaining a good result when comparing to the experimental results (turbulence and velocity profiles).
However, when I try to justify the value and when I check for Co numbers, all references seem to agree that Co must be less than 1, and other tutorial and post seems to confirm this, with reasonable justifications.
Can anyone provide me some light into this?
Now, I’m simulating the same scenario with a maxCo and a maxAlpha equal to 1 to see the possible consequences of decreasing the values and, in turn, the max time step.
best
JF_tx is offline   Reply With Quote

Old   May 5, 2016, 01:32
Default
  #7
New Member
 
Juan Fran
Join Date: Jan 2016
Posts: 4
Rep Power: 10
JF_tx is on a distinguished road
Hi again,
So, the results obtained using maxCo=1 are similar to the ones obtained with maxCo=6 for the case that I'm studding, of course, the time steps are smaller. Thus, seems a good alternative the use high maxCo first until you reach to equilibrium and after simulate with smaller maxCos. A good explanation of why is possible to use higher maxCo can be found in:

http://www.openfoam.org/version2.3.0/multiphase.php

best
leofev likes this.
JF_tx 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
Problem modeling hydraulic jump in an open channel with interFoam (VoF) arnau1985 OpenFOAM Running, Solving & CFD 12 December 26, 2022 05:54
Modelling falling solid sphere using interFoam VOF model eelcovv OpenFOAM Running, Solving & CFD 6 August 7, 2021 21:52
Vof method in interFoam Andrea_85 OpenFOAM 10 February 17, 2011 04:41
VOF - interFoam - strafitied Flow - bug in shear stress continuity at interface AnjaMiehe OpenFOAM Bugs 0 December 17, 2009 05:46
Are the VOF results of interFoam grid independent asaha OpenFOAM Running, Solving & CFD 1 June 26, 2009 04:27


All times are GMT -4. The time now is 08:41.