KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
hdf5_io_tools.FluidHDF5Loader Class Reference
Collaboration diagram for hdf5_io_tools.FluidHDF5Loader:

Public Member Functions

def __init__ (self, project_parameters, fluid_model_part, particles_model_part, main_path)
 
def GetFileName (self)
 
def CheckTimes (self, hdf5_file)
 
def GetTimeIndicesAndWeights (self, current_time)
 
def CanLoadMoreSteps (self)
 
def FillUpSingleDataset (self, name, variable, variable_index_in_temp_array)
 
def FillFluidDataStep (self)
 
def ConvertComponent (self, f, component_name)
 
def UpdateFluidVariable (self, name, variable, variable_index, must_load_future_values_from_database, alpha_past, alpha_future)
 
def GetDatasetName (self, time_index_future)
 
def LoadFluid (self, fluid_time)
 

Public Attributes

 n_nodes
 
 shape
 
 store_pressure
 
 store_gradient
 
 load_derivatives
 
 there_are_more_steps_to_load
 
 main_path
 
 fluid_model_part
 
 disperse_phase_model_part
 
 extended_shape
 
 file_name
 
 file_path
 
 permutations
 
 data_array_past
 
 data_array_future
 
 time_index_past
 
 time_index_future
 
 dtype
 
 compression_type
 
 last_time
 
 current_data_array
 
 times_str
 
 times
 
 dt
 

Constructor & Destructor Documentation

◆ __init__()

def hdf5_io_tools.FluidHDF5Loader.__init__ (   self,
  project_parameters,
  fluid_model_part,
  particles_model_part,
  main_path 
)

Member Function Documentation

◆ CanLoadMoreSteps()

def hdf5_io_tools.FluidHDF5Loader.CanLoadMoreSteps (   self)

◆ CheckTimes()

def hdf5_io_tools.FluidHDF5Loader.CheckTimes (   self,
  hdf5_file 
)

◆ ConvertComponent()

def hdf5_io_tools.FluidHDF5Loader.ConvertComponent (   self,
  f,
  component_name 
)

◆ FillFluidDataStep()

def hdf5_io_tools.FluidHDF5Loader.FillFluidDataStep (   self)

◆ FillUpSingleDataset()

def hdf5_io_tools.FluidHDF5Loader.FillUpSingleDataset (   self,
  name,
  variable,
  variable_index_in_temp_array 
)

◆ GetDatasetName()

def hdf5_io_tools.FluidHDF5Loader.GetDatasetName (   self,
  time_index_future 
)

◆ GetFileName()

def hdf5_io_tools.FluidHDF5Loader.GetFileName (   self)

◆ GetTimeIndicesAndWeights()

def hdf5_io_tools.FluidHDF5Loader.GetTimeIndicesAndWeights (   self,
  current_time 
)

◆ LoadFluid()

def hdf5_io_tools.FluidHDF5Loader.LoadFluid (   self,
  fluid_time 
)

◆ UpdateFluidVariable()

def hdf5_io_tools.FluidHDF5Loader.UpdateFluidVariable (   self,
  name,
  variable,
  variable_index,
  must_load_future_values_from_database,
  alpha_past,
  alpha_future 
)

Member Data Documentation

◆ compression_type

hdf5_io_tools.FluidHDF5Loader.compression_type

◆ current_data_array

hdf5_io_tools.FluidHDF5Loader.current_data_array

◆ data_array_future

hdf5_io_tools.FluidHDF5Loader.data_array_future

◆ data_array_past

hdf5_io_tools.FluidHDF5Loader.data_array_past

◆ disperse_phase_model_part

hdf5_io_tools.FluidHDF5Loader.disperse_phase_model_part

◆ dt

hdf5_io_tools.FluidHDF5Loader.dt

◆ dtype

hdf5_io_tools.FluidHDF5Loader.dtype

◆ extended_shape

hdf5_io_tools.FluidHDF5Loader.extended_shape

◆ file_name

hdf5_io_tools.FluidHDF5Loader.file_name

◆ file_path

hdf5_io_tools.FluidHDF5Loader.file_path

◆ fluid_model_part

hdf5_io_tools.FluidHDF5Loader.fluid_model_part

◆ last_time

hdf5_io_tools.FluidHDF5Loader.last_time

◆ load_derivatives

hdf5_io_tools.FluidHDF5Loader.load_derivatives

◆ main_path

hdf5_io_tools.FluidHDF5Loader.main_path

◆ n_nodes

hdf5_io_tools.FluidHDF5Loader.n_nodes

◆ permutations

hdf5_io_tools.FluidHDF5Loader.permutations

◆ shape

hdf5_io_tools.FluidHDF5Loader.shape

◆ store_gradient

hdf5_io_tools.FluidHDF5Loader.store_gradient

◆ store_pressure

hdf5_io_tools.FluidHDF5Loader.store_pressure

◆ there_are_more_steps_to_load

hdf5_io_tools.FluidHDF5Loader.there_are_more_steps_to_load

◆ time_index_future

hdf5_io_tools.FluidHDF5Loader.time_index_future

◆ time_index_past

hdf5_io_tools.FluidHDF5Loader.time_index_past

◆ times

hdf5_io_tools.FluidHDF5Loader.times

◆ times_str

hdf5_io_tools.FluidHDF5Loader.times_str

The documentation for this class was generated from the following file: