FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

calcVdj.H

Go to the documentation of this file.
00001 if (VdjModel == "general")
00002 {
00003     Vdj = V0*
00004     (
00005         exp(-a*max(alpha - alphaMin, scalar(0)))
00006       - exp(-a1*max(alpha - alphaMin, scalar(0)))
00007     );
00008 }
00009 else if (VdjModel == "simple")
00010 {
00011     Vdj = V0*pow(10.0, -a*alpha);
00012 }
00013 else
00014 {
00015     FatalErrorIn(args.executable())
00016         << "Unknown VdjModel : " << VdjModel
00017         << abort(FatalError);
00018 }
00019 
00020 Vdj.correctBoundaryConditions();
00021 
00022 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines