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

How to obtain the wall shear stress

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2023, 09:52
Default How to obtain the wall shear stress
  #1
Member
 
zhangqiang
Join Date: Nov 2022
Posts: 43
Rep Power: 4
zhang-qiang is on a distinguished road
How can I obtain the wall shear stress from SU2?

I find there is an issue to discuss this: https://github.com/su2code/SU2/issues/399.

Is wall shear stress available now?

If SU2 cannot output wall shear stress, how can I obtain it? There is a defination about wall shear stress: https://www.cfd-online.com/Wiki/Wall_shear_stress, but I have no idea about how to calculate the partial differential.

Any suggestion is appreciated~~~
zhang-qiang is offline   Reply With Quote

Old   April 3, 2023, 12:07
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
We output the skin friction coefficient:
https://www.cfd-online.com/Wiki/Skin...on_coefficient


Code:
VOLUME_OUTPUT= PRIMITIVE

And you can also load the solution in paraview and compute the gradients in the Cartesian coordinate system.
bigfootedrockmidget is offline   Reply With Quote

Old   April 4, 2023, 10:33
Default
  #3
Member
 
zhangqiang
Join Date: Nov 2022
Posts: 43
Rep Power: 4
zhang-qiang is on a distinguished road
For the skin friction coefficient:

Cf = 2*tw/(rho * U*U), where Cf is the skin friction coefficient, tw is the wall shear stress, rho is the density, U is the velocity. Am I correct? Can I calculate the wall shear stress by: tw = 0.5*Cf*rho*U*U? In this formular, U is the SU2 calculated velocity.

If calculate the wall shear stress by formular: https://www.cfd-online.com/Wiki/Wall_shear_stress, my understanding is:
twx = mu * ux, where mu is the viscosity, ux means the gradients of velocity in the x direction.
twy = mu * uy; twz = mu * uz

Finally, tw = sqrt(twx^2 + twy^2 + twz^2). Am I correct?
zhang-qiang is offline   Reply With Quote

Old   April 4, 2023, 11:36
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
SU2 saves the 3 components of skin friction Cf_x, Cf_y, Cf_z, so if you multiply by the dynamic pressure 0.5*rho_inf*U_inf^2 you get the shear stresses. Note that you need to multiply by the reference density and velocity, which are the freestream values provided in the config file. So the skin friction coefficients are the wall shear stresses divided by a constant value.
bigfootedrockmidget is offline   Reply With Quote

Old   April 5, 2023, 23:28
Default
  #5
Member
 
zhangqiang
Join Date: Nov 2022
Posts: 43
Rep Power: 4
zhang-qiang is on a distinguished road
tw_x = Cf_x*0.5*rho_inf*U_inf^2. Do you mean that the rho_inf is the reference density, and U_inf is the reference velocity?

If the configure file set INC_DENSITY_REF=1.0, INC_VELOCITY_REF=1.0, the tw_x=0.5*Cf_x? Am I correct?
zhang-qiang is offline   Reply With Quote

Old   April 6, 2023, 10:29
Default
  #6
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
yes, for incompressible these are the reference values.


For compressible, when you choose

REF_DIMENSIONALIZATION= DIMENSIONAL
you need to set the FREESTREAM_DENSITY and FREESTREAM_VELOCITY
bigfootedrockmidget 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
[snappyHexMesh] How to draw a 3D-Drawing for Meshing Kahnbein.Kai OpenFOAM Meshing & Mesh Conversion 4 June 15, 2021 13:16
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 01:04
Calculation of Wall Shear Stress Dave442 CFX 36 July 12, 2016 05:12
How to get a value of wall shear stress for UDF shileijerry Fluent UDF and Scheme Programming 0 June 18, 2013 11:50
Re: About wall shear stress Mike FLUENT 9 November 17, 2003 15:41


All times are GMT -4. The time now is 15:09.