mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2024-12-25 01:01:04 +00:00
Defaults
This commit is contained in:
parent
fded0888cf
commit
e471c4072c
1 changed files with 8 additions and 4 deletions
12
src/setup.jl
12
src/setup.jl
|
@ -4,6 +4,10 @@ const DEFAULT_SKIN_TO_INTERACTION_R_RATIO = 1.5
|
|||
const DEFAULT_EXPORTS_DIR = "exports"
|
||||
const DEFAULT_PARENT_DIR = ""
|
||||
const DEFAULT_COMMENT = ""
|
||||
const DEFAULT_PARTICLE_RADIUS = 0.5
|
||||
const DEFAULT_Dₜ = 1.0
|
||||
const DEFAULT_μ = 1.0
|
||||
const DEFAULT_ϵ = 100.0
|
||||
|
||||
function initial_particle_grid_pos(
|
||||
i::Int64, j::Int64, grid_box_width::Float64, half_box_len::Float64
|
||||
|
@ -55,12 +59,12 @@ function gen_sim_consts(
|
|||
@assert δt in 1e-7:1e-7:1e-4
|
||||
@assert packing_ratio > 0
|
||||
|
||||
μ = 1.0
|
||||
Dₜ = 1.0
|
||||
particle_radius = 0.5
|
||||
μ = DEFAULT_μ
|
||||
Dₜ = DEFAULT_Dₜ
|
||||
particle_radius = DEFAULT_PARTICLE_RADIUS
|
||||
Dᵣ = 3 * Dₜ / ((2 * particle_radius)^2)
|
||||
σ = 2 * particle_radius
|
||||
ϵ = 100.0
|
||||
ϵ = DEFAULT_ϵ
|
||||
interaction_r = 2^(1 / 6) * σ
|
||||
|
||||
buffer = 1.8
|
||||
|
|
Loading…
Reference in a new issue