OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

UBlendingFactor.H

Go to the documentation of this file.
00001     surfaceScalarField alpha1f = fvc::interpolate(alpha1);
00002     surfaceScalarField UBlendingFactor
00003     (
00004         "UBlendingFactor",
00005         sqrt(max(min(4*alpha1f*(1.0 - alpha1f), 1.0), 0.0))
00006     );
Copyright © 2000-2009 OpenCFD Ltd