diff --git a/Python/site-packages/sv_rom_simulation/io_0d.py b/Python/site-packages/sv_rom_simulation/io_0d.py index 472250fa8..18325b8c7 100644 --- a/Python/site-packages/sv_rom_simulation/io_0d.py +++ b/Python/site-packages/sv_rom_simulation/io_0d.py @@ -85,14 +85,13 @@ def write_0d_solver_file(mesh, params, model): for i, j_branches in enumerate(mesh.seg_connectivity): # general junction properties junction = {'junction_name': 'J' + str(i), - 'junction_type': 'internal_junction', + 'junction_type': 'NORMAL_JUNCTION', 'inlet_vessels': [int(j_branches[0])], 'outlet_vessels': []} for j in j_branches[1:]: junction['outlet_vessels'] += [int(j)] # branching vessels if len(j_branches) > 2: - junction['junction_type'] = 'NORMAL_JUNCTION' junction['tangents'] = mesh.junctions[i]['tangents'] for n in ['areas', 'lengths']: junction[n] = [float(v) for v in mesh.junctions[i][n]]