sunbather.convergeT_parker

ConvergeT_parker module of sunbather

Functions

catch_errors_run_s(*args, **kwargs)

Executes the run_s() function with provided arguments, while catching errors more gracefully.

find_close_model(parentfolder, T, Mdot[, ...])

Takes a parent folder where multiple 1D parker profiles have been ran, and for given T and Mdot it looks for another model that is already finished and closest to the given model, so that we can start our new simulation from that converged temperature structure.

main(**kwargs)

Main function for the convergeT_parker.py script

new_argument_parser()

Creates a new argument parser.

run(plname[, mdot, temp, itno, fc, ...])

run_g(plname, cores, Mdot_l, Mdot_u, Mdot_s, ...)

Solves for a nonisothermal temperature profile of a grid of isothermal Parker wind models, by executing the run_s() function in parallel.

run_s(plname, Mdot, T, itno, fc, workingdir, ...)

Solves for a nonisothermal temperature profile of a single isothermal Parker wind (density and velocity) profile.