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();
Copyright © 2000-2009 OpenCFD Ltd