主要内容

structuralBodyLoad

为结构模型指定的身体负荷

描述

例子

structuralBodyLoad (structuralmodel“GravitationalAcceleration”,GAval)指定重力加速度作为一个静态的身体负荷或瞬态结构模型。结构模型模态分析不能有身体负荷。

例子

structuralBodyLoad (structuralmodel“AngularVelocity”,ω)指定一个角速度为轴对称模型离心加载结构模型。

例子

structuralBodyLoad (structuralmodel“温度”,Tval)指定了一个热负荷在一个静态的结构分析模型。

提示

如果Tval温度本身,而不是改变温度,您必须指定一个参考温度使用structuralmodel.ReferenceTemperature。否则,工具箱使用默认值为参考温度(零)。有关详细信息,请参见StructuralModel

例子

structuralBodyLoad (structuralmodel“温度”,Tresults)使用稳态或瞬态热分析的结果Tresults指定一个热负荷在一个静态的结构分析模型。如果Tresults是一个瞬态热的问题的解决方案,那么这个语法使用温度及其梯度从最后一次一步。

例子

structuralBodyLoad (structuralmodel“温度”,Tresults“步伐”,)使用瞬态热分析的结果Tresults和时间步指数指定一个热负荷在一个静态的结构分析模型。

structuralBodyLoad (structuralmodel,___)指定几个身体负荷相同的结构模型。使用任何参数从以前语法适用于你structuralmodel。例如,指定重力和热负荷structuralBodyLoad (structuralmodel“GravitationalAcceleration”,[0, 0, -9.8],“温度”,300年)。不要使用后续函数调用时指定几个身体负荷因为工具箱只使用最后一个任务。

structuralBodyLoad (___“标签”,labeltext)添加一个标签结构体负载使用linearizeInput函数。这个函数允许您通过身体负荷线性化使用函数,提取稀疏线性模型控制系统工具箱™。

bodyLoad= structuralBodyLoad (___)返回身体负荷对象。

例子

全部折叠

创建一个结构模型。

structuralModel = createpde (“结构性”,“static-solid”);

创建和绘制几何。

通用= multicuboid (0.5, 0.1, 0.1);structuralModel。几何=通用;pdegplot (structuralModel“FaceAlpha”,0.5)

图包含一个坐标轴对象。坐标轴对象包含3颤类型的对象,补丁,线。

指定杨氏模量、泊松比和质量密度。所需的质量密度值建模引力效应。

structuralProperties (structuralModel“YoungsModulus”210年e3,“PoissonsRatio”,0.3,“MassDensity”2.7 e-6);

指定的重力负载梁。

structuralBodyLoad (structuralModel“GravitationalAcceleration”,(0,0,-9.8])
ans = BodyLoadAssignment属性:RegionType:“细胞”RegionID: 1 GravitationalAcceleration: x1双[3]AngularVelocity:温度:[][]步伐:标签:[][]

分析与径向压缩中心旋转的圆盘压配合。内部磁盘半径是0.05,和外半径是0.2。磁盘的厚度是0.05的干涉配合50 e-6。对于这个分析,简化二维模型的三维轴对称模型。

创建一个静态结构分析模型求解轴对称问题。

structuralmodel = createpde (“结构性”,“static-axisymmetric”);

二维矩形带的模型x维度延伸从中心到外表面,和的y维度延伸超过磁盘的高度。创建几何通过指定的坐标加沙地带的四个角。对于轴对称模型,工具箱假设转动轴是垂直轴穿过r= 0,相当于x= 0。

g = decsg ([3 4 0.05 0.2 0.2 0.05 -0.025 -0.025 0.025 0.025]”);

包括几何模型中。

geometryFromEdges (structuralmodel g);

画出几何边缘和顶点标签。

图pdegplot (structuralmodel,“EdgeLabels”,“上”,“VertexLabels”,“上”0.3)xlim ([0]) ylim ([-0.05 - 0.05])

图包含一个坐标轴对象。坐标轴对象包含9线类型的对象,文本。

指定杨氏模量、泊松比和质量密度。

structuralProperties (structuralmodel“YoungsModulus”210 e9,“PoissonsRatio”,0.28,“MassDensity”,7700);

应用离心加载磁盘的旋转。假设磁盘旋转104.7 rad / s。

structuralBodyLoad (structuralmodel“AngularVelocity”,104.7);

应用中心的径向位移模型压配合的磁盘。

structuralBC (structuralmodel“边缘”4“RDisplacement”,50 e-6);

修复上的一个点中心的轴向位移,防止刚体运动。

structuralBC (structuralmodel“顶点”,1“ZDisplacement”,0);

生成一个网格。

generateMesh (structuralmodel);

解决模型。

structuralresults =解决(structuralmodel);

磁盘的径向位移。

图pdeplot (structuralmodel,“XYData”structuralresults.Displacement.ur,“ColorMap”,“喷气机”)轴平等的xlim (0.3 [0]) ylim ([-0.05 - 0.05])

图包含一个坐标轴对象。坐标轴对象包含一个类型的对象的补丁。

情节圆周(篮球)压力。

图pdeplot (structuralmodel,“XYData”structuralresults.Stress.sh,“ColorMap”,“喷气机”)轴平等的xlim (0.3 [0]) ylim ([-0.05 - 0.05])

图包含一个坐标轴对象。坐标轴对象包含一个类型的对象的补丁。

指定一个恒定的温度上升的热双金属悬臂梁的应力分析。

创建一个静态结构模型。

structuralmodel = createpde (“结构性”,“static-solid”);

创建和绘制几何。

通用= multicuboid (0.5, 0.04, (0.03, 0.03),“Zoffset”[0,0.03]);structuralmodel。几何=通用;pdegplot (structuralmodel“CellLabels”,“上”)

图包含一个坐标轴对象。坐标轴对象包含3颤类型的对象,补丁,线。

设置参考温度。这个温度对应于零的状态模型的热应力。

structuralmodel.ReferenceTemperature= 20
structuralmodel = structuralmodel属性:AnalysisType:“static-solid”几何:[1 x1 DiscreteGeometry] MaterialProperties: [] BodyLoads: [] BoundaryConditions: [] ReferenceTemperature: 20 SuperelementInterfaces:[]网:[]SolverOptions: [1 x1 pde.PDESolverOptions]

应用作为一个结构体负载恒定的温度。

structuralBodyLoad (structuralmodel“温度”,300)
ans = BodyLoadAssignment属性:RegionType:“细胞”RegionID: [1 - 2] GravitationalAcceleration: [] AngularVelocity:[]温度:300步伐:[]标签:[]

指定一个热负荷使用解决方案从一个稳态热分析在同一几何和网格。

稳态热分析模型

创建一个稳态热模型。

thermalmodel = createpde (“热”,“稳态”);

创建和绘制几何。

通用= multicuboid (0.5, 0.1, 0.05);thermalmodel。几何=通用;pdegplot (thermalmodel“FaceLabels”,“上”,“FaceAlpha”,0.5)

图包含一个坐标轴对象。坐标轴对象包含3颤类型的对象,补丁,线。

生成一个网格。

generateMesh (thermalmodel);

指定材料的导热系数。

thermalProperties (thermalmodel“ThermalConductivity”5 e - 3);

指定温度恒定在梁上的左右结束。

thermalBC (thermalmodel“面子”3,“温度”,100);thermalBC (thermalmodel“面子”5,“温度”,0);

指定热源在整个几何。

internalHeatSource (thermalmodel 10);

解决模型。

thermalresults =解决(thermalmodel)
thermalresults = SteadyStateThermalResults属性:温度:x1双[3870]XGradients: x1双[3870]YGradients: x1双[3870]ZGradients: x1双[3870]网:[1 x1 FEMesh]

绘制温度分布。

pdeplot3D (thermalmodel“ColorMapData”thermalresults.Temperature)

静态结构分析与热负荷

创建一个静态结构模型。

structuralmodel = createpde (“结构性”,“static-solid”);

包括热模型的几何一样。

structuralmodel。几何=通用;

应用热模型分析的解决方案作为一个身体负荷的结构模型。

structuralBodyLoad (structuralmodel“温度”thermalresults)
ans = BodyLoadAssignment属性:RegionType:“细胞”RegionID: 1 GravitationalAcceleration: [] AngularVelocity:[]温度:[1 x1 pde。SteadyStateThermalResults]步伐:[]标签:[]

指定一个热负荷使用解决方案从一个瞬态热分析在同一几何和网格。

瞬态热模型分析

创建一个瞬态热模型。

thermalmodel = createpde (“热”,“瞬态”);

创建和绘制几何。

通用= multicuboid (0.5, 0.1, 0.05);thermalmodel。几何=通用;pdegplot (thermalmodel“FaceLabels”,“上”,“FaceAlpha”,0.5)

图包含一个坐标轴对象。坐标轴对象包含3颤类型的对象,补丁,线。

生成一个网格。

generateMesh (thermalmodel);

指定材料的热性能。

thermalProperties (thermalmodel“ThermalConductivity”,5 e - 3,“MassDensity”2.7 * 10 ^ (6),“SpecificHeat”10);

指定的恒定温度在梁左右结束。

thermalBC (thermalmodel“面子”3,“温度”,100);thermalBC (thermalmodel“面子”5,“温度”,0);

指定热源在整个几何。

internalHeatSource (thermalmodel 10);

设置初始温度。

thermalIC (thermalmodel 0);

解决模型。

tlist = [0:1e-4:2e-4];thermalresults =解决(thermalmodel tlist)
thermalresults = TransientThermalResults属性:温度:[3870 x3双]SolutionTimes: [0 1.0000 2.0000 e-04 e-04] XGradients: [3870 x3双]YGradients: [3870 x3双]ZGradients: [3870 x3双]网:[1 x1 FEMesh]

每个时间步的温度分布。

n = 1:元素个数(thermalresults.SolutionTimes)图pdeplot3D (thermalmodel,“ColorMapData”,thermalresults.Temperature (:, n))标题([“时间= "num2str (tlist (n)))) caxis (100 [0])结束

静态结构分析与热负荷

创建一个静态结构模型。

structuralmodel = createpde (“结构性”,“static-solid”);

包括热模型的几何一样。

structuralmodel。几何=通用;

应用热模型分析的解决方案作为一个身体负荷的结构模型。默认情况下,structuralBodyLoad最后一次使用热模型解决方案的步骤。

structuralBodyLoad (structuralmodel“温度”,thermalresults);

您还可以指定您想要使用的时间步骤。例如,应用热模型解决方案第二次步骤的身体负荷结构模型。

structuralBodyLoad (structuralmodel“温度”thermalresults,“步伐”2);

输入参数

全部折叠

静态或瞬态结构模型,指定为一个StructuralModel对象。包含几何模型、网格、结构性能的材料,身体负荷,边界载荷和边界条件。

例子:structuralmodel = createpde(“结构”、“transient-solid”)

重力加速度,指定为一个数值向量。GAval必须指定单位一致的几何和材料特性。

例子:structuralBodyLoad (structuralmodel“GravitationalAcceleration”, [0, 0, -9.8])

数据类型:

角速度的轴对称模型,指定为一个正数。ω必须指定单位一致的几何和材料特性。

对于轴对称模型,工具箱假设转动轴是垂直轴穿过r= 0,相当于x= 0。

例子:structuralBodyLoad (structuralmodel AngularVelocity》2.3)

数据类型:

恒定的热负荷在一个静态结构模型,指定为一个实数。Tval必须指定单位一致的几何和材料特性。

例子:structuralBodyLoad (structuralmodel“温度”,300年)

数据类型:

热模型解决方案应用作为一个身体负荷静态结构模型,指定为一个SteadyStateThermalResultsTransientThermalResults对象。创建Tresults通过使用解决

例子:Tresults =解决(thermalmodel);structuralBodyLoad (structuralmodel,“温度”,Tresults)

时间指数,指定为一个正整数。

例子:Tresults structuralBodyLoad (structuralmodel“温度”,“步伐”,21)

数据类型:

标签对结构的身体负荷,指定为一个特征向量或一个字符串。

数据类型:字符|字符串

输出参数

全部折叠

句柄的身体负荷,作为一个返回BodyLoadAssignment对象。看到BodyLoadAssignment属性

版本历史

介绍了R2017b

全部展开