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.
Namespaces | Variables
mesh_to_mdpa_converter.py File Reference

Namespaces

 mesh_to_mdpa_converter
 

Variables

string mesh_to_mdpa_converter.mesh_namefile = sys.argv[1] + '.msh'
 
string mesh_to_mdpa_converter.mdpa_namefile = sys.argv[2] + '.mdpa'
 
 mesh_to_mdpa_converter.SpheresMesh = open(mesh_namefile, 'r')
 
 mesh_to_mdpa_converter.SpheresMdpa = open(mdpa_namefile, 'w')
 
int mesh_to_mdpa_converter.Test_type = 3
 
float mesh_to_mdpa_converter.top = 0.0
 
float mesh_to_mdpa_converter.bottom = 0.0
 
float mesh_to_mdpa_converter.radius = 0.0
 
float mesh_to_mdpa_converter.internal_tol_factor = 2.0
 
float mesh_to_mdpa_converter.external_tol_factor = 1.0
 
int mesh_to_mdpa_converter.mean_particle_radius = 2e-3
 
float mesh_to_mdpa_converter.internal_radius = 0.1
 
float mesh_to_mdpa_converter.external_radius = 0.15
 
bool mesh_to_mdpa_converter.node_section_started = False
 
bool mesh_to_mdpa_converter.node_section_finished = False
 
bool mesh_to_mdpa_converter.element_section_started = False
 
list mesh_to_mdpa_converter.node_list = []
 
list mesh_to_mdpa_converter.coord_x_list = []
 
list mesh_to_mdpa_converter.coord_y_list = []
 
list mesh_to_mdpa_converter.coord_z_list = []
 
list mesh_to_mdpa_converter.element_list = []
 
list mesh_to_mdpa_converter.radius_list = []
 
list mesh_to_mdpa_converter.props_list = []
 
list mesh_to_mdpa_converter.zeros_list = []
 
list mesh_to_mdpa_converter.skin_list = []
 
 mesh_to_mdpa_converter.data = Line.split(" ")