|
|
|
UEqn.HGo to the documentation of this file.00001 // Solve the Momentum equation 00002 00003 tmp<fvVectorMatrix> UEqn 00004 ( 00005 fvm::div(phi, U) 00006 - fvm::Sp(fvc::div(phi), U) 00007 + turbulence->divDevRhoReff(U) 00008 ); 00009 00010 UEqn().relax(); 00011 00012 eqnResidual = solve 00013 ( 00014 UEqn() == -fvc::grad(p) 00015 ).initialResidual(); 00016 00017 maxResidual = max(eqnResidual, maxResidual); |