|
[Sponsors] |
August 19, 2013, 06:02 |
transient laminar flow simulation setup
|
#1 |
New Member
Jianguo
Join Date: May 2011
Posts: 11
Rep Power: 15 |
Dear SU2 developer and user,
I wish to resolve an unsteady, time-accurate laminar flow using SU2 CFD module. I want to set up simulation with following options: 1. to use explicit multi-stage time stepping scheme to perform temporal integration. 2. to print results every time interval of Tint. I have generated mesh and initialized the flow flied. But I do not know how to specify the above options in configuration file. Is there any existing unsteady calculation case with SU2 that I can follow? Thanks |
|
August 19, 2013, 13:06 |
|
#2 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Using the latest version of SU2 that you can folk from https://github.com/su2code/SU2 . At least, you will need the following parameters in the config file.
% ------------------------- UNSTEADY SIMULATION -------------------------------% % % Unsteady simulation (NO, TIME_STEPPING, DUAL_TIME_STEPPING-1ST_ORDER, DUAL_TIME_STEPPING-2ND_ORDER, TIME_SPECTRAL) UNSTEADY_SIMULATION= DUAL_TIME_STEPPING-2ND_ORDER % % Time Step for dual time stepping simulations (s) UNST_TIMESTEP= 0.001 % % Total Physical Time for dual time stepping simulations (s) UNST_TIME= 1.0 % % Unsteady Courant-Friedrichs-Lewy number of the finest grid UNST_CFL_NUMBER= 0.0 % % Number of internal iterations (dual time method) UNST_INT_ITER= 200 % ------------------------- INPUT/OUTPUT INFORMATION --------------------------% % % Writing solution file frequency WRT_SOL_FREQ= 1000 % % Writing solution file frequency for physical time steps (dual time) WRT_SOL_FREQ_DUALTIME= 10 % % Writing convergence history frequency WRT_CON_FREQ= 1 % % Writing convergence history frequency (dual time, only written to screen) WRT_CON_FREQ_DUALTIME= 10 Best, Francisco Quote:
|
||
March 10, 2014, 07:23 |
Variable Inlet Velocity
|
#3 |
New Member
nilesh
Join Date: Mar 2014
Location: Kanpur / Mumbai, India
Posts: 27
Rep Power: 12 |
Hi,
I am trying to simulate an airfoil starting from t=0 seconds with zero velocity and then increase velocity as a tan hyperbolic function of time. Please help me with specifying such variable velocity boundary condition. Thank You. |
|
March 10, 2014, 17:24 |
|
#4 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Quote:
void CEulerSolver::BC_Far_Field(CGeometry *geometry, CSolver **solver_container, CNumerics *conv_numerics, CNumerics *visc_numerics, CConfig *config, unsigned short val_marker) that you can find in solver_direct_mean.cpp. In short, the idea is to specify the value for V_infty at each time step. Using config->GetExtIter() you will know what is the current iteration. Cheers, Francisco |
||
March 31, 2014, 08:14 |
|
#5 | |
New Member
nilesh
Join Date: Mar 2014
Location: Kanpur / Mumbai, India
Posts: 27
Rep Power: 12 |
Quote:
Thanks. Which is the line this this subroutine that is to be modified. Is it 'V_infty = GetCharacPrimVar(val_marker, iVertex)' ? For example, if my function is U=0.8*tanh(t/100) where t is the flow time,what is the exact modification that is to be done? Do I have to write the function or generate velocity at different steps in a file and feed it to the program? Sorry, I do not have any experience in working with C. I will be thankful if you could give me the command/statement. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX Treatment of Laminar and Turbulent Flows | Jade M | CFX | 18 | September 15, 2022 08:08 |
Boundary Layer of Laminar Flow over a Flat Plate | Blasius_Pohlhausen_Crocco | Main CFD Forum | 12 | September 30, 2013 18:35 |
kutta condition and separated flow in transient simulation | Nick R | CFX | 5 | April 20, 2011 00:37 |
Laminar flow or Turbulent flow | mech | FLUENT | 0 | January 27, 2007 19:51 |
laminar and turbulent flow in one simulation | msna | FLUENT | 0 | January 27, 2007 18:35 |