主要内容

createpde

创建模型

描述

例子

structuralmodel= createpde(“结构”,StructuralAnalysisType返回指定分析类型的结构分析模型。这个模型可以让你解决小应变线性弹性问题。

例子

thermalmodel= createpde(“热”,ThermalAnalysisType返回指定分析类型的热分析模型。

例子

emagmodel= createpde(“电磁”,ElectromagneticAnalysisType返回指定分析类型的电磁分析模型。

例子

模型= createpde (N的系统返回PDE模型对象N方程。一个完整的PDE模型对象包含您想要解决的问题的描述,包括几何、网格和边界条件。

例子

模型= createpde返回一个方程(标量PDE)的PDE模型对象。这个语法等价于模型= createpde(1)而且Model = createpde()

例子

全部折叠

为解决一个实体(3-D)问题创建一个静态结构模型。

staticstructure = createpde(“结构性”“static-solid”
staticStructural = StructuralModel with properties: AnalysisType: "static-solid" Geometry: [] MaterialProperties: [] BodyLoads: [] boundary yconditions: [] ReferenceTemperature: [] SuperelementInterfaces: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

创建一个瞬态结构模型来解决平面应力(二维)问题。

transientStructural = createpde(“结构性”“transient-planestress”
transientStructural = StructuralModel with properties: AnalysisType: "transient-planestress" Geometry: [] MaterialProperties: [] BodyLoads: [] BoundaryConditions: [] DampingModels: [] InitialConditions: [] SuperelementInterfaces: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

为平面应变(二维)问题的模态分析创建结构模型。

modalStructural = createpde(“结构性”“modal-planestrain”
modalStructural = StructuralModel with properties: AnalysisType: "modal-planestrain" Geometry: [] MaterialProperties: [] boundary yconditions: [] SuperelementInterfaces: [] Mesh: [] SolverOptions: [1x1 pde。PDESolverOptions]

建立一个轴对称问题频响分析的结构模型。轴对称模型利用绕旋转轴的对称性将三维问题简化为二维问题。

frStructural = createpde(“结构性”“frequency-axisymmetric”
frStructural = StructuralModel with properties: AnalysisType: "frequency-轴对称" Geometry: [] MaterialProperties: [] BodyLoads: [] BoundaryConditions: [] DampingModels: [] SuperelementInterfaces: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

创建稳态热分析模型。

Thermalmodel = createpde(“热”“稳态”
thermalmodel = thermalmodel with properties: AnalysisType: "steadystate" Geometry: [] MaterialProperties: [] HeatSources: [] StefanBoltzmannConstant: [] BoundaryConditions: [] InitialConditions: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

创建瞬态热分析模型。

Thermalmodel = createpde(“热”“瞬态”
thermalmodel = thermalmodel with properties: AnalysisType: "transient" Geometry: [] MaterialProperties: [] HeatSources: [] StefanBoltzmannConstant: [] BoundaryConditions: [] InitialConditions: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

创建模态热分析模型。

Thermalmodel = createpde(“热”“模态”
thermalmodel = thermalmodel with properties: AnalysisType: "modal" Geometry: [] MaterialProperties: [] HeatSources: [] StefanBoltzmannConstant: [] BoundaryConditions: [] InitialConditions: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

建立求解轴对称问题的瞬态热模型。轴对称模型利用绕旋转轴的对称性将三维问题简化为二维问题。

Thermalmodel = createpde(“热”“transient-axisymmetric”
thermalmodel = thermalmodel with properties: AnalysisType: "transient-轴对称" Geometry: [] MaterialProperties: [] HeatSources: [] StefanBoltzmannConstant: [] BoundaryConditions: [] InitialConditions: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

创建静电分析模型。

emagE = createpde(“电磁”“静电”
emagE = ElectromagneticModel with properties: AnalysisType:“静电”Geometry: [] MaterialProperties:[]来源:[]边界条件:[]VacuumPermittivity: [] Mesh: []

创建一个用于静磁分析的轴对称模型。轴对称模型利用绕旋转轴的对称性将三维问题简化为二维问题。

emagMA = createpde(“电磁”“magnetostatic-axisymmetric”
emagMA =电磁模型属性:分析类型:“磁力静态轴对称”几何:[]材料属性:[]来源:[]边界条件:[]真空渗透率:[]网格:[]

创建谐波分析模型。

emagH = createpde(“电磁”“谐”
emagH = ElectromagneticModel with properties: AnalysisType:“harmonic”Geometry: [] MaterialProperties:[]来源:[]边界条件:[]VacuumPermittivity: [] VacuumPermeability: [] Mesh: [] FieldType:“electric”

创建直流传导分析模型。

emagDC = createpde(“电磁”“传导”
emagDC =电磁模型属性:分析类型:“传导”几何:[]材料属性:[]边界条件:[]网格:[]

为一般线性或非线性单(标量)偏微分方程创建一个模型。

Model = createpde
model = PDEModel with properties: PDESystemSize: 1 IsTimeDependent: 0 Geometry: [] EquationCoefficients: [] BoundaryConditions: [] InitialConditions: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

创建一个由三个方程组成的系统的偏微分方程模型。

模型= createpde(3)
model = PDEModel with properties: PDESystemSize: 3 IsTimeDependent: 0 Geometry: [] EquationCoefficients: [] BoundaryConditions: [] InitialConditions: [] Mesh: [] SolverOptions: [1x1 pde.]PDESolverOptions]

输入参数

全部折叠

结构分析的类型,指定为下列值之一。

对于静态分析,使用这些值:

  • “static-solid”-为实体(3-D)问题的静态分析创建结构模型。

  • “static-planestress”-为平面应力问题的静态分析创建结构模型。

  • “static-planestrain”-为平面应变问题的静态分析创建结构模型。

  • “static-axisymmetric”-创建用于静态分析的轴对称(2-D)结构模型。

对于瞬态分析,使用这些值:

  • “transient-solid”-为实体(3-D)问题的瞬态分析创建结构模型。

  • “transient-planestress”-为平面应力问题的瞬态分析创建结构模型。

  • “transient-planestrain”-为平面应变问题的瞬态分析创建结构模型。

  • “transient-axisymmetric”-创建用于瞬态分析的轴对称(2-D)结构模型。

对于模态分析,使用这些值:

  • “modal-solid”-为实体(3-D)问题的模态分析创建结构模型。

  • “modal-planestress”-为平面应力问题的模态分析创建结构模型。

  • “modal-planestrain”-为平面应变问题的模态分析创建结构模型。

  • “modal-axisymmetric”-创建用于模态分析的轴对称(2-D)结构模型。

对于频响分析,使用这些值:

  • “frequency-solid”-为固体(3-D)问题的频响分析创建结构模型。

  • “frequency-planestress”-为平面应力问题的频响分析建立结构模型。

  • “frequency-planestrain”-为平面应变问题的频响分析建立结构模型。

  • “frequency-axisymmetric”-创建用于频响分析的轴对称(2-D)结构模型。

对于轴对称模型,工具箱假设旋转轴是通过的垂直轴r= 0。

例子:Model = createpde("structural","static-solid")

数据类型:字符|字符串

热分析类型,指定为以下值之一:

  • “稳态”-创建稳态热模型。如果您没有指定ThermalAnalysisType对于热模型,createpde创建一个稳态模型。

  • “steadystate-axisymmetric”-创建用于稳态分析的轴对称(2-D)热模型。

  • “瞬态”-创建瞬态热模型。

  • “transient-axisymmetric”-创建一个用于瞬态分析的轴对称(二维)热模型。

  • “模态”-为模态分析创建热模型。模态解决方案金宝搏官方网站使您能够通过使用降阶建模(ROM)技术加速瞬态热分析。

  • “modal-axisymmetric”创建一个用于模态分析的轴对称(2-D)热模型。

对于轴对称模型,工具箱假设旋转轴是通过的垂直轴r= 0。

例子:模型= createpde("thermal","transient")

数据类型:字符|字符串

电磁分析类型,指定为以下值之一:

  • “静电”-创建静电分析模型。

  • “静磁”-创建静磁分析模型。

  • “谐”创建谐波电磁分析模型。

  • “传导”-创建直流传导分析模型。

  • “electrostatic-axisymmetric”-创建用于静电分析的轴对称(2-D)模型。

  • “magnetostatic-axisymmetric”-创建用于静磁分析的轴对称(2-D)模型。

  • “harmonic-axisymmetric”-创建用于谐波电磁分析的轴对称(二维)模型。

对于轴对称模型,工具箱假设旋转轴是通过的垂直轴r= 0。

例子:模型= createpde("电磁","静电")

数据类型:字符|字符串

方程数,用正整数表示。您不需要指定N对于一个模型N = 1

例子:Model = createpde

例子:模型= createpde(3);

数据类型:

输出参数

全部折叠

结构模型,返回为StructuralModel对象。

例子:Structuralmodel = createpde("structural","static-solid")

热模型,返回为ThermalModel对象。

例子:Thermalmodel = createpde("thermal","transient")

电磁模型,返回为ElectromagneticModel对象。

例子:Emagmodel = createpde("电磁","静磁")

PDE模型,返回为PDEModel对象。

例子:模型= createpde(2)

版本历史

在R2015a中引入

全部展开