Model.createcaero1panelmeshing#
- Model.createcaero1panelmeshing(component, locations, tableid1=0, tableid2=0, span=0, chord=0, igid=0, createproperty=1, mode=0, panelname='', propertyname='', systemid=0)#
Creates a component for aeroelastic panel mesh CAERO1.
- Parameters:
component (Entity) – The object describing the component entity which ID is the start value for component and element numbering.
locations (hwDoubleList) – The list describing the coordinates of 4 corner points (12 values).
tableid1 (int) – The ID of an AEFACT table containing the list of division points for spanwise boxes. Used only if
spanis not provided.tableid2 (int) – The ID of an AEFACT table containing the list of division points for chordwise boxes. Used only if
chordis not provided.span (int) – The number of spanwise boxes. If not provided, must specify
tableid1.chord (int) – The number of chordwise boxes. If not provided, must specify
tableid2.igid (int) – The interference group identifier.
createproperty (int) –
Valid options:
0 - Do not create PAERO1
1 - Create PAERO1 (default)
mode (int) –
Valid options:
0 - Create component (default)
1 - Update component
panelname (hwString) – The name of the CAERO1 panel entity. If not specified, CAERO1_<ID of
component> is used.propertyname (hwString) – The name of the PAERO1 property entity. If not specified, PAERO1_<ID of
component> is used.systemid (int) – The ID of the system for locating points 1 and 4.
Example#
Create an aero component with ID 60001 use tables with IDs 31001 and 31002#import hm import hm.entities as ent model = hm.Model() # Creating an aero component with ID 60001 using tables with IDs 31001 and 31002: model.createcaero1panelmeshing( component=ent.Component(model, 60001), locations=[ 701.04, 74.56, 177.11, 1000.67, 70.5, 176.9, 1085.37, 374.58, 183.29, 946.5, 399.5, 189.45, ], tableid1=31001, tableid2=31002, igid=1, )