「$MaterialStructure」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "== '''Format''' == $MaterialStructure ''shapetype par1 par2 par3 par4 par5 par6'' <font color=green>// where ''shape'' is an inte..." |
無編輯摘要 |
||
| 第29行: | 第29行: | ||
== '''Related commands''' == | == '''Related commands''' == | ||
: [[$NumberofObject]], [[$MaterialParameter]] | : [[$NumberofObject]], [[$MaterialParameter]] | ||
於 2018年7月11日 (三) 06:47 的修訂
Format
$MaterialStructure shapetype par1 par2 par3 par4 par5 par6 // where shape is an integer, and par1-6 are integers or floating points.
This function is to set up each structure in the simulation.
| Structure | shapetype | par1 | par2 | par3 | par4 | par5 | par6 |
| Sphere | 0 | x | y | z | r | 0 | 0 |
| Rectangular | 1 | x1 | y1 | z1 | x2 | y2 | z2 |
| Infinite Slab | 2 | dir. | x/y/z | thick. | 0 | 0 | 0 |
| Cylinder | 3 | dir. | x | y | z | r | h |
Example
$NumberofObject 2 $MaterialStructure 500
Then the program is going to run 500 time steps.