Model.realizeentity_memberjoints#
- Model.realizeentity_memberjoints(memberjoint, elemconfig, elemtype, elemsize=0.0, elemdensity=0, useelemdensity=False, sectiontype='', realizemembersections=False, reusemeshcontrols=False, updatemembers=False, updateMemberPanels=False, legindex=0)#
Realizes a member joint into solver data.
- Parameters:
memberjoint (Entity) – The object describing the 1D element entity.
elemconfig (hwString) – The element configuration of the 1D elements of member joint mesh (e.g., bar2, rod).
elemtype (hwString) – The element type of the 1D element of member joint mesh (e.g., CBAR, CBEAM, CROD).
elemsize (double) – The size of the 1D elements created during meshing if elemdensity is not specified.
elemdensity (int) – The element density used for meshing the member joint leg.
useelemdensity (bool) – The flag determining if element density is to be used for meshing the member joint.
sectiontype (hwString) –
The section type for beam section. Valid values are:
real - Creates shell or solid beam sections.
boundingbox - Creates a standard box type beam section equivalent to the bounding box of the real section.
realizemembersections (bool) –
The section type for beam section. Valid values are:
The flag to realize associated member sections of the member joint. Valid values are
FalseandTrue. If set toTrue, the member sections, contained in the member joint, will be realized to create beam section. This newly created beam sections will be assigned to 1D elements created during member joint realize.reusemeshcontrols (bool) – The flag to reuse mesh controls while meshing the legs of already realized member joint. Valid values are:
FalseandTrue. If set toTrue, the meshing inputs will be fetched from the existing mesh control stored within the solver representation that is assigned to the member joint.updatemembers (bool) – The flag to update attached members. Valid values are
FalseandTrue. If set toTrue, the attached members will be updated and re-realized.updateMemberPanels (bool) – The flag to update dependent member panels. Valid values are
FalseandTrue. If set toTrue, the dependent member panels will be realized.legindex (int) – The leg of the member joint that needs to be realized. If no value is sent, all the legs of the member joint will be realized.
Example#
Realize member joint with ID 1 use element density , element configuration as “bar2” , element type as CBEAM and section type as “ real “#import hm import hm.entities as ent model = hm.Model() model.realizeentity_memberjoints( memberjoint=ent.Memberjoint(model, 1), useelemdensity=True, elemdensity=5, elemconfig="bar2", elemtype="CBEAM", sectiontype="real", realizemembersections=True, )