CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Problem about fvMatrix in OpenFOAM, over volume or not

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2012, 20:45
Default 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
yhaomin2007 is on a distinguished road
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.
yhaomin2007 is offline   Reply With Quote

Old   July 6, 2015, 22:11
Arrow Problem about fvMatrix in OpenFOAM, over volume or not
  #2
New Member
 
NSW
Join Date: Nov 2013
Posts: 2
Rep Power: 0
Nazmul Khan is on a distinguished road
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.
Nazmul Khan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:54.