circulator_dynamic_parameters_f Function

public function circulator_dynamic_parameters_f(me, x)

Type Bound

circulator_dynamic_parameters_t

Arguments

Type IntentOptional Attributes Name
class(circulator_dynamic_parameters_t), intent(in) :: me
real(kind=dp), intent(in) :: x

Return Value real(kind=dp)


Calls

proc~~circulator_dynamic_parameters_f~~CallsGraph proc~circulator_dynamic_parameters_f circulator_dynamic_parameters_t%circulator_dynamic_parameters_f proc~state_rop state_roP proc~circulator_dynamic_parameters_f->proc~state_rop proc~jacobian_rot jacobian_roT proc~state_rop->proc~jacobian_rot proc~t_rop T_roP proc~state_rop->proc~t_rop proc~eos_terms eos_terms proc~jacobian_rot->proc~eos_terms proc~brent brent proc~t_rop->proc~brent proc~fill_f_terms fill_f_terms proc~t_rop->proc~fill_f_terms proc~fill_g_dreg_terms fill_g_Dreg_terms proc~t_rop->proc~fill_g_dreg_terms f f proc~brent->f proc~set_error set_error proc~brent->proc~set_error proc~zero zero proc~brent->proc~zero proc~eos_terms->proc~fill_f_terms proc~eos_e_terms eos_e_terms proc~eos_terms->proc~eos_e_terms proc~fill_e_tpart fill_e_Tpart proc~eos_e_terms->proc~fill_e_tpart proc~fill_ff_terms fill_ff_terms proc~eos_e_terms->proc~fill_ff_terms proc~zero->f proc~fill_e_tpart->proc~fill_g_dreg_terms

Called by

proc~~circulator_dynamic_parameters_f~~CalledByGraph proc~circulator_dynamic_parameters_f circulator_dynamic_parameters_t%circulator_dynamic_parameters_f proc~outgoing_branch_cold_circulator outgoing_branch_cold_circulator proc~outgoing_branch_cold_circulator->proc~circulator_dynamic_parameters_f proc~circulator_resolution_from_and_to_ports circulator_resolution_from_and_to_ports proc~circulator_resolution_from_and_to_ports->proc~outgoing_branch_cold_circulator proc~main_loop main_loop proc~main_loop->proc~circulator_resolution_from_and_to_ports program~reims_p reims_p program~reims_p->proc~main_loop

Source Code

function circulator_dynamic_parameters_f(me,x)
    class(circulator_dynamic_parameters_t), intent(in) :: me
    real(dp),                               intent(in) :: x
        
    real(dp) :: circulator_dynamic_parameters_f    
    real(dp) :: ustar, rostarL, TstarL, R_Corr_StarL, estarL, CstarL

    Ustar=me%Ur+(x-me%Pr)/me%Zr
    rostarL=me%mdot/(Ustar*me%area)
    call state_roP(rostarL, x, R_Corr_StarL, estarL, TstarL, CstarL)
    circulator_dynamic_parameters_f=-(estarL+x/rostarL+0.5_dp*(ustar**2)-me%VarIn)/1.0e3_dp
end function circulator_dynamic_parameters_f