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

Calculate and display eddy viscosity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2008, 05:49
Default Hello everybody, I have bee
  #1
New Member
 
Thomas Ceyrowsky
Join Date: Mar 2009
Location: Germany
Posts: 9
Rep Power: 17
ceyrows is on a distinguished road
Hello everybody,

I have been doing some URANS-calculations using different turbulence models and would now like to display the eddy viscosity. This is not possible directly because the nut-field data has not been written. Using paraview's calculator is also not an adequate option...

Is there a utility for calculating the eddy viscosity field afterwards?

Thanks a lot,

Thomas
ceyrows is offline   Reply With Quote

Old   May 2, 2008, 06:52
Default Attached is one that I have ki
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Attached is one that I have kicking around for calculating mu_t for k/eps (we only have compressible flow). You should be able to adapt it to nu_t without too much effort.

turbvisc.C
olesen is offline   Reply With Quote

Old   May 2, 2008, 07:10
Default Hey Mark, thank you very mu
  #3
New Member
 
Thomas Ceyrowsky
Join Date: Mar 2009
Location: Germany
Posts: 9
Rep Power: 17
ceyrows is on a distinguished road
Hey Mark,

thank you very much! Unforunatelly I'm a newby to C++ and so there's still a question:
Is Cmu a constant in your utility or is it calculated (for non-linear turbulence modells like realizable-k-epsilon)?

Thanks anyway,

Thomas
ceyrows is offline   Reply With Quote

Old   May 2, 2008, 07:41
Default The function nuEff calculates
  #4
Member
 
Rosario Russo
Join Date: Mar 2009
Location: Trieste, Italy
Posts: 56
Rep Power: 17
ariorus is on a distinguished road
The function nuEff calculates automatically viscous + turbulent viscosity according to the employed turbulence model.

For example in simpleFoam you can compute it via

turbulence->nuEff()()
ariorus is offline   Reply With Quote

Old   February 16, 2009, 13:57
Default Are you updating nut at each t
  #5
New Member
 
Nat Trask
Join Date: Mar 2009
Location: Providence, RI
Posts: 17
Rep Power: 17
ntrask is on a distinguished road
Are you updating nut at each timestep? Somewhere in your solver you should have a nut = turbulence->nuEff()
ntrask 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
eddy viscosity Mike CFX 1 April 4, 2006 14:12
Eddy Viscosity Murthy Main CFD Forum 15 November 30, 2005 06:11
Eddy Viscosity ashish CFX 0 July 20, 2005 05:19
about eddy viscosity :UDF sagga FLUENT 2 January 10, 2005 22:07
what is eddy viscosity ratio henry CFX 0 August 13, 2002 09:11


All times are GMT -4. The time now is 10:27.