HydroGeoSphere/讀取現有三維網格
外觀
在某些情況下,網格生成步驟可能非常耗時。 如果是這樣,則可以使用以下說明來讀取在先前執行中生成的網格
網格的字首與prefix.grok檔案中的字首匹配。
這些說明展示瞭如何設定prefix.grok檔案中的網格生成部分以使用讀取三維網格指令
! Generate the grid for first run
! skip on
read gb 2d grid
laurel
generate layers from gb 2d grid
.true. ! zone by layer?
.false. ! base elevation constant?
laurel.nprop.Bedrock
1 ! layer
Whole domain
20 ! sublayer
.false. ! top elevation constant?
laurel.nprop.Topography
write faces and segments
!skip off
skip on
! Read previously defined grid for subsequent runs
read 3D grid
skip off
end grid definition
在第一次執行中,您可以讀取切片並生成分層網格。 重要的是,如果要使用任何寫入面和段指令,則必須包含選擇面或選擇段指令在prefix.grok檔案中。
在後續執行中,您可以跳過網格生成命令,並使用讀取三維網格指令代替。
- • • •
- • • •