/ proof-of-concept / cymsim
Sign in
proof-of-concept / cymsim
cymsim / examples / quick_cpu.yaml
71 lines · 1.2 KBCodeBlameHistory
71e94accymsim: nonlinear FEM cymbal simulation packageJeremy Magland 1# Coarse, short run that finishes in about a minute on a CPU. Element size 20 mm resolves only
2# the low modes; use it to exercise the pipeline, not for listening.
3material:
4 E: 110000000000.0
5 nu: 0.34
6 rho: 8700.0
7 sigma0: 0.9
8 sigma1: 0.0005
9profile:
10 radius: 0.2286
11 bell_height: 0.013
12 bell_top_radius: 0.025
13 bell_shoulder_radius: 0.08
14 bow_height: 0.03
15 bow_power: 1.4
16 h_rim: 0.001
17 h_shoulder: 0.0017
18 h_bell: 0.0026
19 max_slope: 0.4
20imperfections:
21 seed: 1
22 n_dents: 100
23 dent_depth: 0.00025
24 dent_sigma: 0.007
25 dent_margin: 0.01
26 rim_warp: 0.0006
27 rim_warp_modes:
28 - 2
29 - 3
30 - 4
31 - 5
32 shoulder_ovality: 0.03
33 bell_offset: 0.0015
34mesh:
35 element_size: 0.02
36 smoothing: 1
37hits:
38- time: 0.0
39 r: 0.13716
40 phi: 0.3
41 velocity: 8.0
42 exciter:
43 kind: mallet
44 mass: 0.3
45 alpha: 2.5
46 compression: 0.012
47 radius: 0.012
48 gap: 0.0001
49listener:
50 position:
51 - 0.4
52 - 0.3
53 - 0.9
54 c_air: 343.0
55 rho_air: 1.2
56 back_diffraction_gain: 1.0
57numerics:
58 fs: 44100
59 duration: 0.3
60 cfl_safety: 0.6
61 rot_inertia_factor: 0.015625
62 inplane_mass_scale: 1.0
63 steps_per_block: 2000
64 dtype: float32
65 nonlinear: true
66 n_progress: 20
67output:
68 prefix: quick
69 wav: true
70 npz: true
71 cascade_plot: true
↑↓ move↵openescclose