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

Dimension Mismatch - Spalart Allmaras

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2012, 19:43
Default Dimension Mismatch - Spalart Allmaras
  #1
Member
 
Kalyan
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 14
kalyangoparaju is on a distinguished road
Friends,

I am simulating the tip vortices from a wing and from already published material, it has been noted that the production term ( S_tilda) of SA turbulence model has to be tweaked a bit to get better results.

S_tilda is defined as =

I want to change the Omega term to

where , , and
I have 2 questions on this.

1. How do I write Sij ?
If I am not wrong it should be written as

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

2. When I do write it like that, put a min function to get the min between 0 and S - Omega, I get a dimension mismatch as below

Arguments of min have different dimensions
dimensions : [0 0 0 0 0 0 0] and [0 0 -1 0 0 0 0]

Can someone help me with this. Frankly, I don't see anything huge in this but I am a total noob when it comes to C++

Thanks,
Kalyan
kalyangoparaju 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
Spalart and Allmaras Paper Mohamed Main CFD Forum 7 July 10, 2014 16:39
CFX Spalart Allmaras turbulence models aweizazuji CFX 9 September 24, 2013 10:53
Spalart Allmaras Paper Seroga Main CFD Forum 0 April 7, 2008 02:48
spalart allmaras paper hafiz Main CFD Forum 1 April 10, 2007 03:47
extracting K and Epsilon from Spalart Allmaras Sundar Main CFD Forum 4 July 31, 2006 02:02


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