def BuildMeshBoundaryForFluids(self): """This function Builds the mesh boundaries for the fluids """ # define building utility model_part_name = self.settings["model_part_name"].GetString() """ choose just one of the following two options: use this if you want conditions ATTENTION: this is slow, and must be used together with ModelMeshingWithConditionsForFluids and GenerateNewConditionsForFluids skin_build = KratosDelaunay.BuildModelPartBoundary(self.main_model_part, model_part_name, self.echo_level) if you use the following, you will not use/build/compute conditions ATTENTION: it must be used together with ModelMeshingForFluids and BuildMeshBoundaryForFluids """ skin_build = KratosPfemFluid.BuildModelPartBoundaryForFluids( self.main_model_part, model_part_name, self.echo_level) skin_build.Execute()
def BuildMeshBoundaryForFluids(self): # set building options: # define building utility model_part_name = self.settings["model_part_name"].GetString() ############ choose just one of the following two options: ############ ## use this if you want conditions ## ATTENTION: this is slow, and must be used together with ModelMeshingWithConditionsForFluids and GenerateNewConditionsForFluids #skin_build = KratosDelaunay.BuildModelPartBoundary(self.main_model_part, model_part_name, self.echo_level) ## if you use the following, you will not use/build/compute conditions ## ATTENTION: it must be used together with ModelMeshingForFluids and BuildMeshBoundaryForFluids skin_build = KratosPfemFluid.BuildModelPartBoundaryForFluids(self.main_model_part, model_part_name, self.echo_level) ####################################################################### # execute building: skin_build.Execute()