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

Different momentum equation in different versions of settlingFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2015, 14:09
Default Different momentum equation in different versions of settlingFoam
  #1
New Member
 
Shenan
Join Date: Nov 2014
Posts: 5
Rep Power: 12
Shenan is on a distinguished road
The momentum equation for settlingFoam is different in OpenFOAM 2.2.1 and FOAM-extend 3.1. The term
Code:
-(fvc::grad(U) & fvc::grad(muEff))
is missing in FE 3.1.

In OF 2.2, the momentum equation is:

Code:
fvVectorMatrix UEqn
(
    fvm::ddt(rho, U)
  + fvm::div(phi, U)
  + fvc::div
    (
        (Alpha/(scalar(1.001) - Alpha))*(sqr(rhoc)/rho)*Vdj*Vdj,
        "div(phiVdj,Vdj)"
    )
  - fvm::laplacian(muEff, U, "laplacian(muEff,U)")
  - (fvc::grad(U) & fvc::grad(muEff))
);
In FE 3.1, the momentum equation is:

Code:
fvVectorMatrix UEqn
(
    fvm::ddt(rho, U)
  + fvm::div(phi, U)
  + fvc::div
    (
        (Alpha/(scalar(1.001) - Alpha))*(sqr(rhoc)/rho)*Vdj*Vdj,
        "div(phiVdj,Vdj)"
    )
  - fvm::laplacian(mu, U, "laplacian(muEff,U)")
);
The equations are based on the mixture momentum equation in Dan Brennan's thesis (2001, p86). Are both equations correct?

In OF 2.3.1, settlingFoam has been replaced with driftFluxFoam. Its momentum equation is:

Code:
fvVectorMatrix UEqn
(
    fvm::ddt(rho, U)
  + fvm::div(rhoPhi, U)
  + fvc::div(UdmModel.tauDm())
  + turbulence->divDevRhoReff(U)
 ==
    fvOptions(rho, U)
);
divDevRhoReff is defined in kEpsilon.C as:

Code:
tmp<fvVectorMatrix> kEpsilon::divDevRhoReff
(
    const volScalarField& rho,
    volVectorField& U
) const
{
    volScalarField muEff("muEff", rho*nuEff());

    return
    (
      - fvm::laplacian(muEff, U)
      - fvc::div(muEff*dev(T(fvc::grad(U))))
    );
}
Hence, in OF 2.* there appears to be a connection between:
Code:
- fvm::laplacian(muEff, U, "laplacian(muEff,U)") 
- (fvc::grad(U) & fvc::grad(muEff))
and
Code:
turbulence->divDevRhoReff(U)
.

If so, please can you tell me the relationship between
Code:
(fvc::grad(U) & fvc::grad(muEff))
and
Code:
fvc::div(muEff*dev(T(fvc::grad(U))))
?

Thank you.

Last edited by Shenan; April 15, 2015 at 14:15. Reason: ease of reading code
Shenan is offline   Reply With Quote

Reply

Tags
drift flux model, settlingfoam


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
solving the momentum equation in UEqn. callahance OpenFOAM 2 October 18, 2012 10:38
Coefficients discretized momentum equation michujo Main CFD Forum 4 June 20, 2012 02:33
Question on the discretization of momentum equation in icoFoam MPJ OpenFOAM 3 October 4, 2011 10:44
What is the Boussinesq Term in Momentum Equation CFDtoy Main CFD Forum 0 August 11, 2008 10:56
momentum equation cfp CFX 0 July 8, 2002 05:48


All times are GMT -4. The time now is 20:47.