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

Fluent give me opposite stream function contour values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2017, 17:35
Default Fluent give me opposite stream function contour values
  #1
Senior Member
 
kbaker's Avatar
 
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17
kbaker is on a distinguished road
I simulated flow in square cavity its boundaries as : top wall insulated,bottom wall fixed Th, left wall heated with linear temperature profile and the right wall is kept with Tc. The results seem highly reasonable except the stream function it reasonable in shape but the values seems inverse? Fluent shows the maximum values of stream function near the walls and at the center the stream function is zero? this case is differ when compared with the results from other researchers which they show that the maximum stream function occur at the center of vortex and decreases gradually towards the walls? so what the problem? answer is appreciated?


Khalid
Attached Images
File Type: jpg dd.jpg (102.6 KB, 22 views)
kbaker is offline   Reply With Quote

Old   August 9, 2017, 04:09
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Compare the definition of the stream function in Fluent versus the ones you're seeing in your papers. Because stream function is calculated from the velocity gradient, there's an arbitrary sign. It's very common in some fields to flip the sign. The stream function is also not unique for a given velocity field (to within an arbitrary constant). Thus a max in one definition and min in another definition of the stream function could in fact be the exact same velocity field.

Also don't make repeat posts of the same questions because it makes it harder for others to find the same answers.
LuckyTran is offline   Reply With Quote

Old   August 9, 2017, 16:32
Default
  #3
Senior Member
 
kbaker's Avatar
 
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17
kbaker is on a distinguished road
Thanks Lucky to the reply. Yes I compared the stream function with that calculated from the papers they define it in dimensionless relation as (epsi/thermal diffusivity) where epsi stream function and I was transform the stream function predicted from Fluent to a similar term by divided it firstly by density as (epsi/rho) to transform it to m2/s then I divided it by thermal diffusivity (k/rho*Cp) then I got it as dimensionless as the paper but it inversely distributed as the last pict.



Quote:
Originally Posted by LuckyTran View Post
Compare the definition of the stream function in Fluent versus the ones you're seeing in your papers. Because stream function is calculated from the velocity gradient, there's an arbitrary sign. It's very common in some fields to flip the sign. The stream function is also not unique for a given velocity field (to within an arbitrary constant). Thus a max in one definition and min in another definition of the stream function could in fact be the exact same velocity field.

Also don't make repeat posts of the same questions because it makes it harder for others to find the same answers.
kbaker is offline   Reply With Quote

Old   August 10, 2017, 11:55
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
But how do they calculate epsi the stream function? Do they take the positive or negative of the velocity gradient?
LuckyTran is offline   Reply With Quote

Old   August 10, 2017, 16:29
Default
  #5
Senior Member
 
kbaker's Avatar
 
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17
kbaker is on a distinguished road
They used both of negative and positive velocity gradients. About Fluent is it used just positive velocity gradient so it give positive stream function values?

Khalid


Quote:
Originally Posted by LuckyTran View Post
But how do they calculate epsi the stream function? Do they take the positive or negative of the velocity gradient?
kbaker is offline   Reply With Quote

Old   August 13, 2017, 16:11
Default
  #6
Senior Member
 
kbaker's Avatar
 
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17
kbaker is on a distinguished road
The attached two plots are for dimensionless stream function which I got it from several runs. The first plot represents Fluent results while the second one is from a paper which I want to compare with. As it seen from the paper the stream function has negative and positive values while Fluent gives only positive values and consider the negative values as zero? I saw that the distribution of stream function is reasonable at the first vertex the stream function is max at the center and decrease gradually and this fit to the paper just the second vertex which has negative values I do not now why Fluent calculate it as positive values only and give it zero value at the center? I am really have doubt about this result is it acceptable and I can depend it in my work or reject it? any reply please?

Khalid
Attached Images
File Type: jpg dd.jpg (65.9 KB, 13 views)
File Type: jpg de.jpg (34.1 KB, 15 views)
kbaker is offline   Reply With Quote

Old   August 13, 2017, 19:13
Default
  #7
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The stream function is a potential. Positive or negative values of stream function don't mean anything because a particular value of stream function is only meaningful relative to a particular reference. There is no unique stream function for a given velocity field because the stream functions within an arbitrary constant will all give the same velocity field.

You need to compare the stream function definition in your papers with the Fluent definition, they're probably not the same.
LuckyTran is offline   Reply With Quote

Old   August 14, 2017, 13:47
Default
  #8
Senior Member
 
kbaker's Avatar
 
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17
kbaker is on a distinguished road
I look through the definition of stream function in Fluent it defined it as
rho*psi (where rho is fluid density,psi the stream function) see the link below please:

https://www.sharcnet.ca/Software/Ans...ug_fvdefs.html

so in order to obtain psi in terms of m2/s , I simply used a custom field function of the form psinew=psi/rho and in this way I got psi similar to that calculated at the paper ? I think this procedure correct?
kbaker 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
comparison of stream function contours with a paper mariam.sara FLUENT 1 July 24, 2017 05:44
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


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