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

CFD Post - Surface and 3D streamlines difference

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ghorrocks
  • 1 Post By oj.bulmer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2013, 15:11
Default [CFD Post] - Surface and 3D streamlines difference
  #1
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17
saisanthoshm88 is on a distinguished road
Starting from the same point I've plotted a surface stream line and a 3D stream line and found them different -

These are the steps I followed -

3D Stream line-

Inserted an arbitary point (Say Point P) in the domain and plotted a 3D streamline starting from this point in the forward and backward directions.

Surface stream line -

Inserted a XY Plane with the Z-location as the Z-coordinate of Point P.

With such plane as the chosen surface and the Point P itself as the location to start from, I plotted a surface streamline in the forward and backward directions.

I found that the 3D stream line and the surface stream line thus generated are not the same.

Could some one please clarify upon this.
__________________
Best regards,
Santhosh.

Last edited by saisanthoshm88; March 25, 2013 at 16:30.
saisanthoshm88 is offline   Reply With Quote

Old   March 25, 2013, 17:16
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,701
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Of course they are different. Surface streamlines are constrained to stay on the surface, but 3D streamlines can go where ever they want. So surface streamlines are only influenced by the flow adjacent to the surface, but 3D streamlines are influenced by the entire domain.
hwangpo likes this.
ghorrocks is offline   Reply With Quote

Old   March 26, 2013, 04:52
Default
  #3
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Unless the simulation is 2D, often the surface streamlines seem to be "cut" or broken. Hence, even if you want to see streamlines on (or near) a particular plane/surface, it makes sense just to create a line in plane/surface towards inlet side and start a 3D streamlines from there. Since they are 3D, they remain complete and not broken when they wander out of plane, at the same time; revealing the physics near the surface of interest - which is the objective.

OJ
njdyck likes this.
oj.bulmer is offline   Reply With Quote

Old   March 26, 2013, 05:04
Default
  #4
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17
saisanthoshm88 is on a distinguished road
It is intended to be a 2D simulation , however with CFX it is always a 2.5D
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   March 26, 2013, 05:43
Default
  #5
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Indeed, it is represented as 2.5D given the limitation of software, but since the intention is 2D, the variations in third direction (third perpendicular axis or theta direction for axisymmetry) should be zero. Incidently, the streamlines on surface are likelier to remain on the surface, unlike actual 3D case, where they wander off the plane in third direction. Hence surface streamlines are usable here.

This of course may not be true in case of swirling axisymmetric case.

OJ
oj.bulmer is offline   Reply With Quote

Old   March 29, 2013, 15:58
Default
  #6
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17
saisanthoshm88 is on a distinguished road
Even though the thickness added in CFX for a 2D planar problem is (should be) of a negligible dimension does it not mean that the flow varies with in such negligible thickness.

Therefore I have the confusion in choosing between 3D and surface stream lines for a 2D simulation result (either from CFX or Fluent).

For the 3D and surface stream lines look different.

Though Fluent solves the 2D problem by a 2D solver, when I load the .cas , .dat files into CFDPost for post processing then a thickness gets automatically represented in CFDPost so I again have this confusion between 3D or surface stream lines to choose from.
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   April 1, 2013, 18:43
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,701
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you have a 2D simulation you should draw surface streamlines on the symmetry surfaces to avoid problems with the small deviations which pull the streamline off the surface.
ghorrocks is offline   Reply With Quote

Old   April 1, 2013, 19:31
Default
  #8
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17
saisanthoshm88 is on a distinguished road
Hi Glenn. Thanks for your response but doesn't the flow vary with in the negligible thickness that is extruded out to solve a 2d planar problem in cfx.
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   April 2, 2013, 06:05
Default
  #9
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
The symmetry enforces any gradients in normal direction to it as zero, meaning, it doesn't allow any change in velocities perpendicular to the symmetry plane. This happens at both symmetry surfaces which are very close to each other and hence influence the flow between them to ensure the flow remains parallel to them. Hence, there is (ideally) no deviation in the direction perpendicular to symmetry.

If you observe change it may as well be a numerical artifact and a result of a bad mesh, extreme boundary conditions or number of factors, but it shouldn't be any strong to have any major bearing on the flow.

Logically, it doesn't make sense to have a 3D streamline in 2D simulation since if you see it is different than surface streamline, aren't we actually antithesizing our earlier assumption of 2D?

OJ
oj.bulmer is offline   Reply With Quote

Old   April 2, 2013, 18:40
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,701
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, Saisanthosh you comment does not make sense. If you constrain the streamlines to the symmetry planes then you reduce the integration errors from noise in the third dimension. So 2D models should use surface streamlines on a symmetry plane to reduce this error.
ghorrocks is offline   Reply With Quote

Old   September 23, 2014, 09:10
Default CFD post
  #11
New Member
 
elaf
Join Date: May 2013
Posts: 15
Rep Power: 12
elaf_2003 is on a distinguished road
Hi mates
I would appreciate if some body can help me to about how I can
starting CFD post[/B] in comment lines and export data.
Cheers
elaf_2003 is offline   Reply With Quote

Old   April 9, 2016, 07:45
Default
  #12
Member
 
Max
Join Date: May 2011
Location: old europe
Posts: 88
Rep Power: 14
murx is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If you have a 2D simulation you should draw surface streamlines on the symmetry surfaces to avoid problems with the small deviations which pull the streamline off the surface.
I have placed surface streamlines on a symmetry plane, but some of them still end in the middle of nowhere - see attached image.

The normal velocity component is, as expected, exactly zero.
Any idea what causes this and how to fix it?
Attached Images
File Type: jpg streamlines.jpg (142.6 KB, 128 views)
murx is offline   Reply With Quote

Old   April 10, 2016, 06:03
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,701
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Streamlines start from a seed point, or many of them. So these are just the seed points for the streamline.

The easiest way to fix this is to make the streamline integrate backwards and forwards.
ghorrocks is offline   Reply With Quote

Old   April 10, 2016, 06:34
Default
  #14
Member
 
Max
Join Date: May 2011
Location: old europe
Posts: 88
Rep Power: 14
murx is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Streamlines start from a seed point, or many of them. So these are just the seed points for the streamline.

The easiest way to fix this is to make the streamline integrate backwards and forwards.
The streamlines in the picture are created using forward and backward integration. The ending points are not the seed points. You can see the seed points in the picture I attached to this post.

I'm not sure how exactly CFD post calculated the streamlines. But the velocity in top left corner is very low. So maybe there is a maximum integration time or something. I tried to manually change the time limit for the integration. THe attached pitcture shows the streamlines for three differend time limites. Increasing the limit over 100 000 s does not have any effect. However, this would not explain the ending streamlines in the big vortex.
Attached Images
File Type: jpg streamlines.jpg (138.7 KB, 97 views)
murx is offline   Reply With Quote

Old   April 10, 2016, 07:14
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,701
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You are correct in that case, the streamlines ending is because that is where the integration ended. Note that CFX does not calculate streamfunction but integrates over the velocity field so that means numerical accuracy will result in streamlines not closing. And of course streamfunction does not exist for 3D flows anyway.

So you will have to adjust the integration parameters - but note the streamline has to end somewhere, so in recirculations you will never eliminate the streamline ending.
ghorrocks is offline   Reply With Quote

Old   April 11, 2016, 07:23
Default
  #16
Member
 
Max
Join Date: May 2011
Location: old europe
Posts: 88
Rep Power: 14
murx is on a distinguished road
Ok, thanks for your answer! I would like to get that vortex in the corner closed - or if it's not closing, at least the streamlines shouldn't end right there.

I tried increasing the max. integration time, but I could not see any change when increasing it over 10^5 s. Based on the velocity at this point, I should definately see a difference in streamline length when increasing it from 10^5 to 10^6.

The only explanaiting that I can think of is that there is an internal maximum integration time (< 10^6 s) in CFX that stops the integration even though the value given in the max time field is not reached. But in this case, I would expect to obtain an error message when entering high values for max time.

I also played with the other parameters... the tolerance and so on...but that didn't help either. Any suggestions on what else I could try to fix this?
murx is offline   Reply With Quote

Old   April 11, 2016, 18:57
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,701
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can move the ending point around by adjusting the parameters as you have done. You might be able to move it to a location where it is not as visible.

But as my previous post said:" Note that CFX does not calculate streamfunction but integrates over the velocity field so that means numerical accuracy will result in streamlines not closing." This means in a recirculation the line has to end somewhere so it is impossible to completely avoid the line ends.
ghorrocks 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



All times are GMT -4. The time now is 01:12.