coupling Package

coupling Module

class transat.coupling.coupling.Cathare1D(name, filename)

Bases: transat.simulation.Simulation

add_injection_point(order, element, position, elevation, area)
change_configuration(item, value)
create_cathare_postpro_file(method, name, element, variable, mark)
execute(cmd)
generate_cathare_plot(filename)
get_cathare_global(method, element, variable, mark)
get_cathare_local(element, variable, location, time)
init_injection_point(order, totflow, temperature)
injection_to_1D(massflux, temperature)
insert_line_to_cathare_file(filename, new_lines, trigger)
item_existence(filename, item)
open_file(filename, mode='r')
restore_cathare(restore_label, restore_method)
run_cathare_alone()
run_cathare_controller()
run_cathare_post_process()
class transat.coupling.coupling.Coupling

Bases: object

class transat.coupling.coupling.Olga1D(url)

Bases: transat.coupling.coupling.Coupling

get(varname, location='None')
get_densities(location, n)
get_pressure(location, n)
get_velocities(location, n)
get_viscosities(location, n)
pause()
setup()
simulate(till)
start()