DataStream

class pvade.DataStream.DataStream(domain, flow, elasticity, params)

Input/Output and file writing class

This class manages the generation and updating of the saved xdmf files from each run along with command line outputs and log files.

comm

An MPI communicator used by all PVade objects

Type:

MPI Communicator

ndim

The number of dimensions in the problem

Type:

int

num_procs

The total number of processors being used to solve the problem

Type:

int

rank

A unique ID for each process in the range [0, 1, …, num_procs-1]

Type:

int

results_filename_fluid

The full path to the directory in which all saved files will be written.

Type:

str

Initialize the DataStream object

This initializes an object that manages the I/O for all of PVade.

Parameters:
save_XDMF_files(fsi_object, domain, tt)

Write additional timestep to XDMF file

This function appends the state of the flow at time tt to an existing XDMF file.

Parameters: