「$Deltaxyz」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "=='''Format'''== $Deltaxyz ''dx'' ''dy'' ''dz'' <font color=green>// where ''dx, dy, and dz'' are real numbers.</font> <font size=3>The functi..." |
|||
| (未顯示同一使用者於中間所作的 2 次修訂) | |||
| 第5行: | 第5行: | ||
''dz'' <font color=green>// where ''dx, dy, and dz'' are real numbers.</font> | ''dz'' <font color=green>// where ''dx, dy, and dz'' are real numbers.</font> | ||
<font size=3>The function defines the mesh size in x, y, and z directions. | <font size=3>The function defines the mesh size in x, y, and z directions.<br><br> | ||
<font size=3 color=red> | |||
'''NOTE 1'''<font color=black>: The priority of this function is above the function -- [[$CellNumber]], ''i.e.'', the program will abandons [[$CellNumber]] while using [[$Deltaxyz]].</font><br> | |||
'''NOTE 2'''<font color=black>: When using this function, since the position of the last grid can not be beyond the boundary we set, the position of last point may not be same as the function -- [[$SpaceRegion]]. (also due to the equivalent array size in 6 fields.) | |||
</font></font> | |||
=='''Example'''== | =='''Example'''== | ||
| 第14行: | 第19行: | ||
Thus, in each direction, the distance between two neighbor points is 1.0e-8 (m). | Thus, in each direction, the distance between two neighbor points is 1.0e-8 (m). | ||
== '''Related commands''' == | |||
: [[$SpaceRegion]], [[$CellNumber]], [[$Deltaxyz]] | |||
於 2019年12月16日 (一) 02:33 的最新修訂
Format
$Deltaxyz dx dy dz // where dx, dy, and dz are real numbers.
The function defines the mesh size in x, y, and z directions.
NOTE 1: The priority of this function is above the function -- $CellNumber, i.e., the program will abandons $CellNumber while using $Deltaxyz.
NOTE 2: When using this function, since the position of the last grid can not be beyond the boundary we set, the position of last point may not be same as the function -- $SpaceRegion. (also due to the equivalent array size in 6 fields.)
Example
$Deltaxyz 1.0e-8 1.0e-8 1.0e-8
Thus, in each direction, the distance between two neighbor points is 1.0e-8 (m).