|
[Sponsors] |
nonNewtonianFluidFoam - no grad(nu) & grad(U) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 29, 2012, 11:07 |
nonNewtonianFluidFoam - no grad(nu) & grad(U)
|
#1 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Hello folks,
does anybody know why in this solver no grad(nu) & grad (U) is taken into account in Ueqn? In interFoam one finds fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - fvm::laplacian(muEff, U) - (fvc::grad(U) & fvc::grad(muEff)) ); due to the fact that muEff is variable in space. In nonNewtonianIcoFoam - (fvc::grad(U) & fvc::grad(muEff)) is ignored. Thanks for replies. |
|
November 29, 2012, 11:49 |
Answer: continuum mechanics
|
#2 |
Senior Member
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19 |
Hello there
the additional term "- (fvc::grad(U) & fvc::grad(muEff))" is correct and is now present in nonNewtoninanIcoFoam in the OpenFOAM 2.1.x. You can also see this term in the interFoam solver. If you are only used to standard fluid mechanics, you will be puzzled by this term. If you want to understand the physical reason for this term, you have to go into continuum mechanics. My favourite book about the subject is... G. E. Mase. Schaums Outline Series: Theory and Problems of Continuum Mechanics. McGraw-Hill Inc., USA, 1970. Hope this helps J. |
|
November 29, 2012, 12:16 |
|
#3 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Hello Jon,
thank you for your answer. I just wondered why this term was missing in the solver I used so far (v.1.6-ext). I actually thought it was missing. I recently found out that you reported this bug in April. Thanks a lot, janto Last edited by chilledkroete; November 29, 2012 at 12:36. |
|
November 29, 2012, 13:30 |
|
#4 |
Senior Member
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19 |
sorry, apparantly I was reading your post too fast,...
good luck,... J. |
|
August 26, 2013, 21:01 |
|
#5 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Excuse me, where can I download this book?
Theory and Problems of Continuum Mechanics |
|
August 27, 2013, 13:00 |
|
#6 |
Senior Member
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19 |
You have to buy the book (I dont know of any download). But it is cheep.
See for example: http://www.amazon.com/Schaums-Outlin...mechanics+mase |
|
September 20, 2013, 20:50 |
|
#7 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Quote:
This book is not on sell in our country. Do you have another articles? Thanks. |
||
September 21, 2013, 14:15 |
|
#8 | |
Senior Member
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19 |
Quote:
There is another book I use : L. E. Malvern. Introduction to the Mechanics of Continuous Medium. Prentice-Hall, Inc., USA, 1969. ...but that book is much more expensive The only thing I can suggest if you have to download is search by using the string: "continuum mechanics pdf" hope this help Cheers Jon |
||
September 21, 2013, 22:48 |
|
#9 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Quote:
|
||
November 4, 2013, 09:09 |
|
#10 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
I still cant get out why there is (fvc::grad(U) & fvc::gradfluid.nu()). It exists in nonnewtonianIcoFoam and interFoam. Who can give me a hint pls?
|
|
November 4, 2013, 11:35 |
|
#11 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Hi,
maybe this picture helps: gradv&gradeta.png The first term is equivalent with eta*laplace(v). Regards, Janto |
|
November 4, 2013, 11:54 |
|
#12 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Quote:
You mean [LaTeX Error: Syntax error] Why shouldnt it be: [LaTeX Error: Syntax error] |
||
November 4, 2013, 14:00 |
|
#13 |
New Member
Janto
Join Date: Oct 2009
Location: Kassel
Posts: 8
Rep Power: 17 |
Hello Forrest,
you would be right if the viscosity was constant all over the domain. However, in interFoam and nonNewtonianIcoFoam the viscosity is a field variable (have a look in createFields where the viscosity is defined) and depends therefore on the spatial coordinates. Owing to that the gradient of the viscosity does not vanish. |
|
November 4, 2013, 14:07 |
|
#14 |
Senior Member
Jon Elvar Wallevik
Join Date: Nov 2010
Location: Reykjavik, ICELAND
Posts: 103
Rep Power: 19 |
Hello Sharonyue
Here is something I did in haste (there might be some typo errors, like vector arrow symbol missing over the velocity U), but basically this is the approach. You would not use array approach as you showed earlier, but rather directly work with dyads and vectors directly. Such is much easier. I hope you can use this document, but you need to know continuum mechanics,... there is no way around it, if you are going to do serious CFD work. Cheers and good luck Jon |
|
November 5, 2013, 00:43 |
|
#15 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Problem to calculate grad(U) using swak4Foam | Hugoles | OpenFOAM Community Contributions | 12 | November 24, 2020 11:28 |
Isn't the trace of gradU the continuity equation? I need a quantity for elongation | alexey7783 | OpenFOAM | 0 | September 9, 2009 04:04 |
LES correct function | luiz eduardo | OpenFOAM Running, Solving & CFD | 6 | September 14, 2007 05:10 |
GradU at the faces | sampaio | OpenFOAM Running, Solving & CFD | 3 | May 11, 2005 16:43 |
GradU in Post | sch | CFX | 5 | September 4, 2003 17:56 |