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

Surface Streamlines

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2014, 05:24
Default Surface Streamlines
  #1
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13
Zen is on a distinguished road
How can I output the wall shear stresses to plot surface streamlines?

Thank you,

Zeno

Last edited by Zen; October 10, 2014 at 12:36.
Zen is offline   Reply With Quote

Old   October 11, 2014, 10:24
Default
  #2
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13
Zen is on a distinguished road
To plot the surface streamlines with the data files su2 outputs you need to merge the surface_flow.dat file and the flow.dat file in one single .dat file.

For example, copy-paste the flow.dat file to the bottom of the surface_flow.dat file (in this way the flow zone is identified as zone number 2), and add the following lines just before the start of the surface data:

Code:
PARENTZONE= 2, %it identifies the zone number 2 (the flow zone) as the parent zone
AUXDATA Common.BoundaryCondition = "Wall"
AUXDATA Common.IsBoundaryZone = "TRUE"
If you then load this file into Tecplot, you'll be able to plot the surface streamlines on, for example, a wing.
Zen is offline   Reply With Quote

Old   October 20, 2014, 15:03
Default
  #3
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Thank you for posting the solution to this problem.
hlk is offline   Reply With Quote

Old   May 19, 2015, 12:45
Default VTK implementation
  #4
Member
 
D L
Join Date: Jun 2012
Posts: 49
Rep Power: 14
DLuo is on a distinguished road
This looks like a Tecplot specific solution. If I remember correctly, Tecplot will allow you to use velocity vector in the first cell off of the surface to plot Shear Stresses.
I'm not positive Paraview has a similar feature. Is there a way to natively output Tau vector into the surface.vtk file?
DLuo is offline   Reply With Quote

Old   May 26, 2015, 17:32
Default
  #5
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by DLuo View Post
This looks like a Tecplot specific solution. If I remember correctly, Tecplot will allow you to use velocity vector in the first cell off of the surface to plot Shear Stresses.
I'm not positive Paraview has a similar feature. Is there a way to natively output Tau vector into the surface.vtk file?
Thanks for your question.
The easiest way to do this will likely be to postprocess the surface_flow file: the momentum components (density*velocity, labeled CONSERVATIVE_2 - 4), the density (CONSERVATIVE_1), and the skin friction coefficient are included in the output, so you should be able to get the tau vector from those components.
Also, the components of momentum (conservative_2-4) may also help with this plotting problem directly.

Alternatively you can code this in yourself by editing output_paraview.cpp and adding the tau values to the Data array in output_structure.cpp - however that will be more complicated and if you are not careful may produce code which works for your case, but produces unexpected output in other cases.
hlk is offline   Reply With Quote

Reply

Tags
output file, surface streamlines


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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 12:12
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 12:05
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 13:43
Surface streamlines on axial flow fans Jennifer CFX 2 February 17, 2009 15:50
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 07:47


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