level 2
呱至道
楼主
.in文件里是这样的
#title: A-scan with imported antenna
#domain: 0.3 0.2 0.15
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 10e-9
#material: 1e9 0 1 0 antenna_material
#geometry_objects_read: 0 0 0 Cu_position.h5 materials.txt
#waveform: ricker 1 1.5e9 my_ricker
#hertzian_dipole: z 0.135 0.05 0.005 my_ricker
#rx: 0.135 0.05 0.005
Cu_position.h5用HDFView看如图一图二图三所示





现在用api(filename, n=1, geometry_only=False, gpu={0})跑这个模型,报错是(can't locate attribute: 'dx_dy_dz')
有无大佬知到这个怎么处理?
2026年03月03日 06点03分
1
#title: A-scan with imported antenna
#domain: 0.3 0.2 0.15
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 10e-9
#material: 1e9 0 1 0 antenna_material
#geometry_objects_read: 0 0 0 Cu_position.h5 materials.txt
#waveform: ricker 1 1.5e9 my_ricker
#hertzian_dipole: z 0.135 0.05 0.005 my_ricker
#rx: 0.135 0.05 0.005
Cu_position.h5用HDFView看如图一图二图三所示





现在用api(filename, n=1, geometry_only=False, gpu={0})跑这个模型,报错是(can't locate attribute: 'dx_dy_dz')有无大佬知到这个怎么处理?