findBodyLoad
Find body load assigned to geometric region
Description
returns the body load assigned to a geometric region of the structural model. A body
load must use units consistent with the geometry and other model attributes.bl
= findBodyLoad(structuralmodel.BodyLoads
,RegionType
,RegionID
)
Examples
Find Body Load
Create a structural model.
structuralModel = createpde("structural","static-solid");
Create and plot the geometry.
gm = multicuboid(0.5,0.1,0.1);
structuralModel.Geometry = gm;
pdegplot(structuralModel,"FaceAlpha",0.5)
Specify Young's modulus, Poisson's ratio, and the mass density. Notice that the mass density value is required for modeling gravitational effects.
structuralProperties(structuralModel,"YoungsModulus",210E3, ... "PoissonsRatio",0.3,... "MassDensity",2.7E-6);
Specify the gravity load on the beam.
structuralBodyLoad(structuralModel, ... "GravitationalAcceleration",[0;0;-9.8]);
Check the body load specification for cell 1.
findBodyLoad(structuralModel.BodyLoads,"Cell",1)
ans = BodyLoadAssignment with properties: RegionType: 'Cell' RegionID: 1 GravitationalAcceleration: [3x1 double] AngularVelocity: [] Temperature: [] TimeStep: [] Label: []
Input Arguments
structuralmodel.BodyLoads
— Body loads
BodyLoads
property of
StructuralModel
object
Body loads of the model, specified as a BodyLoads
property of a StructuralModel
object.
RegionType
— Geometric region type
"Face"
for a 2-D model | "Cell"
for a 3-D model
Geometric region type, specified as "Face"
for a 2-D
model or "Cell"
for a 3-D model.
Example: findBodyLoad(structuralmodel.BodyLoads,"Cell",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 using pdegplot
.
Example: findBodyLoad(structuralmodel.BodyLoads,"Cell",1)
Data Types: double
Output Arguments
bl
— Body load assignment
BodyLoadAssignment
object
Body load assignment, returned as a BodyLoadAssignment
object. For details, see BodyLoadAssignment Properties.
Version History
Introduced in R2017b
See Also
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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: .
You can also select a web site from the 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)