OpenFOAM中为何要这样定义雷诺应力模型?
-
tmp<fvVectorMatrix> UEqn ( fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) == fvOptions(U) ); tmp<fvVectorMatrix> UEqn ( fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) == fvOptions(U) );
且默认
couplingFactor=0.
//- Return the effective viscosity virtual tmp<volScalarField> nuEff() const { return tmp<volScalarField> ( new volScalarField("nuEff", nut() + nu()) );
-
LRR
tmp<fvVectorMatrix> LRR::divDevReff(volVectorField& U) const { if (couplingFactor_.value() > 0.0) { return ( fvc::div(R_ + couplingFactor_*nut_*fvc::grad(U), "div(R)") + fvc::laplacian ( (1.0 - couplingFactor_)*nut_, U, "laplacian(nuEff,U)" ) - fvm::laplacian(nuEff(), U) ); } else { return ( fvc::div(R_) + fvc::laplacian(nut_, U, "laplacian(nuEff,U)") - fvm::laplacian(nuEff(), U) ); } }