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

correctViscosity.H

Go to the documentation of this file.
00001 {
00002     mul = muc + 
00003         plasticViscosity
00004         (
00005             plasticViscosityCoeff,
00006             plasticViscosityExponent,
00007             alpha
00008         );
00009 
00010     if (BinghamPlastic)
00011     {
00012         volScalarField tauy = yieldStress
00013         (
00014             yieldStressCoeff,
00015             yieldStressExponent,
00016             yieldStressOffset,
00017             alpha
00018         );
00019 
00020         mul =
00021             tauy/
00022             (
00023                 mag(fvc::grad(U))
00024               + 1.0e-4*
00025                 (
00026                     tauy
00027                   + dimensionedScalar
00028                     (
00029                         "deltaTauy",
00030                         tauy.dimensions(),
00031                         1.0e-15
00032                     )
00033                 )/mul
00034             )
00035           + mul;
00036     }
00037 }
00038 
00039 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines