Skip to content

Flow around the Eiffel Tower

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)

Decks

do_domain:
  - domain:
     bounds:    [ [0, 0, 0],[0.6 m, 0.6 m, 2.0 m] ]
     cell_dims: [ 240 , 240 , 800 ]
     periodic:  [ false, false, false ]

set_lbm_parameters:
  - lbm_parameters:
     Fext: [0,0,0]
     nuth: 1e-4  # m2/s
     tau: 0.6

set_distributions:
  - set_distribution:
     value: 1.2
#     bounds: [[ 0.0, 0.0, 0.02 ], [ 1.0, 1.0, 0.08 ] ]
     quadrics: sphere
     transform:
       - scale:     [ 0.1, 0.1, 0.1 ]
       - translate: [ 0.3, 0.3,  1.5]

boundary_conditions:
  - neumann:
     U: [0,0,0]
     regions: [plan_xy_0, plan_xy_l]
  - lid_driven_cavity:
     U: [0, 0.0, 0]
     regions: [plan_yz_0, plan_yz_l,  plan_xz_0, plan_xz_l]

pre_stream_bcs:
  - wall_bounce_back

set_obstacles:
  - register_rshape:
     id: 0
     filename: "stl_files/toureiffel.stl"
     center:      [0.3, 0.3, 0.0]
     scale:       0.01
     orientation: [1, 0, 0, 0]   # identity [w,x,y,z]
     minkowski:   0.005

global:
   simulation_paraview_freq: 100
   simulation_end_iteration: 5000
   simulation_print_log_freq: 10   
   output_directory: "TourEiffelBCSNull"   
do_domain:
  - domain:
     bounds:    [ [0, 0, 0],[0.6 m, 0.6 m, 2.0 m] ]
     cell_dims: [ 240 , 240 , 800 ]
     periodic:  [ true, true, false ]

set_lbm_parameters:
  - lbm_parameters:
     Fext: [0,0,0]
     nuth: 1e-4  # m2/s
     tau: 0.6

set_distributions:
  - set_distribution:
     value: 1.2
     quadrics: sphere
     transform:
       - scale:     [ 0.1, 0.1, 0.1 ]
       - translate: [ 0.3, 0.3,  1.5]

boundary_conditions:
  - neumann:
     U: [0,0,0]
     regions: [plan_xy_0, plan_xy_l]

pre_stream_bcs:
  - wall_bounce_back

set_obstacles:
  - register_rshape:
     id: 0
     filename: "stl_files/toureiffel.stl"
     center:      [0.3, 0.3, 0.0]
     scale:       0.01
     orientation: [1, 0, 0, 0]   # identity [w,x,y,z]
     minkowski:   0.005

global:
   simulation_paraview_freq: 100
   simulation_end_iteration: 5000
   simulation_print_log_freq: 10   
   output_directory: "TourEiffelPeriodic"   
## 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/s
     tau: 0.6

boundary_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_back

set_obstacles:
  - register_rshape:
     id: 0
     filename: "toureiffel.stl"
     center:      [0.6, 0.3, 0.0]
     scale:       0.01
     orientation: [1, 0, 0, 0]   # identity [w,x,y,z]
     minkowski:   0.005

global:
   simulation_paraview_freq: 10000
   simulation_end_iteration: 50000
   simulation_print_log_freq: 10   
   output_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.

Run

The decks read stl_files/toureiffel.stl: run them from the example/ directory of the sources.

1
2
3
4
cd hippoLBM/example
../../build-hippoLBM/hippoLBM lbm_tour_eiffel_bcs_null.msp
../../build-hippoLBM/hippoLBM lbm_tour_eiffel_bcs_periodic.msp
../../build-hippoLBM/hippoLBM lbm_tour_eiffel_bcs_rho.msp

Note

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.

Results

Acoustic wave — initial state (left: closed domain, right: periodic) and evolution of the pressure wave:

initial state, closed

initial state, periodic

wave, closed

wave, periodic

Pressure-driven flow — development of vortex shedding in the wake, from the initial state (top-left) to the turbulent regime:

Eiffel Tower rho