findStructuralProperties
Find structural material properties assigned to geometric region
Description
returns the structural material properties assigned to the specified region.
Structural properties include Young's modulus, Poisson's ratio, the mass density,
the coefficient of thermal expansion, and the hysteretic damping parameter of the
material.smpa
= findStructuralProperties(structuralmodel.MaterialProperties
,RegionType
,RegionID
)
Examples
Find Young's Modulus and Poisson's Ratio
Find Young's modulus and Poisson's ratio for cells of a 3-D geometry.
Create a structural model.
structuralmodel = createpde("structural","static-solid");
Create the geometry consisting of three stacked cylinders and include it in the model. Plot the geometry.
gm = multicylinder(10,[1 2 3],"ZOffset",[0 1 3]); structuralmodel.Geometry = gm; pdegplot(structuralmodel,"CellLabels","on","FaceAlpha",0.5)
Assign different values of Young's modulus and Poisson's ratio to each cell.
structuralProperties(structuralmodel,"Cell",1,"YoungsModulus",200E9, ... "PoissonsRatio",0.3); structuralProperties(structuralmodel,"Cell",2,"YoungsModulus",210E9, ... "PoissonsRatio",0.3); structuralProperties(structuralmodel,"Cell",3,"YoungsModulus",110E9, ... "PoissonsRatio",0.35);
Check the structural properties specification for cell 1.
mC1 = findStructuralProperties(structuralmodel.MaterialProperties, ... "Cell",1)
mC1 = StructuralMaterialAssignment with properties: RegionType: 'Cell' RegionID: 1 YoungsModulus: 2.0000e+11 PoissonsRatio: 0.3000 MassDensity: [] CTE: [] HystereticDamping: []
Check the structural properties specification for cells 2 and 3.
mC23 = findStructuralProperties(structuralmodel.MaterialProperties, ... "Cell",[2,3]); mC2 = mC23(1)
mC2 = StructuralMaterialAssignment with properties: RegionType: 'Cell' RegionID: 2 YoungsModulus: 2.1000e+11 PoissonsRatio: 0.3000 MassDensity: [] CTE: [] HystereticDamping: []
mC3 = mC23(2)
mC3 = StructuralMaterialAssignment with properties: RegionType: 'Cell' RegionID: 3 YoungsModulus: 1.1000e+11 PoissonsRatio: 0.3500 MassDensity: [] CTE: [] HystereticDamping: []
Input Arguments
structuralmodel.MaterialProperties
— Material properties
MaterialProperties
property of
StructuralModel
object
Material properties of the model, specified as the
MaterialProperties
property of a StructuralModel
object.
Example: structuralmodel.MaterialProperties
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: findStructuralProperties(structuralmodel.MaterialProperties,"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: findStructuralProperties(structuralmodel.MaterialProperties,"Face",1:3)
Data Types: double
Output Arguments
smpa
— Material properties assignment
StructuralMaterialAssignment
object
Material properties assignment, returned as a
StructuralMaterialAssignment
object. For details, see
StructuralMaterialAssignment Properties.
Version History
Introduced in R2017b
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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)