CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Shear rate error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2008, 10:31
Default Line 61 viscosityModel.C shoul
  #1
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
Line 61 viscosityModel.C should be

return (sqrt(2)*mag(symm(fvc::grad(U_))));

to comply with the standard definition of shear rate used in the Non-newtonian viscosity formulations:

SR = sqrt(0.5 * D:D)

where D = grad(U) + grad(U).T()
eugene is offline   Reply With Quote

Old   November 20, 2008, 11:13
Default Not all shear-dependent viscos
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Not all shear-dependent viscosity models use this definition of shear-rate and the one I originally implemented was defined in term of mag(grad(U)) which is what I implemented. Models defined in terms of other shear-rate definitions can be implemented in a way which over-rides the default simple function. Alternatively the form of the shear-rate could be made run-time selectable.

H
henry is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About "Shear strain rate" leo1985 CFX 0 April 26, 2008 05:48
shear rate calculation Stephane bone Siemens 2 January 7, 2005 12:34
Shear strain rate(Sij) Jay Main CFD Forum 4 November 20, 2002 06:45
shear strain rate(Sij) Jay FLUENT 0 November 11, 2002 10:16
how do i calculate shear rate joel Main CFD Forum 4 September 18, 2002 06:31


All times are GMT -4. The time now is 07:14.