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

nonNewtonianIcoFoam equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2015, 13:19
Default nonNewtonianIcoFoam equation
  #1
Senior Member
 
Join Date: Jan 2015
Posts: 150
Rep Power: 11
Svensen is on a distinguished road
In the source of nonNewtonianIcoFoam solver I've found this equation:

fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(fluid.nu(), U)
- (fvc::grad(U) & fvc::grad(fluid.nu()))
);

It's all OK, except last operand "(fvc::grad(U) & fvc::grad(fluid.nu())"..

Why do we need to do bitwise AND with grad_U and grad_Nu ???
Svensen is offline   Reply With Quote

Old   March 4, 2015, 14:49
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

You know, there is operator overloading, so & can be anything but bitwise AND.
alexeym is offline   Reply With Quote

Old   March 5, 2015, 18:13
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
I hope this may help:http://www.cfd-online.com/Forums/ope...nu-grad-u.html
sharonyue is offline   Reply With Quote

Old   March 6, 2015, 02:03
Default
  #4
Senior Member
 
Join Date: Jan 2015
Posts: 150
Rep Power: 11
Svensen is on a distinguished road
Thank you very much
Svensen is offline   Reply With Quote

Reply

Tags
equation, nonnewtonianicofoam, openfoam


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
rotational and inviscid Mike Main CFD Forum 40 November 9, 2023 06:03
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Some problem of "Qcriterion.mcr& yuyuxuan Tecplot 9 February 12, 2016 03:27
Need help:about energy equation in CFX Stein CFX 4 July 2, 2009 22:31
Diffusion Equation izardy amiruddin Main CFD Forum 2 July 4, 2002 08:14


All times are GMT -4. The time now is 22:53.