A. Automated design for a given critical diameter

from mnflow.mfda.cad.dld.theme.block import DLD
dld = DLD(
    d_c=1.0,
    Np=10,
    rotation_angle_deg_before_array=90,
    # image
    opt_save_image=True,
    img_dpu=10,
)
----------------------------------------
core.DLD___Np:10_Nw:12_gap_w:2.157_pitch_w:4.314_gap_a:2.157_pitch_a:4.314_height:8.628_boundary_treatment:pow_3
block.DLD___num_unit:14_opt_mirror:False_array_counts:[1, 1]_opt_mirror_before_array:[False, False]
----------------------------------------
{'Np': 10,
 'Nw': 12,
 'area': 38127.346488,
 'bb': [(-601.831, -11.355), (2.157, 51.771)],
 'count of 1D arrays of core.DLD': 1,
 'd_c': 1.0,
 'lx': 603.988,
 'ly': 63.126000000000005,
 'performance': {'Flow rate @ 1 bar/area (micro-liter/min/mm-sq)': 32.250856980337566,
                 'die area (mm-sq)': 0.038127346488,
                 'gap over crit. dia.': 2.157108371715726,
                 'volumetric flow rate at 1 bar (micro-liter/min)': 1.2296395986242639},
 'resistance (Pa.sec/m^3)': 4879478512820240.0,
 'volumetric flow rate at 1 bar (m^3/sec)': 2.0493993310404397e-11,
 'volumetric flow rate at 1 bar (milli-liter/hr)': 0.07377837591745583}

Output layout:

Layout