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

Turn on Turbulence model at certain coordinate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2015, 10:52
Smile Turn on Turbulence model at certain coordinate
  #1
New Member
 
NG YIN CHEANG
Join Date: Mar 2014
Posts: 3
Rep Power: 12
Kelvin Ng is on a distinguished road
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.
Kelvin Ng is offline   Reply With Quote

Old   October 30, 2015, 15:19
Default
  #2
New Member
 
Join Date: May 2015
Posts: 4
Rep Power: 11
avar is on a distinguished road
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.
avar is offline   Reply With Quote

Old   October 31, 2015, 10:19
Default
  #3
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
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
fpalacios is offline   Reply With Quote

Reply

Tags
su2, trasition, turbulence model


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
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Smagorinsky Sub-Grid Turbulence Model vs. Deardorff oksero Main CFD Forum 4 July 29, 2015 11:43
Error in Two phase (condensation) modeling adilsyyed CFX 15 June 24, 2015 20:42
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32
What model of turbulence choose to study an external aerodynamics case raffale OpenFOAM 0 August 23, 2012 06:45


All times are GMT -4. The time now is 17:10.