Hello,
I would very much appreciate if anyone could please help with the following
/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>
The structure that I'm working on undergoes bending, thus I'm trying to capture the bending effect by applying enforced displacements (SPCD) in the longitudinal direction of the structure (x-direction). The magnitude of each SPCD is determined by the nodes distance from the neutral axis in z-direction, as follows:
*createmark nodes 1 'on plane' 0 0 0 1 0 0 .1 1 1
foreach nodeid [hm_getmark nodes 1] {
set z_coord [hm_getentityvalue nodes [lindex $nodeid 0] 'z' 0]
set disp_x [ expr double(-$M)/double($I_y)*(double($z_coord)-double($NA))*(double($fr)*double($fr_spacing))/double($E) ]
*createmark nodes 1 $nodeid
*loadcreateonentity_curve nodes 1 3 2 $disp_x -999999 -999999 -999999 -999999 -999999 0 0 0 0 0
}
I'm aware that this approach is rather inefficient for large number of nodes since it is creating the SPCD one by one. Thus, if you do have a more efficient way of doing it, kindly share if you don't mind.
I was thinking if it is possible to apply the constraint (SPCD) in terms of equation (based on Z-coordinate of the node) on the surface, and have it 'evaluated' later on (very much like pressure load being applied onto surface using equation, and then mapped onto the mesh). I have used such function in Femap but for the life of me I could not find its counterpart in Hypermesh.
Many thanks for any help.
Cheers