CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

three questions regarding interFoam (basic but may confuse many people)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 2, 2010, 21:07
Exclamation three questions regarding interFoam (basic but may confuse many people)
  #1
Member
 
YS
Join Date: Jan 2010
Posts: 61
Rep Power: 6
Ya_Squall2010 is on a distinguished road
(1) for incompressible solvers, while discretizing momentum equations, why is the following term considered only when turbulence modelling is turned on:
- fvc::div(nuEff()*dev(fvc::grad(U)().T()))

see :

GenEddyVisc::divDevBeff(volVectorField& U) const
00091 {
00092 return
00093 (
00094 - fvm::laplacian(nuEff(), U) - fvc::div(nuEff()*dev(fvc::grad(U)().T()))
00095 );
00096 }

(2) in pEqn.H of interFoam, the 'guess' fluxes phiU is first evaluated and then corrected, the question is, why the correction (and adjustment) is performed without considering the source terms (gravity, surface tension, etc.)

(3) in UEqn.H :

00019 if (momentumPredictor)
00020 {
00021 solve
00022 (
00023 UEqn
00024 ==
00025 fvc::reconstruct
00026 (
00027 fvc::interpolate(rho)*(g & mesh.Sf())
00028 + (
00029 fvc::interpolate(interface.sigmaK())*fvc::snGrad(a lpha1)
00030 - fvc::snGrad(p)
00031 ) * mesh.magSf()
00032 )
00033 );
00034 }

The source terms are first computed at cell faces and then reconstructed to cell centres, why bothering? Why not just compute them at cell centre in the first place? Is there any special issue I missed out?

Many Thanks!

Last edited by Ya_Squall2010; April 6, 2010 at 07:42.
Ya_Squall2010 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
total newbie - Basic Questions caslor Main CFD Forum 9 December 10, 2009 12:49
Parafoam basic questions qtian OpenFOAM Paraview & paraFoam 0 July 20, 2007 12:52
New user with some basic questions york OpenFOAM 3 November 10, 2006 19:17
some very basic questions bomario FLUENT 0 December 4, 2005 22:13
LES.. Basic Questions NIK Main CFD Forum 8 May 19, 2004 19:24


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