- 积分
- 1609
- 回帖
- 0
- 西莫币
-
- 贡献
-
- 威望
-
- 存款
-
- 阅读权限
- 35
- 最后登录
- 1970-1-1
该用户从未签到
|
发表于 2017-1-13 23:42
|
显示全部楼层
来自: 加拿大
谢谢楼主的解释,现在大致明白了。 这里还有点问题想请教下: 您所说的材料参数化是什么意思?我猜想您说的是当温度变化时,材料属性随之变化,从而影响到电磁分析的损耗计算。如果是那样,您可以在MagNet中定义多个温度下的材料属性,比如常见的电导率,永磁铁的相对磁导率。至于steel 的磁化曲线,个人认为受温度影响不大。一旦定义了不同温度下的材料属性,coupling仿真时是会考虑材料属性变化的。如果上述不是您所需要的,请再解释下。另外,还有个方法叫Material property override ,如下是个简单的脚本例子,具体API使用可能还需查看文档。
'Clear the existing property field
Call getDocument.setSolverPropertyField("your component", infoSolverPropertyFieldIdTemperature)
' Override the Temperature property on the component.
Set Mesh=getDocument().getSolution().getMesh(SolutionId, "your component")
Set Field= getDocument.getSolution().getSystemField(Mesh, "Temperature")
'Set the Temperature data for the "your component"
Call Field.getFieldData(ScalarData)
For i = 0 To ubound(scalarData)
ScalarData(i) = "your temperature"
Next
Call Field.setFieldData(ScalarData)
' call to override the temperature property on the component
Call getDocument.setSolverPropertyField(Field, infoSolverPropertyFieldIdTemperature) |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
评分
-
查看全部评分
|