动三轴
model newmodel configure fluid dynamic
zone create brick size 1 1 1
; --- mechanical properties ---
zone cmodel assign mohr-coulomb
zone property young=2.0e4 poisson=0.2 friction=30 cohesion=0.0
;
model fluid active off
zone gridpoint fix velocity-z
zone face apply stress-xx=-100.0 range union position-x 0 position-x 1
zone face apply stress-yy=-100.0 range union position-y 0 position-y 1
zone initialize stress xx -100.0 yy -100.0 zz -100.0
model gravity 10.0
zone property density 1440
; --- boundary conditions ---
zone fluid cmodel assign isotropic
zone fluid property porosity 0.3
zone gridpoint initialize fluid-modulus 2e3
model fluid active off
; --- fish functions ---
fish define sine_wave
freq=1.0
ampl=200
omega = 2.0 * math.pi * freq
vv = ampl*math.sin(omega*dynamic.time.total)
sine_wave = vv
end
@sine_wave
zone face apply stress-zz -1.0 fish @sine_wave range position-z 1.0
model solve time-total 20
写了一个动三轴命令流,但是结果是错的,有没有大神帮忙看一下
页:
[1]