|
[Sponsors] |
Problem about fvMatrix in OpenFOAM, over volume or not |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2012, 20:45 |
Problem about fvMatrix in OpenFOAM, over volume or not
|
#1 |
Member
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14 |
Dear All foamers:
I have a question about the equations in OpenFOAM. When we set those equations, like UEqn and PEqn, is every term over by cell volume or not? Like in UEqn, the fvm::div term is value integral the cell volume, but the grad(p) term is divided by cell volume. That really confused me, Can anybody give me a clear explanation about this issue? Or where can I find the answer about this?? thank you all in advance. |
|
July 6, 2015, 22:11 |
Problem about fvMatrix in OpenFOAM, over volume or not
|
#2 |
New Member
NSW
Join Date: Nov 2013
Posts: 2
Rep Power: 0 |
for the source term in UEqn should follow similar expression of other ddt or div terms , for example fvm::ddt(rho, U) terms already includes mesh.V() as (see in src finiteVolume code for schemes)
fvm.source() = rDeltaT*mesh().V()* ( coefft0*vf.oldTime().internalField() - coefft00*vf.oldTime().oldTime().internalField() ); for updating any source terms following fvm.source() function just update the function that does not need to divide by V. See the example in OpenFoam >src lagrangian> intermediate> KinematicCloudI.H for SU(U) source term. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] volume mesh leaking out of the surface, in a multi zone problem | premchandpendota | ANSYS Meshing & Geometry | 6 | July 31, 2012 02:36 |
Negative cell volume problem in-cylinder | ziani.lotfi | FLUENT | 0 | April 11, 2012 08:54 |
OpenFOAM 1.7.1 installation problem on Fedora 14 | armonica | OpenFOAM Installation | 16 | March 31, 2011 14:16 |
Problem of negative volume.......Please help | nims | FLUENT | 3 | November 2, 2010 03:07 |
Zero Volume Fraction in Free Surface Problem | marega | CFX | 1 | September 10, 2009 07:31 |