主要内容

createpde

创建模型

描述

例子

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

例子

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

例子

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

例子

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

例子

全部折叠

为解决一个实体(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(“热”,“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 =电磁学模型属性:分析类型:“磁力-轴对称”几何:[]材料属性:[]来源:[]边界条件:[]真空渗透性:[]网格:[]

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

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”建立了用于静力分析的轴对称(二维)结构模型。

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

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

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

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

  • “transient-axisymmetric”建立了用于瞬态分析的轴对称(二维)结构模型。

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

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

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

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

  • “modal-axisymmetric”建立了用于模态分析的轴对称(二维)结构模型。

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

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

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

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

  • “frequency-axisymmetric”建立了用于频响分析的轴对称(二维)结构模型。

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

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

数据类型:字符|字符串

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

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

  • 瞬态的创建瞬态热模型。

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

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

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

例子:Model = createpde('thermal','transient')

数据类型:字符|字符串

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

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

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

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

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

例子:Model = createpde('电磁','静电')

数据类型:字符|字符串

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

例子:Model = createpde

例子:模型= createpde(3);

数据类型:

输出参数

全部折叠

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

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

热模型,返回为ThermalModel对象。

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

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

例子:Thermalmodel = createpde('电磁','静磁')

PDE模型,返回为PDEModel对象。

例子:模型= createpde(2)

在R2015a中引入