findStructuralBC
Find structural boundary conditions and boundary loads assigned to geometric region
Description
returns the structural boundary conditions and boundary loads assigned to the region specified bysbca
= findStructuralBC(structuralmodel.BoundaryConditions
,RegionType
,RegionID
)RegionType
andRegionID
. The function returns structural boundary conditions assigned bystructuralBC
and boundary loads assigned bystructuralBoundaryLoad
.
Examples
Find Structural Boundary Conditions
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: [] Radius: [] Reference: [] Label: [] Boundary Loads Force: [] SurfaceTraction: [3x1 double] Pressure: [] TranslationalStiffness: [] Label: []
sbcaFace3 = sbca(2)
sbcaFace3 = StructuralBC with properties: RegionType: 'Face' RegionID: 3 Vectorized: 'off' Boundary Constraints and Enforced Displacements Displacement: [] XDisplacement: [] YDisplacement: [] ZDisplacement: [] Constraint: [] Radius: [] Reference: [] Label: [] Boundary Loads Force: [] SurfaceTraction: [] Pressure: 300 TranslationalStiffness: [] Label: []
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" Radius: [] Reference: [] Label: [] Boundary Loads Force: [] SurfaceTraction: [] Pressure: [] TranslationalStiffness: [] Label: []
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" Radius: [] Reference: [] Label: [] Boundary Loads Force: [] SurfaceTraction: [] Pressure: [] TranslationalStiffness: [] Label: []
Input Arguments
structuralmodel.BoundaryConditions
—Structural boundary conditions
BoundaryConditions
property ofStructuralModel
object
Structural boundary conditions of the model, specified as theBoundaryConditions
财产的StructuralModel
object.
RegionType
—Geometric region type
'Edge'
for a 2-D model|'Face'
for a 3-D model
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
RegionID
—Geometric region ID
vector of positive integers
Geometric region ID, specified as a vector of positive integers. Find the region IDs by usingpdegplot
.
Example:findStructuralBC(structuralmodel.BoundaryConditions,'Face',1:3)
Data Types:double
Output Arguments
sbca
— Structural boundary conditions and boundary loads assignment
StructuralBC
object
Structural boundary conditions and boundary loads assignment, returned as aStructuralBC
object. For details, seeStructuralBC Properties.
Version History
See Also
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
你也可以选择一个网站的following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina(Español)
- Canada(English)
- United States(English)
Europe
- Belgium(English)
- Denmark(English)
- Deutschland(Deutsch)
- España(Español)
- Finland(English)
- France(Français)
- Ireland(English)
- Italia(Italiano)
- Luxembourg(English)
- Netherlands(English)
- Norway(English)
- Österreich(Deutsch)
- Portugal(English)
- Sweden(English)
- Switzerland
- United Kingdom(English)