This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

findStructuralBC

Find structural boundary conditions and boundary loads assigned to geometric region

Syntax

sbca = findStructuralBC(structuralmodel.BoundaryConditions,RegionType,RegionID)

Description

example

sbca = findStructuralBC(structuralmodel.BoundaryConditions,RegionType,RegionID) returns the structural boundary conditions and boundary loads assigned to the region specified by RegionType and RegionID. The function returns structural boundary conditions assigned by structuralBC and boundary loads assigned by structuralBoundaryLoad.

Examples

collapse all

Find the structural boundary conditions for the faces of a 3-D geometry.

Create a structural model and include a block geometry.

structuralmodel = createpde('structural','static-solid');

Include the block geometry in the model and plot the geometry.

importGeometry(structuralmodel,'Block.stl');
pdegplot(structuralmodel,'FaceLabels','on','FaceAlpha',0.5)

Specify the surface traction on face 1 of the block.

structuralBoundaryLoad(structuralmodel,'Face',1,'SurfaceTraction',[100;10;300]);

Specify the pressure on face 3 of the block.

structuralBoundaryLoad(structuralmodel,'Face',3,'Pressure',300);

Apply free constraint on faces 5 and 6 of the block.

structuralBC(structuralmodel,'Face',[5,6],'Constraint','free');

Check the boundary condition specification for faces 1 and 3.

sbca = findStructuralBC(structuralmodel.BoundaryConditions,'Face',[1,3]);
sbcaFace1 = sbca(1)
sbcaFace1 = 
  StructuralBC with properties:

                RegionType: 'Face'
                  RegionID: 1
                Vectorized: 'off'

   Boundary Constraints and Enforced Displacements
              Displacement: []
             XDisplacement: []
             YDisplacement: []
             ZDisplacement: []
                Constraint: []

   Boundary Loads
           SurfaceTraction: [3x1 double]
                  Pressure: []
    TranslationalStiffness: []

sbcaFace3 = sbca(2)
sbcaFace3 = 
  StructuralBC with properties:

                RegionType: 'Face'
                  RegionID: 3
                Vectorized: 'off'

   Boundary Constraints and Enforced Displacements
              Displacement: []
             XDisplacement: []
             YDisplacement: []
             ZDisplacement: []
                Constraint: []

   Boundary Loads
           SurfaceTraction: []
                  Pressure: 300
    TranslationalStiffness: []

Check the boundary condition specification for faces 5 and 6.

sbca = findStructuralBC(structuralmodel.BoundaryConditions,'Face',[5,6]);
sbcaFace5 = sbca(1)
sbcaFace5 = 
  StructuralBC with properties:

                RegionType: 'Face'
                  RegionID: [5 6]
                Vectorized: 'off'

   Boundary Constraints and Enforced Displacements
              Displacement: []
             XDisplacement: []
             YDisplacement: []
             ZDisplacement: []
                Constraint: "free"

   Boundary Loads
           SurfaceTraction: []
                  Pressure: []
    TranslationalStiffness: []

sbcaFace6 = sbca(2)
sbcaFace6 = 
  StructuralBC with properties:

                RegionType: 'Face'
                  RegionID: [5 6]
                Vectorized: 'off'

   Boundary Constraints and Enforced Displacements
              Displacement: []
             XDisplacement: []
             YDisplacement: []
             ZDisplacement: []
                Constraint: "free"

   Boundary Loads
           SurfaceTraction: []
                  Pressure: []
    TranslationalStiffness: []

Input Arguments

collapse all

Structural boundary conditions of the model, specified as the BoundaryConditions property of a StructuralModel object.

Geometric region type, specified as 'Edge' for a 2-D model or 'Face' for a 3-D model.

Example: findStructuralBC(structuralmodel.BoundaryConditions,'Edge',1)

Data Types: char | string

Geometric region ID, specified as a vector of positive integers. Find the region IDs using pdegplot, as shown in Create Geometry and Remove Face Boundaries or STL File Import.

Example: findStructuralBC(structuralmodel.BoundaryConditions,'Face',1:3)

Data Types: double

Output Arguments

collapse all

Structural boundary conditions and boundary loads assignment, returned as a StructuralBC object. For details, see StructuralBC Properties.

Introduced in R2017b