|
[Sponsors] |
September 13, 2012, 21:42 |
Simple question about icoFoam
|
#1 |
New Member
Yuri Almeida
Join Date: Jan 2012
Location: Rio de Janeiro, Brazil
Posts: 21
Rep Power: 14 |
Dear all,
The momentum equation in icoFoam.C (OF21) is the following: fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) ); solve(UEqn == -fvc::grad(p)); If I understood right, the equation would be: d(U)/dt + div(rho*U*U) - laplacian((mu/rho)*U) = -grad(p) (1) But the equation found in books is: d(rho*U)/dt + div(rho*U*U) - laplacian(mu*U) = -grad(p) (2) or, dividing by rho: d(U)/dt + div(U*U) - laplacian((mu/rho)*U) = -(1/rho)*grad(p) (3) My question is: Why are equation 2 and 3 different from 1? Probably they are not, but, where is "rho" in -fvc::grad(p) and why is it present in div(phi, U)?? Thx in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple Beginner User Question on 'geometry' | scottimus | FLUENT | 5 | March 27, 2012 13:17 |
Simple Question - or not? | Florian2 | Main CFD Forum | 10 | November 17, 2011 16:48 |
Question about PISO in IcoFoam | titio | OpenFOAM Running, Solving & CFD | 5 | September 17, 2010 13:31 |
Simple Question Regarding Symmetry Planes | Atella | Main CFD Forum | 0 | April 9, 2010 10:58 |
Simple icoFoam simulation gone wrong | rieuk | OpenFOAM Running, Solving & CFD | 3 | March 5, 2010 02:24 |