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

Stress tensor in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By grtabor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2008, 10:45
Default Hello The stress tensor in
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
srinath is on a distinguished road
Hello

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?

Thanks
Srinath
srinath is offline   Reply With Quote

Old   July 15, 2008, 11:02
Default fvc:: -- finite volume calculu
  #2
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17
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.

Gavin
mmohaqeqf likes this.
grtabor 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
Stress tensor components ap FLUENT 1 August 15, 2023 04:41
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 09:46
stress tensor at the wall voytex Main CFD Forum 0 April 26, 2004 11:24
Extra Stress Tensor M. Tabaddor FLUENT 0 February 15, 2002 12:35


All times are GMT -4. The time now is 19:51.