PALM | Topography and Flow_around_buildings
Exercise presentations
E3: Flow around a cubical building
Required lecture
Required lectures:
- Topography
- Non-cyclic boundary conditions
- Restart runs
Required files:
- Parameter file (
*_p3d
,*_pcr
)- Input files can be downloaded from the supplementary material. Within the parameter files, some options are left blank (marked as “???”) and need to be filled in before starting the simulation.
- Topography file (
*_static
)
flow_around_cube_cyclic
- namelist file:
flow_around_cube_noncyclic_p3d
- set
topography
=read_from_file
- set
- topography file:
flow_around_cube_noncyclic_topo
- alternatively use provided python script to create static input file
flow_around_cube_noncyclic_static
- alternatively use provided python script to create static input file
- set
topography




Prapare *_static
- https://palm.muk.uni-hannover.de/trac/wiki/doc/app/iofiles/pids/static#topo
- https://palm.muk.uni-hannover.de/trac/wiki/doc/app/initialization_parameters#topography
- https://palm.muk.uni-hannover.de/trac/wiki/doc/app/iofiles#TOPOGRAPHY_DATA
my toy case
1 |
|
flow_around_cube_noncyclic
Modify *_p3d
, *_pcr
- namelist file:
flow_around_cube_noncyclic_p3d
- topography file:
flow_around_cube_noncyclic_topo
- alternatively use provided python script to create static input file
flow_around_cube_noncyclic_static
- alternatively use provided python script to create static input file
- psolver link
- 'poisfft'
- end_time
- 9000.0
- Message: psolver = "poisfft" requires that boundary conditions along x and y are both either cyclic or non-cyclic
- 'https://docs.palm-model.com/25.04/Reference/LES_Model/Logging/#PAC0077'
- Description: Switch to
psolver = 'multigrid'
or setbc_lr = bc_ns
.
Topography dataset
Shuttle Radar Topography Mission (SRTM GL3) Global 90m
香港 地形圖 (GeoTiff 格式)
- 開放數據(地理空間)
- 香港1:50 000地形圖 (GeoTiff 格式)
- 三維空間數據 3D-BIT00
- 三維空間數據集由三種主要類型的地面物件組成,即建築物、基礎設施和地形。建築物模型分為第一細節層(L1)、第二細節層(L2)和第三細節層(L3),以代表建築物的不同細節層次。
Digital Terrain Model (DTM)
- Provided by: Lands Department
DTM is a digital terrain model of the HKSAR. It shows the topography of terrain (including some non-ground information such as elevated roads and bridges) in 5-metre raster grid with an accuracy of ±5m.
Spatial Data Portal Survey Division, CEDD
- Spatial Data Portal Survey Division, CEDD
- 空間數據網站是由土木工程拓展署提供的網上地理空間信息服務,用於預訂和獲取以下數據:
- 三維形象化空載激光遙感測量數據
- 數碼地圖(只供土木工程拓展署項目顧問/承建商使用)
- 無人駕駛飛行器產品(只供土木工程拓展署項目顧問/承建商使用)
- 空間數據網站是由土木工程拓展署提供的網上地理空間信息服務,用於預訂和獲取以下數據:
generate *.nc
from *.tif
1 |
|
Case1 橫瀾/Waglan and 蒲台島/Po Toi
Case2 HKIA
generate .acs
from .tif
by rasterio
rasterio=1.3.8
1 |
|
static file
- https://palm.muk.uni-hannover.de/trac/wiki/doc/app/iofiles/pids/static#Staticinputfile
- https://docs.palm-model.org/25.04/Reference/LES_Model/IO-Files/Drivers/static/
The static input file encompasses topography information as well as all necessary information file to initialize all land- and urban-type surfaces in the model, such as heat capacities, roughness, albedo, emissivity, etc.. The initialization procedure for the surfaces follows a multi-step approach, depending on the given level of detail of each variable as provided in the static input file. In a first step, surfaces are initialized horizontally homogeneous with a bulk classification for each type (e.g. vegetation or soil), either set by a default value or set by a namelist-provided value, while the bulk classification provides standard values for a variety of parameters. In a second step, surfaces are initialized individually by providing the bulk classification at each grid point individually. In case more detailed information is available, all or even single parameters can be initialized individually at each grid point.
The provided input data is used to classify each surface element according to its treatment, i.e. default-, natural- or urban-type, in order to treat each surface element accordingly.
In case no land-surface or urban-surface scheme is applied, all surfaces are classified as default-type. If a surface element has vegetation, pavement or water, it will be classified as natural-type and is treated by the land-surface scheme, while building surfaces will be treated by the urban-surface scheme.
create static file
from *.nc file
nc_buildings_2d
nc_building_type
nc_building_id
1 |
|
- try to execute by using
flow_around_cube_cyclic_p3d
1 |
|