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

Convection Scheme in interFoam/ VoF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2024, 10:11
Default Convection Scheme in interFoam/ VoF
  #1
New Member
 
Shanthar Rajinth
Join Date: Apr 2023
Posts: 1
Rep Power: 0
rajinthss is on a distinguished road
Hello all,

I am having some trouble understanding the implementation of the convection scheme of the alpha transport equation (in the alphaEqn.H file). In the interFoam/ VOF solver. The original code looks like this:

Code:
fvScalarMatrix alpha1Eqn
(
    (
        LTS
      ? fv::localEulerDdtScheme<scalar>(mesh).fvmDdt(alpha1)
      : fv::EulerDdtScheme<scalar>(mesh).fvmDdt(alpha1)
    )
  + fv::gaussConvectionScheme<scalar>(mesh, phiCN, upwind<scalar>(mesh, phiCN)).fvmDiv(phiCN, alpha1)

 ==
    Su + fvm::Sp(Sp + divU, alpha1)
So it seems that an upwind convection scheme has been used. If wanted to change this to a higher-order scheme, say SuperBee, how would I go about doing that? The documentation implies that it should be implemented as:

Code:
LimitedScheme< Type, Limiter, LimitFunc >
But I cannot seem to figure out the arguments for the limiter and limitfunc.

Any guidance would be much appreciated.

Thanks
rajinthss 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
VOF interFoam - Strange behaviour in a micro T-junction pablitobass OpenFOAM Running, Solving & CFD 22 July 28, 2023 16:11
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58
Applying boundary conditions to 1D Steady Convection Diffusion using Power Law Scheme ConvDiff Main CFD Forum 1 January 7, 2012 17:40
VOF Discretization Scheme soy FLUENT 1 June 26, 2006 07:46
VOF scheme for open channel flow yan FLUENT 1 May 21, 2005 01:21


All times are GMT -4. The time now is 13:55.