File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 44
55x0 = 10.E-06
66p0 = 101325.
7- rho0 = 1.E+03
7+ rho0 = 1000.
88c0 = math .sqrt ( p0 / rho0 )
99
1010# water props ==================================================================
1111n_tait = 7.1
12- B_tait = 306.E+06 / p0
12+ B_tait = 306.E+06
1313mul0 = - 10.002E-03
1414
1515#air props
3838cfl = 0.1
3939Nx = 30
4040Ldomain = 20.E-03
41- L = Ldomain / x0
41+ L = Ldomain
4242dx = L / float (Nx )
43- dt = cfl * dx * c0 / cact
43+ dt = cfl * dx / cact
4444Lpulse = 0.3 * Ldomain
4545Tpulse = Lpulse / cact
4646Tfinal = 0.25 * 10. * Tpulse * c0 / x0
6161 # ===========================================================================
6262
6363 # Computational Domain Parameters ===========================================
64- 'x_domain%beg' : - 10.E-03 / x0 ,
65- 'x_domain%end' : 10.E-03 / x0 ,
64+ 'x_domain%beg' : - 10.E-03 ,
65+ 'x_domain%end' : 10.E-03 ,
6666 'stretch_x' : 'F' ,
6767 'cyl_coord' : 'F' ,
6868 'm' : Nx ,
6969 'n' : 0 ,
7070 'p' : 0 ,
71- 'dt' : 0.001 ,
71+ 'dt' : dt ,
7272 't_step_start' : 0 ,
7373 't_step_stop' : 30000 ,
7474 't_step_save' : 1000 ,
110110
111111 'patch_icpp(1)%geometry' : 1 ,
112112 'patch_icpp(1)%x_centroid' : 0. ,
113- 'patch_icpp(1)%length_x' : 20.E-03 / x0 ,
113+ 'patch_icpp(1)%length_x' : 20.E-03 ,
114114 'patch_icpp(1)%vel(1)' : 0.0 ,
115- 'patch_icpp(1)%pres' : 1.0 ,
116- 'patch_icpp(1)%alpha_rho(1)' : (1. - vf0 )* 1.E+03 / rho0 ,
115+ 'patch_icpp(1)%pres' : p0 ,
116+ 'patch_icpp(1)%alpha_rho(1)' : (1. - vf0 )* rho0 ,
117117 'patch_icpp(1)%alpha(1)' : vf0 ,
118118 'patch_icpp(1)%r0' : 1. ,
119119 'patch_icpp(1)%v0' : 0. ,
You can’t perform that action at this time.
0 commit comments