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

Regarding unbounded alpha values -interFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 4 Post By santiagomarquezd
  • 1 Post By Elham
  • 1 Post By santiagomarquezd
  • 1 Post By chivaee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2017, 07:13
Default Regarding unbounded alpha values -interFoam
  #1
Member
 
Phanindra
Join Date: Jan 2013
Posts: 39
Rep Power: 13
phani45 is on a distinguished road
Dear Foamers,

I'm using interFoam for flow over flat plate. Over the course of time I see the alpha values increasing beyond 1. With refined mesh , with all schemes including upwind. . Can anyone of you help me to overcome this issue

I'm attaching fvschemes,fvsolution and p_rgh files for your perusal.fvSchemes.txt

fvSolution.txt

p_rgh.txt
phani45 is offline   Reply With Quote

Old   July 31, 2017, 07:56
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
You can use a limited scheme as convective scheme for the alpha equation, for example:
Code:
    div(phi,alpha)  Gauss limitedVanLeer 0 1; //vanLeer;
    div(phirb,alpha) Gauss limitedLinear 0 1; //linear;
Use the banana trick to find out what limited schemes exist in OpenFOAM.
floquation is offline   Reply With Quote

Old   August 25, 2017, 20:29
Default
  #3
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
Hello, the MULES integrator mostly overrides the fluxes computed by the limiters, therefore the whole thing is related to MULES. Try to reduce your time-step or using more nAlphaSubCycles.

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   July 5, 2018, 04:32
Default
  #4
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 16
Elham is on a distinguished road
Quote:
Originally Posted by santiagomarquezd View Post
Hello, the MULES integrator mostly overrides the fluxes computed by the limiters, therefore the whole thing is related to MULES. Try to reduce your time-step or using more nAlphaSubCycles.

Regards.
Hi,

As my alpha was unbounded I used the following expression.

Code:
        alpha1=max(scalar(0.0),min(alpha1,scalar(1.0)));
I don't know if there is any issue with it that nobody uses.

Cheers,

Elham
thanosniotis likes this.
Elham is offline   Reply With Quote

Old   March 6, 2019, 08:05
Default
  #5
Member
 
Mahmoud Aboukhedr
Join Date: Feb 2014
Location: London
Posts: 40
Rep Power: 12
Mahmoud_aboukhedr is on a distinguished road
Quote:
Originally Posted by Elham View Post
Hi,

As my alpha was unbounded I used the following expression.

Code:
        alpha1=max(scalar(0.0),min(alpha1,scalar(1.0)));
I don't know if there is any issue with it that nobody uses.

Cheers,

Elham
Where exactly you added this equation ??
Mahmoud_aboukhedr is offline   Reply With Quote

Old   March 6, 2019, 09:06
Default
  #6
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
Hello, that method is non-conservative and should be avoided.

Regards
erinsam likes this.
__________________
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   March 6, 2019, 09:34
Default
  #7
Member
 
Mahmoud Aboukhedr
Join Date: Feb 2014
Location: London
Posts: 40
Rep Power: 12
Mahmoud_aboukhedr is on a distinguished road
Quote:
Originally Posted by santiagomarquezd View Post
Hello, that method is non-conservative and should be avoided.

Regards
Thanks for your reply, however increasing the nAlphaSubCycles and decreasing the time step does not solve the problem.
Currently, I see an increase in my alpha value due to the unbounded alpha max and min
Mahmoud_aboukhedr is offline   Reply With Quote

Old   May 14, 2020, 11:10
Default
  #8
New Member
 
Liz
Join Date: Apr 2020
Location: Germany
Posts: 10
Rep Power: 6
redTo is on a distinguished road
Hi Mahmoud, did you solve this problem? I'm saving the same problem right now with my simulation.

Regards
redTo is offline   Reply With Quote

Old   September 25, 2021, 06:05
Default
  #9
New Member
 
Hamid
Join Date: Mar 2012
Posts: 20
Rep Power: 14
chivaee is on a distinguished road
It may be a little late to give an answer here, but have you tried isoAdvectors i.e., interIsoFoam? It gives bounded alpha.water fields
Michalis_Loukas likes this.
chivaee 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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 15:26
Mapping values from 2D mesh to 3D mesh boundary during runtime benk OpenFOAM Programming & Development 1 June 13, 2014 02:39
InterFoam - Dambreak - alpha erncyc OpenFOAM 0 July 4, 2012 11:18
Bounded scheme gives unbounded solution su_junwei OpenFOAM Running, Solving & CFD 3 November 18, 2011 02:35
Alpha to be phased out Heiko Gerhauser Main CFD Forum 17 July 25, 2001 14:40


All times are GMT -4. The time now is 03:51.