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

InterFoam UEqn understanding

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By gaza
  • 1 Post By cbcoutinho

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 23, 2017, 09:36
Default InterFoam UEqn understanding
  #1
Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 12
behzad-cfd is on a distinguished road
Hi Dear Foamers,

I've some questions about UEqn.H interFoam.
Code:
    if (pimple.momentumPredictor())
    {
        solve
        (
            UEqn
         ==
            fvc::reconstruct
            (
                (
                    fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
                  - ghf*fvc::snGrad(rho)
                  - fvc::snGrad(p_rgh)
                ) * mesh.magSf()
            )
        );
    }
1- Why right hand side is multiplied by area (mesh.magSf())?
2- Why every thing is in surface form (surface normal gradient, fvc::interpolate) and then reconstructed to cell values? couldn't every thing be in cell centered values from first place?

I'll be appreciated if someone make clear these to me.

Thanks in advance,

Behzad
behzad-cfd is offline   Reply With Quote

 

Tags
interfoam, ueqn


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
Understanding interFoam sega OpenFOAM Running, Solving & CFD 26 February 10, 2022 03:21
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 05:58
talk about the most suitable way to discretize diffusion term in UEqn bieshuxuhe OpenFOAM Programming & Development 1 April 16, 2014 10:10
interFoam Ueqn alvin11 OpenFOAM 2 December 2, 2010 01:28
GammaEqn and UEqn in interFoam adekian OpenFOAM Running, Solving & CFD 1 April 11, 2007 02:03


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