These examples project a real STL mesh — a 300 m scale model of the Eiffel Tower — onto the LBM grid with
register_rshape. They are primarily validation cases of the STL projection
with various boundary conditions, rather than physically tuned simulations. The mesh stl_files/toureiffel.stl is
scaled by 0.01 (centimetres to metres) and placed at the base of the domain, with a Minkowski radius of 5 mm.
Deck
Domain
Boundaries
Driving
lbm_tour_eiffel_bcs_null.msp
0.6 × 0.6 × 2.0 m, 240 × 240 × 800
closed: Neumann on Z, lid_driven_cavity at rest on X and Y
spherical over-density above the tower
lbm_tour_eiffel_bcs_periodic.msp
0.6 × 0.6 × 2.0 m, 240 × 240 × 800
periodic on X and Y, Neumann on Z
spherical over-density above the tower
lbm_tour_eiffel_bcs_rho.msp
5.0 × 0.6 × 2.0 m, 2000 × 240 × 800
periodic on Y, Neumann on Z
pressure difference of ±50 Pa on the X planes (rho)
## 16xA100 GPU# simulation_time_minutes: 28.42 # 1.705e+06 ms = 1705 s (~28.42 min)# post_processing_time_minutes: 2.26 # 1.356e+05 ms = 135.6 s (~2.26 min)do_domain:-domain:bounds:[[0,0,0],[5.0 m,0.6 m,2.0 m]]cell_dims:[2000,240,800]periodic:[false,true,false]set_lbm_parameters:-lbm_parameters:Fext:[0,0,0]nuth:1e-4# m2/stau:0.6boundary_conditions:-neumann:U:[0,0,0]regions:[plan_xy_0,plan_xy_l]-rho:U:[0.0,0,0]regions:[plan_yz_0,plan_yz_l]delta_p:[50 kg/m/s^2,-50 kg/m/s^2]# in Pascal (Pa = kg.m^-1.s^-2)pre_stream_bcs:-wall_bounce_backset_obstacles:-register_rshape:id:0filename:"toureiffel.stl"center:[0.6,0.3,0.0]scale:0.01orientation:[1,0,0,0]# identity [w,x,y,z]minkowski:0.005global:simulation_paraview_freq:10000simulation_end_iteration:50000simulation_print_log_freq:10output_directory:"TourEiffelBCSNull"
Warning
set_distribution with value: 1.2 is a 20 % over-density in lattice units, not a physical pressure. Use
set_dp_pressure for a physically meaningful perturbation.
These are large runs (46 to 386 million nodes): run them on GPUs or on many MPI processes. On GPU runs, writing
the ParaView files dominates the run time: increase simulation_paraview_freq to measure the solver
performance. lbm_tour_eiffel_bcs_rho.msp (386 million nodes, 50,000 steps) ran in about 28 minutes on 16 A100
GPUs.