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

Laplacian term in N-S equation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By DiegoNaval

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2011, 12:15
Default Laplacian term in N-S equation
  #1
Member
 
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 37
Rep Power: 16
DiegoNaval is on a distinguished road
Hi All,

I have a little question on the Navier-Stokes implementation in OF.

In the interPhaseChangeFoam solver the N-S equation has written as:

fvVectorMatrix UEqn
(
fvm::ddt(rho, U)
+ fvm::div(rhoPhi, U)
- fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U)
- fvm::laplacian(muEff, U)
- (fvc::grad(U) & fvc::grad(muEff))
);

My question is: what does the term "- (fvc::grad(U) & fvc::grad(muEff))" mean?

In the theory that term shouldn't exist.

if it's true the relationship laplacian(muEff, U)=muEff*laplacian(U)+grad(U)*grad(muEff) (see P-38 in Programmers Guide)

I make some mistake?

Diego
babakflame likes this.
DiegoNaval is offline   Reply With Quote

Old   July 26, 2011, 00:26
Default
  #2
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Quote:
Originally Posted by DiegoNaval View Post
Hi All,

I have a little question on the Navier-Stokes implementation in OF.

In the interPhaseChangeFoam solver the N-S equation has written as:

fvVectorMatrix UEqn
(
fvm::ddt(rho, U)
+ fvm::div(rhoPhi, U)
- fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U)
- fvm::laplacian(muEff, U)
- (fvc::grad(U) & fvc::grad(muEff))
);

My question is: what does the term "- (fvc::grad(U) & fvc::grad(muEff))" mean?

In the theory that term shouldn't exist.

if it's true the relationship laplacian(muEff, U)=muEff*laplacian(U)+grad(U)*grad(muEff) (see P-38 in Programmers Guide)

I make some mistake?

Diego
Could it be that this term is to improve convergence/stability, and that it is zero when the solution is reached?

Mirko
mirko is offline   Reply With Quote

Old   July 26, 2011, 06:38
Default
  #3
Member
 
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 37
Rep Power: 16
DiegoNaval is on a distinguished road
Hi Mirko
I'm not sure of that. Why this terms should be zero when the solution is reached? Both therms are not zero at the end, and why the inner product should be zero?

Could you send me a reference about that?

Thanks a lot for the replay

Diego
DiegoNaval is offline   Reply With Quote

Old   July 26, 2011, 07:25
Default
  #4
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Hi Diego,
The answer is here "http://www.cfd-online.com/Forums/openfoam/82640-interfoam-ueqn.html" and here "http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/SummerSchool2009/presentations/MitjaMorgut2009.pdf"
pablodecastillo is offline   Reply With Quote

Old   July 26, 2011, 12:45
Default
  #5
Member
 
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 37
Rep Power: 16
DiegoNaval is on a distinguished road
Hi Pablo
I'm agree that if the muEff is not constant the terms
"div(muEff*grad(U))" and "muEff*lapalcian(U)" are different, but in the Navie- Stokes equation the first term is the right one.
But as the OF Programmers Guide tell at P-38, the openfoam command laplacian(muEff,U), should be intended as the div(muEff*grad(U)) and not asmuEff*lapalcian(U), so should be not necessary split the terms in two contribute in the equation.

If I say something wrong...could you say me where?

Diego
DiegoNaval is offline   Reply With Quote

Old   July 26, 2011, 15:36
Default
  #6
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Let me known if with this pic it is clear

http://imageshack.us/photo/my-images/3/formulasns.jpg
pablodecastillo is offline   Reply With Quote

Old   July 27, 2011, 04:44
Default
  #7
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Pablo, you have errors in the bracketing of the equations in the three lines of your eqnarray. The final result is correct though
akidess is offline   Reply With Quote

Old   July 27, 2011, 05:25
Default
  #8
Member
 
Diego Villa
Join Date: Mar 2010
Location: Genova Italy
Posts: 37
Rep Power: 16
DiegoNaval is on a distinguished road
Thank you very much Pablo,
I found the little mistake in the brackets, but now all it is more clear. In every books i found that this therm is always hides in the source terms without explicit its.

Thank you again.
DiegoNaval is offline   Reply With Quote

Old   July 27, 2011, 07:56
Default
  #9
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Sorry, brackets are wrong at the stress term.

Pablo
pablodecastillo is offline   Reply With Quote

Old   July 20, 2012, 15:32
Default transpose term
  #10
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
Dear All

I like to ask a question: What happen to the term of transpose of (Grad (U))? To what term it is converted in equation given in "http://imageshack.us/photo/my-images/3/formulasns.jpg/"

Regards
Ehsan
ehsan 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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Large source term in species equation MACFD FLUENT 4 January 4, 2011 15:16
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 20:53
What is the Boussinesq Term in Momentum Equation CFDtoy Main CFD Forum 0 August 11, 2008 10:56
bouyancy term in epsilon equation Michael Main CFD Forum 1 June 25, 1999 11:20


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