「$ifzscaled」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "The 3D-DDCC mainly uses cgs unit (not all parameters). But the gmsh file may not created by cgs unit. $ifzscaled ($ifxscaled, $ifyscaled) is a scaling command to res..." |
無編輯摘要 |
||
| 第30行: | 第30行: | ||
related commands: | related commands: | ||
[[$ifzscaled]], [[$ifxscaled]], [[$ifyscaled] | [[$ifzscaled]], [[$ifxscaled]], [[$ifyscaled]] | ||
於 2018年7月17日 (二) 15:26 的最新修訂
The 3D-DDCC mainly uses cgs unit (not all parameters). But the gmsh file may not created by cgs unit. $ifzscaled ($ifxscaled, $ifyscaled) is a scaling command to rescale the gmsh's dimension. For example, if people create a gmsh file and it's z-dimension is using nm as the unit. He can use $ifzscaled to convert the file into cm unit.
for example:
1nm=1.0e-7cm
Therefore, if the mesh file use nm, then we need this command
$ifzscaled 1.0e-7
If all directions using nm, then
$ifxscaled 1.0e-7 $ifyscaled 1.0e-7 $ifzscaled 1.0e-7
If the x and y direction use um and the z direction uses nm, then
$ifxscaled 1.0e-4 $ifyscaled 1.0e-4 $ifzscaled 1.0e-7
related commands:
$ifzscaled, $ifxscaled, $ifyscaled