AFLR3 Hybrid driver

class pyrefine.refine.aflr3.AFLR3(project_name, bl_type='manual')

AFLR3 driver for boundary layer extrusion and hybrid mesh generation

Parameters
  • project_name – str: The root name of the project (without any mesh numbers).

  • bl_type – str: Boundary layer type: ‘manual’ (default), ‘yplus’, or ‘re_cell’. The latter options require FUN3D v14.2+.

project_name

The root name of the project (without any mesh numbers).

Type

str

bl_type

‘manual’ (default), ‘yplus’, or ‘re_cell’.

Type

str

Type

Boundary layer type

bl_initial

Initial wall spacing in wall units based on bl_type (‘yplus’ or ‘re_cell’).

Type

int

bl_full

Full boundary layer height in wall units based on bl_type (‘yplus’ or ‘re_cell’).

Type

int

aflr_extra_args

Additional arguments passed into aflr3

Type

str

n_constant_layers

Number of initial layers with constant spacing (aflr3 default = 5)

Type

int

max_blgr

Maximum boundary layer geometric growth rate (aflr3 default = 1.5).

Type

float

bldr

Boundary layer geometric growth acceleration rate (aflr3 default = 1.05). This is set to 1.0 by default to enforce constant growth rate.

Type

float

BC_IDs

Boundary condition IDs for AFLR3

Type

str

BC_Flags

Boundary condition flags for AFLR3

Type

str

nbl

Number of layers

Type

int

initial_wall_spacing

Initial wall spacing in grid units

Type

float

run()

Run the AFLR3 process.