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

nonNewtonianIcoFoam equation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 4, 2015, 14:19
Default nonNewtonianIcoFoam equation
  #1
Member
 
Join Date: Jan 2015
Posts: 92
Rep Power: 3
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, 15:49
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,409
Rep Power: 24
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

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

Old   March 5, 2015, 19:13
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 742
Rep Power: 9
sharonyue is on a distinguished road
I hope this may help:nonNewtonianFluidFoam - no grad(nu) & grad(U)
sharonyue is offline   Reply With Quote

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

Reply

Tags
equation, nonnewtonianicofoam, openfoam

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some problem of "Qcriterion.mcr& yuyuxuan Tecplot 9 February 12, 2016 04:27
rotational and inviscid Mike Main CFD Forum 7 April 20, 2011 02:25
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
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 13:39.