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.
Variables
square_domain_contact Namespace Reference

Variables

int domain_size = 2
 
string kratos_libs_path = '../../../../libs'
 
string kratos_applications_path = '../../../../applications'
 
 kernel = Kernel()
 
 metis_application = KratosMetisApplication()
 
 Import_IncompressibleFluidApplication
 
 model_part = ModelPart("FluidPart")
 
 gid_mode = GiDPostMode.GiD_PostBinary
 
 use_multi_file = MultiFileFlag.MultipleFiles
 
 deformed_mesh_flag = WriteDeformedMeshFlag.WriteDeformed
 
 write_conditions = WriteConditionsFlag.WriteElementsOnly
 
 gid_io = GidIO("test", gid_mode, use_multi_file, deformed_mesh_flag, write_conditions)
 
 number_of_partitions = mpi.size
 
 contact_indices = IndicesVector()
 
 metis_partitioning_process = MetisContactPartitioningProcess(model_part, gid_io, number_of_partitions, contact_indices)
 

Variable Documentation

◆ contact_indices

square_domain_contact.contact_indices = IndicesVector()

◆ deformed_mesh_flag

square_domain_contact.deformed_mesh_flag = WriteDeformedMeshFlag.WriteDeformed

◆ domain_size

int square_domain_contact.domain_size = 2

◆ gid_io

square_domain_contact.gid_io = GidIO("test", gid_mode, use_multi_file, deformed_mesh_flag, write_conditions)

◆ gid_mode

square_domain_contact.gid_mode = GiDPostMode.GiD_PostBinary

◆ Import_IncompressibleFluidApplication

square_domain_contact.Import_IncompressibleFluidApplication

◆ kernel

square_domain_contact.kernel = Kernel()

◆ kratos_applications_path

string square_domain_contact.kratos_applications_path = '../../../../applications'

◆ kratos_libs_path

string square_domain_contact.kratos_libs_path = '../../../../libs'

◆ metis_application

square_domain_contact.metis_application = KratosMetisApplication()

◆ metis_partitioning_process

square_domain_contact.metis_partitioning_process = MetisContactPartitioningProcess(model_part, gid_io, number_of_partitions, contact_indices)

◆ model_part

square_domain_contact.model_part = ModelPart("FluidPart")

◆ number_of_partitions

square_domain_contact.number_of_partitions = mpi.size

◆ use_multi_file

square_domain_contact.use_multi_file = MultiFileFlag.MultipleFiles

◆ write_conditions

square_domain_contact.write_conditions = WriteConditionsFlag.WriteElementsOnly