Перейти к публикации

Повернуть сечение элемента


Рекомендованные сообщения

Добрый день!

Возник вопрос как повернуть сечение балочного элемента.

Допустим, есть балочный элемент, который создан не на линии, а напрямую через элемент.
 

ET,1,BEAM188

MPTEMP,,,,,,,,  
MPTEMP,1,0  
MPDATA,EX,1,,2e11   
MPDATA,PRXY,1,,0.3  
SECTYPE,   1, BEAM, RECT, quad, 0   
SECOFFSET, CENT
SECDATA,0.1,0.1,0,0,0,0,0,0,0,0,0,0
N,1,0,0,0   
N,2,1,0,0   
E,1,2   

 

 

Как его сечение можно повернуть, например, на 45 градусов?

 

Ссылка на сообщение
Поделиться на других сайтах


UnPinned posts
Скрытый текст

!!!!!!!!#########################

ESYS_NUM_NEW = 1000                    !!!Setting a large number for new element systems

/PREP7

CMSEL,S,P_BODY,ELEM                    !!!Select elements of P_BODY component
*GET,EL_COUNT,ELEM,0,COUNT                !!!Get element count of selected elements

EL_NUM = 0                        
*DO,i,1,EL_COUNT,1                    !!!Do loop over selected elements
EL_NUM = ELNEXT(EL_NUM)                !!!Grabbing the next element number from the selected element set
*GET,ESYS_NUM,ELEM,EL_NUM,ATTR,ESYS_NUM        !!!Get ESYS number of current element number
CSYS,ESYS_NUM                        !!!Set CSYS to as per active element's ESYS number
CLOCAL,ESYS_NUM_NEW,0,,,,45                !!!Create a new local CS with respect to above ESYS and rotat it as required
EMODIF,EL_NUM,ESYS,ESYS_NUM_NEW            !!!Modify current element's ESYS as per newly created locas CS

ESYS_NUM_NEW = ESYS_NUM_NEW + 1

*ENDDO

FINISH

CSYS,0
ALLSEL,ALL

/SOLU
!!!!!!!!#########################

https://ansyskm.ansys.com/forums/topic/how-to-rotate-esys-about-any-axis-for-element-orientation/

2050624.pdf

Ссылка на сообщение
Поделиться на других сайтах
1 час назад, AlexKaz сказал:
  Скрыть содержимое

!!!!!!!!#########################

ESYS_NUM_NEW = 1000                    !!!Setting a large number for new element systems

/PREP7

CMSEL,S,P_BODY,ELEM                    !!!Select elements of P_BODY component
*GET,EL_COUNT,ELEM,0,COUNT                !!!Get element count of selected elements

EL_NUM = 0                        
*DO,i,1,EL_COUNT,1                    !!!Do loop over selected elements
EL_NUM = ELNEXT(EL_NUM)                !!!Grabbing the next element number from the selected element set
*GET,ESYS_NUM,ELEM,EL_NUM,ATTR,ESYS_NUM        !!!Get ESYS number of current element number
CSYS,ESYS_NUM                        !!!Set CSYS to as per active element's ESYS number
CLOCAL,ESYS_NUM_NEW,0,,,,45                !!!Create a new local CS with respect to above ESYS and rotat it as required
EMODIF,EL_NUM,ESYS,ESYS_NUM_NEW            !!!Modify current element's ESYS as per newly created locas CS

ESYS_NUM_NEW = ESYS_NUM_NEW + 1

*ENDDO

FINISH

CSYS,0
ALLSEL,ALL

/SOLU
!!!!!!!!#########################

https://ansyskm.ansys.com/forums/topic/how-to-rotate-esys-about-any-axis-for-element-orientation/

2050624.pdf 528 \u041a\u0431 · 2 скачивания

@AlexKaz Спасибо, но в твоем коде просто вращаем систему координат, разве не так? Или с системой координат должно еще сечение повернуться?

Ссылка на сообщение
Поделиться на других сайтах

Охренеть, ни за что бы не догадался. Хоть бы словом где обмолвились об этом в документации.

Короче нужна команда EMODIF, E_ID, 3, N_ID

где E_ID - номер элемента, который мы собираемся модифицировать.

Так как используется BEAM188, то у него не два узла оказывается рассматривается, а три, где первые два принадлежат элементу, а третий узел - направляющий. И соответственно число 3 - это номер узла балки, который мы собираемся модифицировать, то есть направляющий узел. И мы этот узел соответственно заменяем на узел с номером N_ID. И тогда сечение реально вращается.

Разобрался по этому видео.

 

 

Изменено пользователем статист
Ссылка на сообщение
Поделиться на других сайтах
11 часов назад, статист сказал:

Охренеть, ни за что бы не догадался. Хоть бы словом где обмолвились об этом в документации.

.................................................

Так как используется BEAM188, то у него не два узла оказывается рассматривается, а три, где первые два принадлежат элементу, а третий узел - направляющий.

Это есть в документации. Может быть эта информация будет полезна не только вам.

https://www.mm.bme.hu/~gyebro/files/ans_help_v182/ans_elem/Hlp_E_BEAM188.html

В этом разделе подробно написано

Цитата

BEAM188 Input Data

The geometry, node locations, coordinate system, and pressure directions for this element are shown in Figure 188.1: BEAM188 Geometry. BEAM188 is defined by nodes I and J in the global coordinate system.

Node K is a preferred way to define the orientation of the element. For information about orientation nodes and beam meshing, see Generating a Beam Mesh With Orientation Nodes in the Mechanical APDL Modeling and Meshing Guide. See the LMESH and LATT command descriptions for details on generating the K node automatically.

BEAM188 can also be defined without the orientation node K. In this case, the element x-axis is oriented from node I (end 1) toward node J (end 2). If no orientation node is used, the default orientation of the element y-axis is automatically calculated to be parallel to the global X-Y plane. For the case where the element is parallel to the global Z-axis (or within a 0.01 percent slope of it), the element y-axis is oriented parallel to the global Y-axis (as shown). To control the element orientation about the element x-axis, use the orientation-node option. If both are defined, the orientation-node option takes precedence. The orientation node K, if used, defines a plane (with I and J) containing the element x and z-axes (as shown). If using this element in a large-deflection analysis, be aware that the location of the orientation node K is used only to initially orient the element.

The number of degrees of freedom depends on the value of KEYOPT(1). When KEYOPT(1) = 0 (the default), six degrees of freedom occur at each node. These include translations in the x, y, and z directions and rotations about the x, y, and z directions. When KEYOPT(1) = 1, a seventh degree of freedom (warping magnitude) is also considered.

The beam element is a one-dimensional line element in space. The cross-section details are provided separately via the SECTYPE and SECDATA commands. (See Beam and Pipe Cross Sections in the Mechanical APDL Structural Analysis Guide for details.) A section is associated with the beam elements by specifying the section ID number (SECNUM). A section number is an independent element attribute. In addition to a constant cross-section, you can also define a tapered cross-section by using the TAPER option on the SECTYPE command. (See Defining a Tapered Beam or Pipe in the Mechanical APDL Structural Analysis Guide.)

BEAM188 ignores any real constant data. See the SECCONTROL command for defining the transverse-shear stiffness and added mass.

A summary of the element input is given in "BEAM188 Input Summary".

Очень подробное описание этого элемента. Это элемент Тимошенко. Это надо учитывать используя этот элемент в расчетах.

Остается только один вопрос зачем менять номер узла, если сразу можно задать нужный номер и менять его координаты?

 

Изменено пользователем ДОБРЯК
Ссылка на сообщение
Поделиться на других сайтах

Спасибо за цитату, полезная для меня

 

55 минут назад, ДОБРЯК сказал:

Остается только один вопрос зачем менять номер узла, если сразу можно задать нужный номер и менять его координаты?

Я знал до этого способ использовать атрибуты LATT для задания направления, но они применялись только к построенным линиям.

Если например рассматривать созданный элемент E, 1, 2, где для задания применяются только два узла, то тут уже никак не поменяешь положение третьего узла, так как его нет. Нужно тогда создавать отдельно направляющий узел  и задавать его через EMODIF,EID, 3, NID.

 

Но получается без создания узла, задать направление нельзя. В настране по крайней мере так можно. А в ансисе нужно плодить лишние узлы. Грустно)

Ссылка на сообщение
Поделиться на других сайтах

Присоединяйтесь к обсуждению

Вы можете опубликовать сообщение сейчас, а зарегистрироваться позже. Если у вас есть аккаунт, войдите в него для написания от своего имени.
Примечание: вашему сообщению потребуется утверждение модератора, прежде чем оно станет доступным.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

  • Сейчас на странице   0 пользователей

    Нет пользователей, просматривающих эту страницу.




×
×
  • Создать...