PDSim package¶
Subpackages¶
- PDSim.core package
- Submodules
- PDSim.core.bearings module
- PDSim.core.callbacks module
- PDSim.core.containers module
CVArraysCVScoreCVScore.QCVScore.TCVScore.VCVScore.calculate_flows()CVScore.copy()CVScore.cpCVScore.cvCVScore.dTdthetaCVScore.dVCVScore.dmdthetaCVScore.dpdT_constVCVScore.drhodthetaCVScore.hCVScore.just_volumes()CVScore.mCVScore.pCVScore.property_derivsCVScore.rhoCVScore.summerdTCVScore.summerdmCVScore.update_size()CVScore.v
ControlVolumeControlVolumeCollectionControlVolumeCollection.CVsControlVolumeCollection.NControlVolumeCollection.NexistControlVolumeCollection.NodesControlVolumeCollection.TControlVolumeCollection.add()ControlVolumeCollection.arraysControlVolumeCollection.at()ControlVolumeCollection.cpControlVolumeCollection.cvControlVolumeCollection.dpdTControlVolumeCollection.exists_CVControlVolumeCollection.exists_indicesControlVolumeCollection.exists_keysControlVolumeCollection.get()ControlVolumeCollection.hControlVolumeCollection.index()ControlVolumeCollection.indicesControlVolumeCollection.keysControlVolumeCollection.pControlVolumeCollection.rebuild_exists()ControlVolumeCollection.rhoControlVolumeCollection.updateStates()ControlVolumeCollection.volumes()
TubeTubeCollectioncollect_State_h()rebuildCVCollection()
- PDSim.core.core module
EulerIntegratorHeunIntegratorIntegratorMixinPDSimCorePDSimCore.CVsPDSimCore.FlowStoragePDSimCore.FlowsPDSimCore.IsentropicNozzleFM()PDSimCore.IsentropicNozzleFMSafe()PDSimCore.OBJECTIVE_CYCLE()PDSimCore.ValvesPDSimCore.add_CV()PDSimCore.add_flow()PDSimCore.add_tube()PDSimCore.add_valve()PDSimCore.attach_HDF5_annotations()PDSimCore.calc_boundary_work()PDSimCore.check_abort()PDSimCore.connect_callbacks()PDSimCore.connect_flow_functions()PDSimCore.derivs()PDSimCore.endcycle_callback()PDSimCore.get_prune_keys()PDSimCore.guess_outlet_temp()PDSimCore.one_cycle()PDSimCore.post_cycle()PDSimCore.post_solve()PDSimCore.pre_cycle()PDSimCore.pre_run()PDSimCore.precond_solve()PDSimCore.reset_initial_state()PDSimCore.solve()PDSimCore.step_callback()PDSimCore.update_existence()PDSimCore.valves_callback()
RK45Integratorstruct
- PDSim.core.integrators module
- PDSim.core.journal_bearing module
- PDSim.core.mobility module
- PDSim.core.motor module
- Module contents
- PDSim.flow package
- Submodules
- PDSim.flow.fanno module
- PDSim.flow.flow module
FlowPathFlowPath.AFlowPath.MdotFcnFlowPath.MdotFcn_strFlowPath.State1FlowPath.State2FlowPath.State_downFlowPath.State_upFlowPath.T_upFlowPath.calculate()FlowPath.edotFlowPath.existsFlowPath.get_deepcopy()FlowPath.h_downFlowPath.h_upFlowPath.ikey1FlowPath.ikey2FlowPath.ikey_downFlowPath.ikey_upFlowPath.key1FlowPath.key1IndexFlowPath.key1_existsFlowPath.key2FlowPath.key2IndexFlowPath.key2_existsFlowPath.key_downFlowPath.key_down_IndexFlowPath.key_down_existsFlowPath.key_upFlowPath.key_up_IndexFlowPath.key_up_existsFlowPath.mdotFlowPath.p_downFlowPath.p_up
FlowPathCollectionrebuildFlowPath()structsumterms_given_CV()
- PDSim.flow.flow_models module
FlowFunctionFrictionCorrectedIsentropicNozzle()IsentropicNozzle()IsentropicNozzleWrapperIsothermalWallTube()PyFlowFunctionWrapperValveModelValveModel.A()ValveModel.A_portValveModel.A_valveValveModel.C_DValveModel.State_downValveModel.State_upValveModel.d_portValveModel.d_valveValveModel.derivs()ValveModel.flow_velocity()ValveModel.get_States()ValveModel.get_xv()ValveModel.k_valveValveModel.key_downValveModel.key_upValveModel.m_effValveModel.rho_valveValveModel.set_xv()ValveModel.x_stopperValveModel.x_trValveModel.xv
makeIsentropicNozzleWrapper()makePyFlowFunctionWrapper()pow()rebuildValveModel()
- Module contents
- PDSim.misc package
- Subpackages
- Submodules
- PDSim.misc.datatypes module
- PDSim.misc.error_bar module
- PDSim.misc.hdf5 module
- PDSim.misc.polymath_sample module
- PDSim.misc.scipylike module
- PDSim.misc.solvers module
- PDSim.misc.stl_utilities module
- Module contents
- PDSim.plot package
- Submodules
- PDSim.plot.plots module
PlotPlotNotebookPlotNotebook.T_theta()PlotNotebook.V_theta()PlotNotebook.add()PlotNotebook.axial_force()PlotNotebook.build_main_page()PlotNotebook.dV_dtheta()PlotNotebook.discharge_residual_history()PlotNotebook.force_component_trace()PlotNotebook.force_trace()PlotNotebook.get()PlotNotebook.get_keys()PlotNotebook.heat_transfer()PlotNotebook.initial_temperature_history()PlotNotebook.lumps_residual_v_lump_temps()PlotNotebook.m_theta()PlotNotebook.magnitude_force()PlotNotebook.mdot_theta()PlotNotebook.p_V()PlotNotebook.p_theta()PlotNotebook.pressure_profile()PlotNotebook.radial_force()PlotNotebook.rho_theta()PlotNotebook.stepsize_theta()PlotNotebook.tangential_force()PlotNotebook.temperature_pressure()PlotNotebook.torque()PlotNotebook.update()PlotNotebook.valve_theta()PlotNotebook.x_direction_force()PlotNotebook.y_direction_force()
debug_plots()
- Module contents
- PDSim.recip package
- PDSim.scroll package
- Submodules
- PDSim.scroll.common_scroll_geo module
CVInvoluteCVInvolutesGr()HTAnglesClassVdV()VdVstructcoords_inv()coords_norm()dGr_dphi()dGr_dtheta()fFx_p()fFy_p()fMO_p()forces()fxA()fyA()geoValsgeoVals.V_scrollgeoVals.VremovegeoVals.b_linegeoVals.copy_inplace()geoVals.cx_scrollgeoVals.cy_scrollgeoVals.delta_flankgeoVals.delta_radialgeoVals.delta_suction_offsetgeoVals.hgeoVals.is_symmetric()geoVals.m_linegeoVals.phi_fi0geoVals.phi_fiegeoVals.phi_fisgeoVals.phi_fo0geoVals.phi_foegeoVals.phi_fosgeoVals.phi_i0geoVals.phi_iegeoVals.phi_ie_offsetgeoVals.phi_isgeoVals.phi_o0geoVals.phi_oegeoVals.phi_oi0geoVals.phi_oiegeoVals.phi_oisgeoVals.phi_oo0geoVals.phi_ooegeoVals.phi_oosgeoVals.phi_osgeoVals.r_wallgeoVals.ra_arc1geoVals.ra_arc2geoVals.rbgeoVals.rogeoVals.tgeoVals.t1_arc1geoVals.t1_arc2geoVals.t1_linegeoVals.t2_arc1geoVals.t2_arc2geoVals.t2_linegeoVals.val_if_symmetric()geoVals.x0_wallgeoVals.xa_arc1geoVals.xa_arc2geoVals.xvec_disc_portgeoVals.y0_wallgeoVals.ya_arc1geoVals.ya_arc2geoVals.yvec_disc_port
get_compression_chamber_index()get_compressor_CV_index()involute_heat_transfer()involute_index_to_key()max2()min2()plus_one()polyarea()polycentroid()rebuild_geoVals()scroll_wrap()sortAnglesCCW()sortAnglesCW()
- PDSim.scroll.core module
PortScrollScroll.DDD_to_S()Scroll.DISC_C1_N()Scroll.DISC_C1_Nm1()Scroll.DISC_D1()Scroll.DISC_DD()Scroll.D_to_DD()Scroll.DischargeValve()Scroll.HT_angles()Scroll.INTERPOLATING_LIQUID_NOZZLE_FLOW()Scroll.INTERPOLATING_NOZZLE_FLOW()Scroll.Nc_max()Scroll.SA_S()Scroll.SA_S1()Scroll.SA_S2()Scroll.TubeCode()Scroll.V_c1()Scroll.V_c2()Scroll.V_d1()Scroll.V_d2()Scroll.V_dd()Scroll.V_ddd()Scroll.V_injection()Scroll.V_s1()Scroll.V_s2()Scroll.V_sa()Scroll.VdispScroll.VratioScroll.add_sensor()Scroll.ambient_heat_transfer()Scroll.attach_HDF5_annotations()Scroll.auto_add_CVs()Scroll.auto_add_flank_leakage()Scroll.auto_add_leakage()Scroll.auto_add_radial_leakage()Scroll.build_pressure_profile()Scroll.build_sensor_profile()Scroll.cache_discharge_port_blockage()Scroll.calcHT()Scroll.calculate_force_terms()Scroll.calculate_port_areas()Scroll.calculate_scroll_mass()Scroll.crank_bearing()Scroll.detailed_mechanical_analysis()Scroll.determine_partner_CVs()Scroll.get_discharge_port_blockage_poly()Scroll.get_port_xy()Scroll.guess_lump_temps()Scroll.heat_transfer_callback()Scroll.heat_transfer_coefficient()Scroll.initial_motor_losses()Scroll.lower_bearing()Scroll.lump_energy_balance_callback()Scroll.mechanical_losses()Scroll.multi_lump_OEB()Scroll.poly_intersection_with_cvs()Scroll.post_cycle()Scroll.post_solve()Scroll.pre_run()Scroll.scroll_involute_axial_force()Scroll.set_disc_geo()Scroll.set_scroll_geo()Scroll.single_lump_OEB()Scroll.step_callback()Scroll.suction_heating()Scroll.theta_dScroll.thrust_bearing()Scroll.upper_bearing()Scroll.wrap_heat_transfer()
struct
- PDSim.scroll.expander module
Expander()ScrollExpanderScrollExpander.DA_D()ScrollExpander.S_to_SS()ScrollExpander.V_d1()ScrollExpander.V_d2()ScrollExpander.V_da()ScrollExpander.V_e1()ScrollExpander.V_e2()ScrollExpander.V_s1()ScrollExpander.V_s2()ScrollExpander.V_ss()ScrollExpander.V_sss()ScrollExpander.auto_add_CVs()ScrollExpander.lump_energy_balance_callback()ScrollExpander.pre_run()ScrollExpander.step_callback()
- PDSim.scroll.plots module
CMMarker()CoordsOrbScroll()LoadGeo()OSCrossSectionPanelOverlayCVLabels()PlotPanelPlotThreadScrollAnimFormScrollAnimForm.OnApplyLayers()ScrollAnimForm.OnDoneSavingAnimation()ScrollAnimForm.OnSaveAnimation()ScrollAnimForm.apply_orbiting_layers()ScrollAnimForm.apply_stationary_layers()ScrollAnimForm.onButton()ScrollAnimForm.plotStep()ScrollAnimForm.preClose()ScrollAnimForm.remove_orbiting_layers()ScrollAnimForm.start()ScrollAnimForm.updateDisplay()
Shave()TaskThreadcircle()fillC1()fillD1()fillS1()geoValsoverlay_injection_port()plotScrollSet()plot_injection_ports()polyarea()polycentroid()setDiscGeo()
- PDSim.scroll.scroll_geo module
- PDSim.scroll.symm_scroll_geo module
Area_d_dd()Area_s_s1_offset()Area_s_sa()C1()C1_forces()C2()C2_forces()CVcoords()D1()D1_forces()D2()D2_forces()DD()DDD()DDD_forces()DD_forces()HT_angles()S1()S1_forces()S2()S2_forces()SA()SA_forces()angle_difference()fxA()fyA()getNc()nC_Max()phi_d_dd()phi_s_sa()plot_HT_angles()radial_leakage_area()radial_leakage_pairs()setDiscGeo()theta_d()
- Module contents