BoundaryCondition (hwx.inspire)#

class BoundaryCondition#

Bases: Named

Boundary conditions are constraints necessary for the solution of a boundary value problem.

The main types of boundary condition available are force, torque, support, temperature and etc. These can be applied to points, surfaces, edges or remotely offset from a feature. The way that the model is constrained can significantly affect the results and requires special consideration.

Attribute Table#

Name

Type

color

Color

connectionRadius

Double

connectionType

Enum

direction

Direction

distributed

Bool

feature

property

features

List

inahole

property

loadCase

property

localToPart

Bool

location

Location

mode

Enum

part

Reference

parts

List

visible

Bool

Method Table#

Name

Description

importLoads (csvFile)

Imports boundary conditions to the active model from a csv file.

setSystem (self, system)

Associate system to a boundary condition.

updatePosition (self, m44)

Sets the design space positions of all the inspire parts to their

property distributed#

Returns whether the applied boundary condition is distributed or not.

Boundary conditions applied across the entire feature area (for faces) or length (for edges) are distributed and at a single point boundary conditions are non-distributed.

property connectionType#

The type of the connection. Valid choices are:

  • rigid

  • flexible

property part#

Returns the part on which the entity is applied graphically.

property parts#

The list of parts on which the boundary condition is applied.

property mode#

Specifies the mode of the boundary condition.

Valid choices are:

  • direction

  • components

property localToPart#

Returns or sets ‘Rotate with part’.

It makes boundary condition not to rotate or rotate along with its associated part.

property connectionRadius#

The search radius for the boundary condition.

property color#

The color assigned to the boundary condition.

property visible#

Determines whether the boundary condition is visible or not.

property feature#

Returns the feature on which the boundary condition is attached graphically.

property features#

The list of features to which the boundary condition is applied.

property inahole#

Determines if the boundary condition is applied on a hole or not.

property location#

The location of the boundary condition.

property direction#

The direction of vector the boundary condition.

property loadCase#

The loadcase this boundary condition belongs to.

It can be set to ‘current’ or any instance of LoadCase.

updatePosition(m44)#

Sets the design space positions of all the inspire parts to their position in the current analysis frame.

setSystem(system)#

Associate system to a boundary condition.

Parameters:

system (System) – System tp associate with boundary condition.