Vdload子程序的理解
vdload子程序关于坐标问题
Colin 发表于: 五月 7th, 2011 | 阅读: 893 次阅读 | 评论数: (2)
vdload是英语四级作文万能句子abaqus显式分析(explicit)的一个子程序。
官方的帮助文档:(博主译)
用户子程序VDLOAD:
林书豪简介 可以用来定义一组点关于位置, 时间, 速度等的函数的分布载荷变量,每一个点出现在 an element-bad or surface-bad nonuniform load definition;
will be called for load integration points associated with each nonuniform load definition including PENU and PINU loads applicable for pipe elements; 怎么和女孩子聊天
does not make available the current value of the nonuniform distributed loads for file output purpos; and recognizes an amplitude reference (“Amplitude curves,” Section 30.1.2 of th
e Abaqus Analysis Ur’s Manual) if it appears with the associated nonuniform load definition.
Ur subroutine interface(用户子程序接口)
subroutine vdload (
C Read only (unmodifiable)variables -
1 nblock, ndim, stepTime, totalTime,
2 amplitude, curCoords, velocity, dirCos, jltyp, sname,
C Write only (modifiable) variable -
1 value )
C
include ‘vaba_param.inc’
C
dimension curCoords(nblock,ndim), velocity(nblock,ndim),
1 dirCos(nblock,ndim,ndim), value(nblock)
character*80 sname
C
do 100 km = 1, nblock
ur coding to define value
100 continue
return
end
需要定义的变量:
value (nblock)
均布载荷的大小。 浙江经济师考试面载荷的单位为FL–2 ,体积力的单位为FL–3。
传入信息的变量
nblock
Number of points to be procesd in this call to VDLOAD.
ndim
坐标方向的数值:二维模型值为2,三维模型值为3。若有任意一个三维单元则模型被认为时三维的。(包括SPRINGA 单元).
stepTime
Value of time since the step began.
外文参考文献格式totalTime
Value of total time. The time at the beginning of the step is given by totalTime – stepTime.
amplitude
Current value of the amplitude referenced for this load (t to unity if no amplitude is referenced). You must multiply the load by the current amplitude value within the ur subroutine if the amplitude is required.
curCoords (nblock, ndim)
Current coordinates of each point for which the load is to be calculated.
velocity (nblock, ndim)
Current velocity of each point for which the load is to be calculated.
dirCos (nblock, ndim, ndim)
Current orientation of the face, edge, pipe, or beam for pressure type loads (not applicable for body force type loads). The cond dimension indicates the vector, and the third dimension indicates the components of that vector. For faces (pressures on three-dimensional continuum, shell, and membrane elements), the first and cond vectors are the local directions in the plane of the surface and the third vector is the normal to the face, as defined in “Conventions,” Section 1.2.2 of the Abaqus Analysis Ur’s Manual. For solid elements the normal points inward, which is the opposite of what is defined in the conventions; for shell elements the normal definition is consistent with the defined co
nventions. For edges (pressures on two-dimensional continuum elements and two-dimensional beams and pipes), the first vector is the normal to the edge, the cond vector is the tangent to the edge, and, if ndim=3, the third vector will be a unit normal in the out-of-plane direction. For three-dimensional beam and pipe elements, the first and cond vectors are the local axes (, ) and the third vector is the tangent vector (), as defined in “Beam element cross-ction orientation,” Section 26.3.4 of the Abaqus Analysis Ur’s Manual.
jltyp
Key that identifies the distributed load type. The load type may be a body force, a surface-bad load, or an element-bad surface load. For element-bad surface loads, this variable identifies the element face for which this call to VDLOAD is being made. See Part VI, “Elements,到达的英文” of the Abaqus Analysis Ur’s Manual for element load type identification. This information is uful when veral different nonuniform distributed loads are being impod on an element at the same time.
sname
Surface name for a surface-bad load definition (JLTYP=0). For a body force or an element-bad load the surface name is pasd in as a blank.
以前一直纠结于curCoords (nblock, ndim)的参数,据文档值nblock快译软件代表调用VDLOAD子程序的点的个数,ndim代表着维数。2维模型ndim=2,三维模型ndim=3。我一直在想函数的返回值是什么呢,是一个数组?还是一个具体数,含义是什么呢?
最近终于知道我的理解大错特错了,ndim在3维情况下取值为1~3,当ndim=1是,返回值为1方向坐标;ndim=2,返回值为2方向作品。ndim=3,返回值为3方向作品。而ndim在2维情况下取值为1~2。
这样,我们就可以很轻松的调用这个函数来表示坐标了。
2个例子
C Ur subroutine VDLOAD
subroutine vdload (
C Read only (unmodifiable) variables -
* nblock, ndim, stepTime, totalTime,
it名词 * amplitude, curCoords, velocity, dircos,
* jltyp, sname,
C Write only (modifiable) variable -
* value )
C
include 'vaba_param.inc'
parameter (
* d0 = 120.00d0,
* pa = 0.0d0,
* ps = 364.0d0,
* theta = 0.124651928275d-3,
c * theta = 0.1569262d-3,
* timea = 0.01875d-3,
* timed = 0.195d-3,
百度英汉词典 * zero = 0.0d0,
* one = 1.0d0
* )
C
dimension curCoords(nblock,ndim),
* velocity(nblock,ndim),
* dircos(nblock,ndim,ndim),
* value(nblock)
皮夹子 character*80 sname
c
c local variables
c
real xx,yy,zz,dd,dd0,xc,yc,zc,tt,Tint,press