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

viscous flux computation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2016, 00:37
Default viscous flux computation
  #1
Member
 
Paul Zhang
Join Date: Feb 2011
Posts: 44
Rep Power: 15
paulzhang is on a distinguished road
Hello,

This is Paul Zhang again. I was a centroid-centerd FVM guy and I am now being updated to vertex-centered median-dual scheme.

My question comes from the computation of viscous fluxes normal to the face. Say, we have node i and j, which are two nodes, and we want to find the viscous fluxes across the face which is formed by two cell centroids on both sides of line i-j and the mid-point of line i-j. So there should be two sub-faces with two face normals and face areas.

Eqn 35, page 21 of paper "Stanford University Unstructured (SU2): An open-source integrated computational environment for multi-physics simulation and design.", however, only has one face normal used. Is this just an approximation? What is the justification for that?

Thanks,
Paul
paulzhang is offline   Reply With Quote

Old   March 31, 2016, 01:50
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Dear Paul,

Thanks for using SU2. This is a good question... and you are correct, it is not clear in the article.
(35) is the method that SU2 uses to compute the normal component, the tangent component is computed by subtracting the normal component to the gradient computed using Green-Gauss or LS.

You can find the implementation in
void CAvgGradCorrected_Flow::ComputeResidual(su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config) { }
inside numerics_direct_mean.cpp

Once you have the gradient you will suit to evaluate F_V (Eq. 2) and then you project that into the normal vector to evaluate the volumen integration (weak formulation) via the Gauss Theorem (surface integral).

And yes, in a median dual scheme there are two normals (2D) that we add together to only a normal to each edge.

Best,
Francisco
fpalacios 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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Udf for moving heat flux in 2D cylindrical geometry devia21 Fluent UDF and Scheme Programming 0 April 20, 2015 01:27
Linearization of viscous flux in discontinuous Galerkin finite element methods yidongxia Main CFD Forum 1 November 17, 2011 13:11
Viscous flux 9mile Main CFD Forum 2 September 25, 2010 09:17
viscous flux treatment in compressible NS sovler JG Main CFD Forum 2 January 9, 2008 16:29


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