コード例 #1
0
 def PerformZeroStepInitializations(self):
     import hdf5_io_tools
     n_nodes = len(self.fluid_model_part.Nodes)
     self.pp.CFD_DEM.AddEmptyValue("prerun_fluid_file_name").SetString(
         '/mesh_' + str(n_nodes) + '_nodes.hdf5')
     self.fluid_loader = hdf5_io_tools.FluidHDF5Loader(
         self.all_model_parts.Get('FluidPart'),
         self.all_model_parts.Get('SpheresPart'), self.pp, self.main_path)
コード例 #2
0
 def SetFluidLoader(self):
     import hdf5_io_tools
     self.fluid_loader = hdf5_io_tools.FluidHDF5Loader(
         self.all_model_parts.Get('FluidPart'),
         self.all_model_parts.Get('SpheresPart'), self.pp, self.main_path)
コード例 #3
0
 def PerformZeroStepInitializations(self):
     import hdf5_io_tools
     self.fluid_loader = hdf5_io_tools.FluidHDF5Loader(
         self.all_model_parts.Get('FluidPart'), self.pp, self.main_path)