|
[Sponsors] |
March 28, 2016, 00:37 |
viscous flux computation
|
#1 |
Member
Paul Zhang
Join Date: Feb 2011
Posts: 44
Rep Power: 15 |
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 |
|
March 31, 2016, 01:50 |
|
#2 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
|
|
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 |