CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Stress tensor in rhoCentralFoam

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

LinkBack Thread Tools Display Modes
Old   July 15, 2008, 09:45
Default Hello The stress tensor in
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 10
srinath is on a distinguished road

The stress tensor in centralFoam, seems to be constructed rather mysteriously with the command

volTensorField tauMC("tauMC",mu*dev2(fvc::grad(U)().T()))

What does fvc::grad(U)().T()) do?
What does dev2 do?

srinath is offline   Reply With Quote

Old   July 15, 2008, 10:02
Default fvc:: -- finite volume calculu
Senior Member
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 10
grtabor is on a distinguished road
fvc:: -- finite volume calculus - explicit evaluation of a derivative

grad() -- gradient operator. Operating on U gives a 2nd rank tensor, so .T() will take the transpose of this.

The extra brackets after grad(U) are slightly complicated; operations in OpenFOAM often return `tmp' objects which have to be converted to ordinary objects before you can proceed.

dev2 -- works out the deviatoric part of the tensor.

grtabor is offline   Reply With Quote


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
Momentum equation and stress tensor Ihab CFX 0 March 9, 2009 11:46
stokes stress tensor formulation Sree Main CFD Forum 0 August 1, 2007 08:46
stress tensor at the wall voytex Main CFD Forum 0 April 26, 2004 10:24
Stress tensor components ap FLUENT 0 February 26, 2004 13:16
Extra Stress Tensor M. Tabaddor FLUENT 0 February 15, 2002 12:35

All times are GMT -4. The time now is 06:46.