-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparameters.c
More file actions
48 lines (44 loc) · 1.52 KB
/
parameters.c
File metadata and controls
48 lines (44 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
///////////////////////////////////////////////////////////////////////////////
///
/// \file parameters.c
///
/// \brief Defining the default value for some parameters used in FFD
///
/// \author Mingang Jin, Qingyan Chen
/// Purdue University
/// Jin56@purdue.edu, YanChen@purdue.edu
/// Wangda Zuo
/// University of Miami
/// W.Zuo@miami.edu
///
/// \date 04/02/2013
///
/// This file provides functions for seting default values for some parameters
/// used in FFD.
///
///////////////////////////////////////////////////////////////////////////////
#include "data_structure.h"
///////////////////////////////////////////////////////////////////////////////
/// \brief Assign the FFD parameters
///
///\param para Pointer to FFD parameters
///
///\return void No return needed
///////////////////////////////////////////////////////////////////////////////
void input_para(PARA_DATA *para) {
para->mytime->dt = 0.1f;
para->mytime->t_steady = 100.0f;
para->mytime->t_output =1000 ;
para->prob->nu = 1.79e-5f;
para->prob->tur_model = LAM; //LAM, CHEN,
para->prob->coeff_h=0.004;//0.004
para->prob->chen_a = 0.03874f; //0.03874f; /* the coeffcient of Chen's model*/
para->solv->solver = GS;
para->solv->check_residual = 0;
para->outp->version = DEBUG; //DEMO, DEBUG;
para->prob->Temp_opt=295; //295.0f;
para->prob->Prt=0.85f;
para->bc->qs=0;
para->prob->plume_mod=1;
para->geom->zv=-1.0f;
} // End of input_para( )