View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000519 | OpenFOAM | Bug | public | 2012-04-23 18:28 | 2012-04-23 21:36 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | OpenSuse | OS Version | 12.1 |
Summary | 0000519: code missing in nonNewtonianIcoFoam.C | ||||
Description | small code is missing in nonNewtonianIcoFoam.C in nonNewtonianIcoFoam.C, replace... fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(fluid.nu(), U) ); ...with... fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(fluid.nu(), U) - (fvc::grad(U) & fvc::grad(fluid.nu())) ); That is, the code "- (fvc::grad(U) & fvc::grad(fluid.nu()))" is missing in UEqn. See for example interFoam solver. | ||||
Additional Information | "- (fvc::grad(U) & fvc::grad(fluid.nu()))" must be added to get correct results Have done several simulations for coaxial cylinders viscometer using Bingham viscoplastic fluid. The only time I can reproduce the correct result is when I have this term added. The correct analytical solution is attained by the Reiner-Riwlin equation. | ||||
Tags | No tags attached. | ||||