1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-11-08 22:21:08 +00:00
This commit is contained in:
Mo8it 2022-01-23 03:04:30 +01:00
parent fded0888cf
commit e471c4072c

View file

@ -4,6 +4,10 @@ const DEFAULT_SKIN_TO_INTERACTION_R_RATIO = 1.5
const DEFAULT_EXPORTS_DIR = "exports" const DEFAULT_EXPORTS_DIR = "exports"
const DEFAULT_PARENT_DIR = "" const DEFAULT_PARENT_DIR = ""
const DEFAULT_COMMENT = "" 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( function initial_particle_grid_pos(
i::Int64, j::Int64, grid_box_width::Float64, half_box_len::Float64 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 δt in 1e-7:1e-7:1e-4
@assert packing_ratio > 0 @assert packing_ratio > 0
μ = 1.0 μ = DEFAULT_μ
Dₜ = 1.0 Dₜ = DEFAULT_Dₜ
particle_radius = 0.5 particle_radius = DEFAULT_PARTICLE_RADIUS
Dᵣ = 3 * Dₜ / ((2 * particle_radius)^2) Dᵣ = 3 * Dₜ / ((2 * particle_radius)^2)
σ = 2 * particle_radius σ = 2 * particle_radius
ϵ = 100.0 ϵ = DEFAULT_ϵ
interaction_r = 2^(1 / 6) * σ interaction_r = 2^(1 / 6) * σ
buffer = 1.8 buffer = 1.8