- 积分
- 1
- 注册时间
- 2002-11-23
- 仿真币
-
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2007-8-1 19:16:49
|
显示全部楼层
来自 美国
同时给相交的两面墙施加法向约束,遇到问题
自己改了一下命令,麻烦多了,但是解决问题了,
就是为了避免同一个gp 出现两个local coordinate system,如下:
; fix the gridpoint at origin
fix x y z range x -0.0001 0.0001 y -0.0001 0.0001 z -0.0001 0.0001
; fix the grid point on z axis (not including the gridpoint at origin)
fix x y range x -0.0001 0.0001 y -0.0001 0.0001 z 0.0001 100
; fix the edge on global x axis (not including the gridpoint at origin)
fix y z range x 0.0001 10 y -0.0001 0.00001 z -0.0001 0.0001
; fix the other edge
macro endface 'plane dip 90 dd 300 origin 0., -0.0001,0 above'
macro zheight 'plane dip 0 dd 300 origin 0.,0.,0.0001 below'
apply nvel 0. plane dip 90 dd 300 range endface zheight x 0.0001 100
apply dvel 0. plane dip 90 dd 300 range endface zheight x 0.0001 100
; fix the bottom face (not including the two edges)
macro endface1 'plane dip 90 dd 300 origin 0., -0.0001,0 below'
fix z range z -0.0001 0.0001 y 0.00001 100 x 0.0001 100 endface1
; fix the face on y=0 (not including the edges)
macro zheight1 'plane dip 0 dd 300 origin 0.,0.,0.0001 above'
fix y range x 0.0001 100 y -0.0001 0.0001 zheight1
; fix the other face (not including the edges)
apply nvel 0. plane dip 90 dd 300 range endface x 0.0001 100
真是复杂啊,但是自己想不到简洁的命令了,希望有更好想法的大侠指教。
谢谢
[ 本帖最后由 aj2000 于 2007-8-2 19:26 编辑 ] |
|