找回密码
 注册
Simdroid-非首页
楼主: 北极熊甲

[电磁场] ---欢迎您发表自己的心得和建议,共建ANSYS电磁FAQ---暂时关闭,整理中

[复制链接]
 楼主| 发表于 2007-5-17 13:11:38 | 显示全部楼层 来自 黑龙江哈尔滨
如何做3D的感应加热?

1.3D电磁单元97还是117?
电路耦合用97了,117只能做些电路和导体的连接。用了电路单元,单元刚度矩阵将是非对称的,求解很费时。
有铁与空气的接触面,还想用97怎么办--看第一贴。

2.选好单元,开始建模型。边界前面也说过了。

3.电磁分析求解完成后,热分析的求解

1)把3D电磁单元转换成70 or 90
2)赋予热材料属性
3)施加热边界条件
4)LDREAD读入电磁熱荷载
5)设置求解选项,求解(最好KBC,1熱荷载)




注意:好多时候是先建立一个rz面内的截面,再旋转,但是这样的话会产生wedge单元。所以建议使用建立theta r面的截面,沿着z向extrude。

对于荷载是加载在了实导体上,即:肌肤效应得考虑。好像LDREAD并不能考虑到这个电流的重分布,而导致的热分析的不同。




[ 本帖最后由 北极熊甲 于 2007-5-19 10:26 编辑 ]
回复 不支持

使用道具 举报

 楼主| 发表于 2007-5-17 13:11:44 | 显示全部楼层 来自 黑龙江哈尔滨
Simdroid开发平台
占位
回复 不支持

使用道具 举报

 楼主| 发表于 2007-5-17 13:11:49 | 显示全部楼层 来自 黑龙江哈尔滨
占位
回复 不支持

使用道具 举报

 楼主| 发表于 2007-5-19 10:54:59 | 显示全部楼层 来自 黑龙江哈尔滨
对于谐波分析,如何动画显示HUSM或BSUM呢?

ANHARM

Utility Menu > PlotCtrls > Animate > Time-Harmonic...

下面是个谐波分析的动画(help中的例子),有兴趣的可以看看

下面是Steve Groothuis (Micron Technology, Inc.)写的一个宏


  1. /com, Macro to create animation sequence of a harmonic analysis
  2. /com, Arg1 = 0 (H-field animation)
  3. /com, Arg1 = 1 (EF-field animation)

  4. !*ask,ssnum,The substep# you wish to animate,1
  5. !*ask,n,The number of frames per cycle,15
  6. ssnum=1
  7. n=15

  8. /post1

  9. *afun,deg
  10. lcdef,1,1,ssnum,0 ! real
  11. lcdef,2,1,ssnum,1 ! imaginary

  12. /com, *** get max and min values for contour intervals ***
  13. /graphics,full
  14. lcase,1
  15. nsort,h,sum
  16. *get,hremx,sort,,max
  17. *get,hremn,sort,,min
  18. nsort,ef,sum
  19. *get,efremx,sort,,max
  20. *get,efremn,sort,,min
  21. lcase,2
  22. nsort,h,sum
  23. *get,himmx,sort,,max
  24. *get,himmn,sort,,min
  25. nsort,ef,sum
  26. *get,efimmx,sort,,max
  27. *get,efimmn,sort,,min

  28. *if,hremx,gt,himmx,then
  29. hmax=hremx
  30. *else
  31. hmax=himmx
  32. *endif
  33. *if,hremn,lt,himmn,then
  34. hmin=hremn
  35. *else
  36. hmin=himmn
  37. *endif
  38. *if,efremx,gt,efimmx,then
  39. efmax=efremx
  40. *else
  41. efmax=efimmx
  42. *endif
  43. *if,efremn,lt,efimmn,then
  44. efmin=efremn
  45. *else
  46. efmin=efimmn
  47. *endif

  48. /graphics,power

  49. /com, *** Put graphics commands here to create plots ***

  50. /pbc,all,0
  51. /ctype,1
  52. /view,,1,1,1
  53. /plopts,minm,off
  54. /triad,off
  55. /gres,plot,gsav
  56. /expand,2,rect,half,,0.00001
  57. /dev,font,1,helvetica,medium,r,16,,,,,

  58. /com, *** Create looping of displays in time ***

  59. /seg,dele
  60. /seg,multi
  61. *do,theta,0,360-360/n,360/n
  62. real=cos(theta)
  63. imag=-sin(theta)
  64. lcfact,1,real
  65. lcfact,2,imag
  66. *if,real,eq,0,then
  67. lcfact,1,1e-10
  68. *endif
  69. *if,imag,eq,0,then
  70. lcfact,2,1e-10
  71. *endif
  72. lcase,1
  73. lcoper,add,2

  74. *if,arg1,eq,0,then
  75. /title, Contours of Magnetic Field Strength
  76. hinc=(hmax-hmin)/9*.05
  77. /contour,all,9,hmin,,hmax+hinc
  78. plnsol,h,sum
  79. *elseif,arg1,eq,1,then
  80. /title, Contours of Electric Field Strength
  81. efinc=(efmax-efmin)/9*.05
  82. /contour,all,9,efmin,,efmax+efinc
  83. plnsol,ef,sum
  84. *endif
  85. *enddo

  86. /seg,off
  87. !*ask,ncycles,The number of full period cycles,10
  88. !*ask,delay,Delay between successive frames,0.1
  89. ncycles=10
  90. delay=0.1

  91. anim,ncycles,1,delay
  92. /anfile,save,harm1,avi
  93. finish
复制代码


[ 本帖最后由 北极熊甲 于 2007-5-19 11:09 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2007-5-22 19:55:02 | 显示全部楼层 来自 黑龙江哈尔滨
习惯了一个人自言自语了,呵呵

电磁热分析应该看看的一本书
下面是有:
1)传热学课本(高教出版社,杨文铭,陶文铨两位前辈编(向他们致敬! ))。
2)上海交大 传热学精品课程
http://mec.sjtu.edu.cn:270/res/textbook.htm
回复 不支持

使用道具 举报

 楼主| 发表于 2007-6-10 11:00:44 | 显示全部楼层 来自 黑龙江哈尔滨
XANSYS上的一个不收敛的热电问题,希望能给大家一些启示

Subject: convergence problem of thermoelectric contact analysis
Author: Yongbing, Li
Date: 2007-04-17 14:41:02

Dear all,

I am tuning a thermoelectric coupled resistance spot welding model through changing the electric contact resistance. There are two contact surfaces in the model. In order to achieve the required weld nugget size, the electric contact conductivity (ECC) should be large enough. But when I increase the ECC to some extent, the analysis will not converge. When I check the analysis result, the obtained nugget size is still too small, that means I have to increase the ECC.

The element types and solutioin options are as follows:

et,1,67,,,1 !2-D Thermal-Electric
et,2,169 !2-D target
et,3,171 !2-D contact
keyopt,3,1,4 !therm-electric DOFs for current conduction contact
!
/solu
alls
antype,4
TRNOPT,FULL
DELTIM,0.2/400,0.2/800,0.2/40
lnsrch,1
!
neqit,100
...
...

Please give me a hand. Thank you very much.

Best Regards,

Yongbing
________________
College of Engineering
University of Michigan

3001 EECS Building
2350 Hayward Street
Ann Arbor, MI 48109
USA

Subject: Re: convergence problem of thermoelectric contact analysis
Author: Nimish Jagtap
Date: 2007-04-17 21:01:45


Yongbing,

Are you receiving any error/warning messages related to the convergence?
They may help to locate the problem. Otherwise the general remedy over
the convergence issue is to refine the mesh and/or use very small load
steps. Recently I faced a convergence issue & I tried using a minimum
time step as small as 10E-10. This change helped my solution converge.


This may be helpful to you: http://ansys.belcan.com/support/faq/#7.
(What's the best way to debug a non-linear analysis that is not
converging?)


With Regards,
Nimish Jagtap
Kalsi Engineering
Sugar Land, TX
281-240-6500
281-240-0255 (fax)
nimish_at_kalsi.com


[ 本帖最后由 北极熊甲 于 2007-6-10 11:05 编辑 ]
回复 不支持

使用道具 举报

 楼主| 发表于 2007-6-10 11:08:09 | 显示全部楼层 来自 黑龙江哈尔滨
Subject: Re: convergence problem of thermoelectric contact
Author: Yongbing, Li
Date: 2007-04-17 23:44:46

Hi Nimish,

Thank you very much for "the best way to debug...", I am going to check and try them. Hope one of them can help me out. Currently, my time step is 1e-5. I had thought that is small enough. The error everytime I got is as follows:

*** ERROR *** CP = 398.603 TIME= 23:11:19
Solution not converged at time 9.5E-03 (load step 19 substep 1).
Run terminated.

The reason I think should be the extremely high heat generation at the contact surfaces. But that surely happens in the real world.

Thanks again.

Yongbing
U of M




Yongbing, Li


回复 不支持

使用道具 举报

 楼主| 发表于 2007-6-10 11:11:26 | 显示全部楼层 来自 黑龙江哈尔滨
Subject: Re: convergence problem of thermoelectric contact
Author: Yongbing, Li
Date: 2007-04-19 03:10:39


Hi Nimish,

After decreasing the time step to 1e-8, I the script now run very well. Thank you very much.

Best,
Yongbing




Yongbing, Li


[ 本帖最后由 北极熊甲 于 2007-6-10 11:16 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2007-6-12 10:02:33 | 显示全部楼层 来自 黑龙江哈尔滨
非线性分析时的几根残差曲线代表什么含义?
http://www.simwe.com/forum/thread-757787-1-7.html

[ 本帖最后由 北极熊甲 于 2007-6-12 10:03 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2007-6-23 17:31:29 | 显示全部楼层 来自 黑龙江哈尔滨
一些电磁材料等资料
http://www.emcad.com/download.htm
回复 不支持

使用道具 举报

 楼主| 发表于 2007-6-25 18:16:39 | 显示全部楼层 来自 黑龙江哈尔滨
关于共能和储能的问题
http://www.simwe.com/forum/thread-776882-1-1.html
回复 不支持

使用道具 举报

 楼主| 发表于 2007-7-4 19:45:36 | 显示全部楼层 来自 黑龙江哈尔滨
标量法(MSP)分析中,如何得到力或力拒
参看下面的宏:
! MACRO FILE trq_MSP.mac CALCULATES TORQUES ON
! OBJECTS IN 3D MAGNETIC SCALAR POTENTIAL (MSP)
! ANALYSES. THE VALUES ABOUT THE GLOBAL Z AXIS
! ARE REPORTED IN A GUI MESSAGE BOX AND A PLOT
! OF EITHER MXWF OR MVDI FORCES (EDIT TO SUIT)
! IS PRODUCED. TORQUES DUE TO BOTH MXWF AND
! MVDI FORCES ARE REPORTED.
! BILL BULAT 12/14/99
! CSI
! 5962 LAPLACE COURT SUITE 100
! CARLSBAD CA 92008
! (760)431-4815 X108
! (760)431-4824 (FAX)
! bill.bulat@csi-ansys.com

===================
最好用PSPAD或TXTPAD等带ansys语法高粱的文本编辑器代开,比较好读些。:lol
===================

[ 本帖最后由 北极熊甲 于 2007-7-4 20:05 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2007-7-4 19:56:37 | 显示全部楼层 来自 黑龙江哈尔滨
如何线圈上的感生电动势?
http://www.simwe.com/forum/thread-786696-1-2.html
回复 不支持

使用道具 举报

 楼主| 发表于 2007-7-6 22:35:10 | 显示全部楼层 来自 黑龙江哈尔滨
每天进步一点点

2 分钟就能看完,保证你收获还是不小的。因为这些设置是通用的,电磁分析,结构分析都一样。

1——————关于非线性

一些关键图片: 切向刚度 收敛依据 线性搜索 自由度预测 自适应下降 时间积分效应

[ 本帖最后由 北极熊甲 于 2007-7-6 23:01 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2007-7-11 11:19:04 | 显示全部楼层 来自 黑龙江哈尔滨
几个低频电磁软件的对比(准备阶段,给自己挤出一点时间,让我们一起来做点事)

ANSYS
==============


Magnet
==============














Ansoft maxwell
=================================================
1 -------------------------------------------------------------------------------------------------------------------------------------------------
请问:在ansoft里的macro里的内容能不能像ansys作为命令流的command prompt
因为以前习惯了在ansys里,将已经整理好的命令流复制粘贴到ansys软件运行窗口的command prompt,我不知道ansoft是不是也有这个功能?仿真分析,有限元,模拟,计算,力学,航空,航天,ANSYS,MSC,ABAQUS,ALGOR,Adina,COMSOL,FEMLAB,Matlab,Fluent_KK`'g
E

因为我在ansoft macro edit里对立面的操作整理了一番,因为有时不想太麻烦,比如说我想改动某一块程序的内容不必undo或者其他复杂的操作,而直接把macro里的内容先ansys软件里的命令流复制粘贴来达到目的。
元,模拟,计算,力学,航空,航天,ANSYS,MSC,ABAQUS,ALGOR,Adina,COMSOL,FEMLAB,Matlab,Fluent,CFD,CAE,CAD,CAM]#ZZy:U"i
af8V

不知道各位大侠有没有尝试过?

3D有完整的宏命令,可以控制整个从建模到后处理的仿真过程,2D只有后处理宏,在使用宏的地方,按Ctrl+F4可以出现command prompt,但是不能像ansys一样全部重头再来,不过可以录制整个过程,修改其中数据后,再执行。如果编制了整个过程的宏,可以在项目控制窗口直接Ctrl+F3选择要执行的宏文件,即可完成整个仿真过程。

原帖由hottomson发表于http://www.simwe.com/forum/thread-786957-1-1.html,非常感谢!
1 -------------------------------------------------------------------------------------------------------------------------------------------------

[ 本帖最后由 北极熊甲 于 2007-7-26 10:22 编辑 ]
回复 不支持

使用道具 举报

 楼主| 发表于 2007-7-20 00:06:15 | 显示全部楼层 来自 黑龙江哈尔滨
占位
回复 不支持

使用道具 举报

 楼主| 发表于 2007-7-24 22:43:29 | 显示全部楼层 来自 黑龙江哈尔滨
http://www.simwe.com/forum/thread-735211-1

*** ERROR ***                           CP =     551.828   TIME= 16:52:25
Input/Output error on unit = 20.  Possible full disk.                  

一个同样的非线性分析问题,放在其它电脑上可以正常的运行, 而在某些电脑上却不可以,疑惑的是这些出问题的电脑就是内存大了些(512M),而运行正常的电脑配置才256M的却可以计算。为什么呢?




我认为不是这样解释的。

xansys上的解释很合理:

原因:
Not only does ANSYS write large temp files, but it leaves them there for
you to ponder until saturation of the disk. If you have been doing many
analyses
, you can likely regain A LOT of space by seeking out and
deleting these files
.

解决办法
1) 求解时调用Bram Weisman 写的两个宏文件(一个bat,一个就是ansys宏)清理零时文件
  1. Caution: I do not recommend running this in the ROOT of any drive that
  2. contains anything other than ANSYS jobs. For example, since C: is full
  3. of other programs including the O.S. and I cannot guarantee that other
  4. programs don't use some of these extensions, do not run it in the ROOT
  5. of C:.

  6. *******Begin Tempdele.bat********
  7. REM tempdele.bat
  8. REM Deletes ANSYS temporary or unecessary files from the current folder
  9. (directory)
  10. REM and all subfolders.
  11. REM By Bram Weisman April 26, 2003. For ANSYS 7.0.
  12. REM Use at your own risk. I assume no liability for damages due to use
  13. or
  14. REM misuse of this batch file.
  15. REM
  16. REM The swith /q enables the macro to proceed without user interation.
  17. REM There will be no confirm delete prompts.
  18. REM The /s allows searching of subdirectories
  19. REM Be sure you understand this macro before you execute it.

  20. rem !Element Matrices
  21. del *.emat* /q /s
  22. rem !Element Rotated Matrices
  23. del *.erot* /q /s
  24. rem !Element saved data ESAV files created by nonlinear analyses
  25. del *.esav* /q /s
  26. rem !Assembled global stiffness and mass matrices
  27. del *.full* /q /s
  28. rem !Loading and boundary conditions of load steps (used for multiframe
  29. restart)
  30. del *.ldhi* /q /s
  31. rem !Element saved records, solution commands, and status for a single
  32. substep of a load step (used for multiframe restart)
  33. del *.r0* /q /s
  34. rem !Element saved records, solution commands, and status for a single
  35. substep of a load step (used for multiframe restart)
  36. del *.r1* /q /s
  37. rem !Sparse solver scratch files
  38. del *.LN* /q /s
  39. rem !Copy of ESAV file from last converged substep
  40. del *.osav* /q /s
  41. rem !Page file for ANSYS virtual memory (database space)
  42. del *.page* /q /s
  43. rem !Scratch file for PCG solver
  44. del *.pc* /q /s
  45. rem !Scratch file for Jacobi Conjugate Gradient solver
  46. del *.scr* /q /s
  47. rem !Scratch file from substructure generation pass
  48. del *.sscr* /q /s
  49. rem !DB Lock file
  50. del *.lock /q /s
  51. *******End Tempdele.bat********

  52. I also have an ANSYS macro file which deletes these files in the current
  53. ANSYS working folder

  54. ******Begin tempdele.mac************
  55. !tempdele.mac deletes ANSYS temporary or unecessary files
  56. /sys,del *.emat* /q !Element Matrices
  57. /sys,del *.erot* /q !Element Rotated Matrices
  58. /sys,del *.esav* /q !Element saved data ESAV files created by nonlinear
  59. analyses
  60. /sys,del *.full* /q !Assembled global stiffness and mass matrices
  61. /sys,del *.ldhi* /q !Loading and boundary conditions of load steps (used
  62. for multiframe restart)
  63. /sys,del *.r0* /q !Element saved records, solution commands, and status
  64. for a single substep of a load step (used for multiframe restart)
  65. /sys,del *.r1* /q !Element saved records, solution commands, and status
  66. for a single substep of a load step (used for multiframe restart)
  67. /sys,del *.LN* /q !Sparse solver scratch files
  68. /sys,del *.osav* /q !Copy of ESAV file from last converged substep
  69. /sys,del *.page* /q !Page file for ANSYS virtual memory (database space)
  70. /sys,del *.pc* /q !Scratch file for PCG solver
  71. /sys,del *.scr* /q !Scratch file for Jacobi Conjugate Gradient solver
  72. /sys,del *.sscr* /q !Scratch file from substructure generation pass
  73. /sys,del *.lock /q !DB Lock file
  74. ******End tempdele.mac************

  75. Again, understand these before you use them, I assume no responsibility
  76. for the consequences
复制代码
2)换用PCG求解器(这个用硬盘少,内存多)
-1.html


[ 本帖最后由 北极熊甲 于 2007-7-24 22:45 编辑 ]
回复 不支持

使用道具 举报

 楼主| 发表于 2007-8-10 14:24:45 | 显示全部楼层 来自 黑龙江哈尔滨
在ANSYS中如何启动其他程序?用/sys。 下面给出了具体办法。
http://www.simwe.com/forum/thread-706082-1-1.html
回复 不支持

使用道具 举报

 楼主| 发表于 2007-8-10 15:16:35 | 显示全部楼层 来自 黑龙江哈尔滨
若用电路124单元,可建立空载外电路,则可以在POST26中直接得到EMF.
======
等待验证
回复 不支持

使用道具 举报

 楼主| 发表于 2007-8-18 20:06:25 | 显示全部楼层 来自 黑龙江哈尔滨
电机内的电磁场(第二版) 469页 来自CAE联盟
共11个压缩包

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-3-28 19:57 , Processed in 0.059931 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表