|
[Sponsors] |
September 11, 2007, 05:28 |
Hi,
I have some questions a
|
#1 |
New Member
Nikolaos Spyrou
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Hi,
I have some questions about adding a source to the momentum eqn: 1. Is there a difference between the two following formulations a) and b)? a) fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) ); solve(UEqn == -fvc::grad(p)) b) fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U)==-fvc::grad(p) ); UEqn.solve(); 2: ChannelOodles: fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) + sgsModel->divB(U) == flowDirection*gradP ); The RHS is treated explicitly, can somebody tell me where in the code I see that the RHS-term is multiplied with the cell-Volume? Sorry for that basic questions, but I havent found answers in other threads yet. Thanks in advance |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ChannelOodles | maka | OpenFOAM Bugs | 12 | February 5, 2009 19:17 |
[Gmsh] ChannelOodles with gmsh | lofty | OpenFOAM Meshing & Mesh Conversion | 7 | April 16, 2008 17:44 |
GradP in channeloodles | nikos_fb16 | OpenFOAM Running, Solving & CFD | 0 | September 10, 2007 10:46 |
GradP in channeloodles | nikos_fb16 | OpenFOAM Running, Solving & CFD | 1 | September 4, 2007 11:52 |
ChannelOodles in parallel | maka | OpenFOAM Bugs | 3 | August 21, 2007 18:30 |