Turn on Turbulence model at certain coordinate
Hi all,
I am new user of SU2 . Recently i run a few simulation with turbulence model. Now , i would like to try to turn on the turbulence model in certain place , that it can calculate laminar flow at point before transition of turbulence, so 1) How can i turn on turbulence model in certain coordinate? 2) How can i obtain information of mesh ( coordinate ) ? so i can try to write a python script to control it . Thanks. All the best. |
Unfortunately trip terms ( to trip the flow from laminar to turbulent at a grid point) have not been implemented in the solver (turbulence models) yet. However the original SA model formulation (the original AIAA paper by Spalart in 1992) contains the definition of the trip terms and you could try adding them to the code.
|
If you are interested on that implementation, the right place to look at is
void CSourcePieceWise_TurbSA::ComputeResidual(su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config) in numerics_direct_turbulence.cpp Feel free to work on that implementation and post your feedback or questions. Thanks for using SU2, Best, Francisco PS.- Another interesting subroutine is void CTurbSASolver::Source_Residual(CGeometry *geometry, CSolver **solver_container, CNumerics *numerics, CNumerics *second_numerics, CConfig *config, unsigned short iMesh) in solver_direct_turbulent.cpp |
All times are GMT -4. The time now is 16:25. |