fluidsim.util.util

Utilities for the numerical simulations (fluidsim.util.util)

Functions

available_solver_keys()

List all available solvers.

ensure_radians(angle)

Convert strings like "45°" to radians (as float)

get_dataframe_from_paths(paths[, tmin, ...])

Produce a dataframe from a set of simulations.

get_dim_from_solver_key(key)

Try to guess the dimension from the solver key (via the operator name).

get_last_estimated_remaining_duration(path)

Get last estimated remaining duration written in stdout.txt

get_last_time_spatial_means_from_path(path)

load_for_restart([name_dir, t_approx, ...])

Load params and Simul for a restart.

load_sim_for_plot([name_dir, ...])

Create a object Simul from a dir result.

load_state_phys_file([name_dir, t_approx, ...])

Create a simulation from a file.

modif_resolution_all_dir([t_approx, ...])

Save files with a modified resolution.

modif_resolution_from_dir([name_dir, ...])

Save a file with a modified resolution.

modif_resolution_from_dir_memory_efficient([...])

Save a file with a modified resolution.

name_file_from_time_approx(path_dir[, t_approx])

Return the file name whose time is the closest to the given time.

open_patient(path, *args[, time_wait_total, ...])

Open a hdf5 type file in a "patient" way.

print_memory_usage_seq(message[, flush])

times_start_end_from_path(path)

deprecated, use times_start_last_from_path instead

times_start_last_from_path(path)

Return the start and last times from a result directory path.

Classes

ModulesSolvers(names_solvers)

Dictionary to gather imported solvers.

StatePhysLike(path_file, oper, oper2)