PLUTO
definitions_02.h
Go to the documentation of this file.
1 #define PHYSICS HD
2 #define DIMENSIONS 2
3 #define COMPONENTS 2
4 #define GEOMETRY POLAR
5 #define BODY_FORCE POTENTIAL
6 #define COOLING NO
7 #define RECONSTRUCTION LINEAR
8 #define TIME_STEPPING RK2
9 #define DIMENSIONAL_SPLITTING NO
10 #define NTRACER 0
11 #define USER_DEF_PARAMETERS 4
12 
13 /* -- physics dependent declarations -- */
14 
15 #define EOS ISOTHERMAL
16 #define ENTROPY_SWITCH NO
17 #define THERMAL_CONDUCTION NO
18 #define VISCOSITY NO
19 #define ROTATING_FRAME YES
20 
21 /* -- user-defined parameters (labels) -- */
22 
23 #define Mstar 0
24 #define Mdisk 1
25 #define Mplanet 2
26 #define Viscosity 3
27 
28 /* [Beg] user-defined constants (do not change this line) */
29 
30 #define UNIT_LENGTH (5.2*CONST_au)
31 #define UNIT_DENSITY (CONST_Msun/(UNIT_LENGTH*UNIT_LENGTH*UNIT_LENGTH))
32 #define UNIT_VELOCITY (sqrt(CONST_G*g_inputParam[Mstar]*CONST_Msun/UNIT_LENGTH)/(2.*CONST_PI))
33 
34 /* [End] user-defined constants (do not change this line) */
35 
36 /* -- supplementary constants (user editable) -- */
37 
38 #define INITIAL_SMOOTHING NO
39 #define WARNING_MESSAGES YES
40 #define PRINT_TO_FILE YES
41 #define INTERNAL_BOUNDARY NO
42 #define SHOCK_FLATTENING NO
43 #define CHAR_LIMITING NO
44 #define LIMITER VANLEER_LIM