Skip to content

Mesher options

Luc edited this page Jan 6, 2020 · 4 revisions

Lateral discretization

Set one the 2 following arguments with their corresponding value:

  • --lat_step: target lateral space (in m)
  • --nb_pts_lat: number of nodes laterally

The first option is recommanded to build an unstructured mesh. The last argument is not compatible with more than 2 constraint lines.

Illustration lateral discretization

Longitudinal discretization

Specify the argument --long_step with the target longitudinal space (in m).

The optional argument --constant_long_disc can be used to generate a mesh with the same number of nodes laterally: Illustration of argument constant_long_disc

Discretization of floodplains

Only the tool mesh_crue10_run.py has the optional argument --floodplain_step to specify the length (in m) of element edges. The "casiers" are simply not meshed if this argument is not provided.

Constraint lines

Constraint lines can be defined in a geometry file and its path specify after the optional argument --constraint_lines.

If this argument is not set, the whole river reach is meshed.

Illustration of constraint lines

--interp_constraint_lines

Planar projection of cross-sections

--project_straight_line

💡 mesh_mascaret_run.py does not provide this option because cross-sections are built orthogonal to hydraulic axis.

Clone this wiki locally