-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimulation_config.txt
More file actions
47 lines (38 loc) · 1.27 KB
/
Copy pathsimulation_config.txt
File metadata and controls
47 lines (38 loc) · 1.27 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
# Simulation Configuration File - Prefereably, all units are in SI as far as I know
# Performance Parameters
DIMENSION = 2
TYPE = FLIP
TURBULENCE_SOLVER = 0
GPU_ACCELERATION = 0 #GPU acceleration mightt not work with flip, still investigating why, i think it is becaause of grid and improper update of the resources
THREAD_COUNT = 1
ADAPTATIVE_TIMESTEP = 0
MAX_CFL = 50.0 #max for both diffusion and advection cfls
# Domain dimensions, SPH does work on asysmetric domain,s but the visualization is nto updated, will do it soon
DOMAIN_X0 = 0.0
DOMAIN_XF = 2.0
DOMAIN_Y0 = 0.0
DOMAIN_YF = 0.3
DOMAIN_Z0 = 0.0
DOMAIN_ZF = 0.3
# Simulation parameters
LEVEL_TYPE = DAMBREAK
TIME_STEP = 0.005
VISCOSITY = 0.2420
DENSITY = 1420.0
EPS_COEFICIENT = 1.0 #Used in reynolds calculation
GRID_SIZE = 50
TOLERANCE = 10E-18
NEEDS_COMPATIBILITY_CONDITION = 0
#FLIP Parameters
PARTICLES_PER_CELL = 9
ALPHA = 0.98 #this might help a bit
PHYSICAL_DIFFUSION = 1
DIFFUSION_SOLVER = ADI
Fu = 0.0;
Fv = -9.8
Fw = 0.0
#Exporting settings
EXPORT_BASE_PATH = Exports
REYNOLDS_NUMBER = 0.0 #used for naming export only, the actual value is based on the viscosity and the boundary conditions and char lenght
CHARACTERISTIC_LENGTH = 0.041 # 0.041 #3d is 0.0041 and 2dd is 0.1 for the obstacle
MEAN_VELOCITY = 0.2