Multi-inlet
from mnflow.mfda.cad.dld.theme.block import DLD
In order to include a multi-inlet component in a block.DLD, you can pass the desired configurations via a dictionary named config_multi_inlet as shown in the following example.
dld=DLD(
d_c=5,
config_multi_inlet={
'bar_dims':[5, 200],
'num_branch':3,
},
Np=10,
Nw=20,
num_unit=3,
# constraints OFF
turn_off_constraints=True,
# post process transformations
rot_last=90, # solely for better arrangement of layout in docs
# image
opt_save_image=True,
img_dpu=1,
)
----------------------------------------
core.DLD___Np:10_Nw:20_gap_w:10.786_pitch_w:21.571_gap_a:10.786_pitch_a:21.571_height:43.142_boundary_treatment:pow_3
block.DLD___num_unit:3_opt_mirror:False_array_counts:[1, 1]_opt_mirror_before_array:[False, False]
----------------------------------------
{'Np': 10,
'Nw': 20,
'area': 732873.5198729999,
'bb': [(-936.347, -198.198), (10.786, 575.583)],
'count of 1D arrays of core.DLD': 1,
'd_c': 4.999999999999999,
'lx': 947.1329999999999,
'ly': 773.781,
'performance': {'Flow rate @ 1 bar/area (micro-liter/min/mm-sq)': 1631.2268224864904,
'die area (mm-sq)': 0.7328735198729999,
'gap over crit. dia.': 2.1571083717157262,
'volumetric flow rate at 1 bar (micro-liter/min)': 1195.4829431069234},
'resistance (Pa.sec/m^3)': 5018892184615.104,
'volumetric flow rate at 1 bar (m^3/sec)': 1.9924715718448723e-08,
'volumetric flow rate at 1 bar (milli-liter/hr)': 71.7289765864154}
Output layout:
