fluidsim.base.output.phys_fields

Physical fields output (fluidsim.base.output.phys_fields)

Provides:

class fluidsim.base.output.phys_fields.PhysFieldsBase(output)[source]

Bases: fluidsim.base.output.base.SpecificOutput

Manage the output of physical fields.

_online_save(self)[source]

Online save.

_online_plot(self)[source]

Online plot.

get_field_to_plot(self, key=None, time=None, idx_time=None, equation=None, interpolate_time=True)[source]

Get the field to be plotted in process 0.

get_field_to_plot_from_state(self, field=None, equation=None)[source]

Get the field to be plotted in process 0.

class fluidsim.base.output.phys_fields.SetOfPhysFieldFiles(path_dir='.', output=None)[source]

Bases: object

A set of physical field files.

update_times(self)[source]

Initialize the times by globing and analyzing the file names.

get_closest_time_file(self, time)[source]

Find the index and value of the closest actual time of the field.

Functions

time_from_path(path)

Regular expression search to extract time from filename.

Classes

PhysFieldsBase(output)

Manage the output of physical fields.

SetOfPhysFieldFiles([path_dir, output])

A set of physical field files.