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

What is the "dpdt" term?--chtMultiRegionFoam

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

Like Tree2Likes
  • 2 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2013, 05:46
Default What is the "dpdt" term?--chtMultiRegionFoam
  #1
New Member
 
Qing, Cao
Join Date: Nov 2012
Posts: 6
Rep Power: 13
Q.Cao is on a distinguished road
Hi Foamers!

in the energy equation of the solver chtMultiRegionFoam, there is some code like following:

fvScalarMatrix hEqn
(
fvm::ddt(rho, h)
+ fvm::div(phi, h)
- fvm::laplacian(turb.alphaEff(), h)
==
dpdt
- (fvc::ddt(rho, K) + fvc::div(phi, K))
+ rad.Sh(thermo)
);

my questions are:
1, what does that "dpdt" means?
2, what does that "rad.Sh(thermo)" means?

thank you guys, i am a really newbie in OpenFOAM..

Regards,
Qing
Q.Cao is offline   Reply With Quote

Old   June 26, 2013, 09:21
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi,

1. You might want to look at the bottom of this page:
http://www.openfoam.org/version2.2.0/thermophysical.php

2. This is the source term from the radiation.

Hope that helps,
Fumiya
fumiya is offline   Reply With Quote

Old   June 26, 2013, 09:38
Default
  #3
New Member
 
Qing, Cao
Join Date: Nov 2012
Posts: 6
Rep Power: 13
Q.Cao is on a distinguished road
Quote:
Originally Posted by fumiya View Post
Hi,

1. You might want to look at the bottom of this page:
http://www.openfoam.org/version2.2.0/thermophysical.php

2. This is the source term from the radiation.

Hope that helps,
Fumiya
Thanks Fumiya,

for point 1, i read that part but i still dont unterstand the mathematical formula of the dpdt.. Is dpdt the "pressure-work term" and what it looks like? Or the dpdt is just a selector?

for point 2, what is the mathematical formula of that source term? Does the "Sh" mean Sherwood number?

So anyway, if someone can show me the complett mathematical equation of that energy equation code, that will be very nice..

Best regards,
Qing
Q.Cao is offline   Reply With Quote

Old   June 26, 2013, 10:39
Default
  #4
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi,

1. In the pEqn.H(https://github.com/OpenFOAM/OpenFOAM...m/fluid/pEqn.H)
Code:
// Update pressure time derivative if needed
if (thermo.dpdt())
{
    dpdt = fvc::ddt(p);
}
2. In the radiationModel.C(https://github.com/OpenFOAM/OpenFOAM...diationModel.C)
Code:
Foam::tmp<Foam::fvScalarMatrix> Foam::radiation::radiationModel::Sh
(
    fluidThermo& thermo
) const
{
    volScalarField& he = thermo.he();
    const volScalarField Cpv(thermo.Cpv());
    const volScalarField T3(pow3(T_));

    return
    (
        Ru()
      - fvm::Sp(4.0*Rp()*T3/Cpv, he)
      - Rp()*T3*(T_ - 4.0*he/Cpv)
    );
}
I think this document(http://www.tfd.chalmers.se/~hani/kur...Foam_final.pdf) is a good reference.

Hope that helps,
Fumiya
elham usefi and AndyRoid like this.
fumiya is offline   Reply With Quote

Old   June 26, 2013, 11:08
Default
  #5
New Member
 
Qing, Cao
Join Date: Nov 2012
Posts: 6
Rep Power: 13
Q.Cao is on a distinguished road
Quote:
Originally Posted by fumiya View Post
Hi,

1. In the pEqn.H(https://github.com/OpenFOAM/OpenFOAM...m/fluid/pEqn.H)
Code:
// Update pressure time derivative if needed
if (thermo.dpdt())
{
    dpdt = fvc::ddt(p);
}
2. In the radiationModel.C(https://github.com/OpenFOAM/OpenFOAM...diationModel.C)
Code:
Foam::tmp<Foam::fvScalarMatrix> Foam::radiation::radiationModel::Sh
(
    fluidThermo& thermo
) const
{
    volScalarField& he = thermo.he();
    const volScalarField Cpv(thermo.Cpv());
    const volScalarField T3(pow3(T_));

    return
    (
        Ru()
      - fvm::Sp(4.0*Rp()*T3/Cpv, he)
      - Rp()*T3*(T_ - 4.0*he/Cpv)
    );
}
I think this document(http://www.tfd.chalmers.se/~hani/kur...Foam_final.pdf) is a good reference.

Hope that helps,
Fumiya
Thank you Fumiya!

that s a wonderful answer,
have a nice day!

Regards,
Qing
Q.Cao is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
How does fluent handles the momentum source term? QBeast FLUENT 0 April 22, 2013 14:12
Smagorinsky term in SGS kinetic energy equation Ivan Main CFD Forum 3 January 21, 2013 15:22
Large source term in species equation MACFD FLUENT 4 January 4, 2011 14:16
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


All times are GMT -4. The time now is 12:30.