![]() |
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.
|
Classes | |
| class | box_data |
Functions | |
| def | node_x (box, position) |
| def | node_y (box, position) |
| def | node_z (box, position) |
| def | node_z_tanh (box, position, w) |
| def | node_y_tanh (box, position, w) |
| def | write_header (mdpa) |
| def | generate_nodes (mdpa, box, x_scale=node_x, y_scale=node_y, z_scale=node_z) |
| def | generate_elements (mdpa, box, elemtype="FractionalStep3D", prop_id=0) |
| def | generate_front_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0) |
| def | generate_back_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0) |
| def | generate_right_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0) |
| def | generate_left_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0) |
| def | generate_bottom_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0) |
| def | generate_top_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0) |
| def | generate_x_periodic_faces (mdpa, box, index, condtype="PeriodicCondition", prop_id=0) |
| def | generate_y_periodic_faces (mdpa, box, index, condtype="PeriodicCondition", prop_id=0) |
| def | generate_z_periodic_faces (mdpa, box, index, condtype="PeriodicCondition", prop_id=0) |
| def | generate_xy_periodic_edges (mdpa, box, index, condtype="PeriodicConditionEdge", prop_id=0) |
| def | generate_xz_periodic_edges (mdpa, box, index, condtype="PeriodicConditionEdge", prop_id=0) |
| def | generate_yz_periodic_edges (mdpa, box, index, condtype="PeriodicConditionEdge", prop_id=0) |
| def | generate_periodic_corners (mdpa, box, index, condtype="PeriodiConditionCorner", prop_id=0) |
| def | generate_conditions (mdpa, box, condtype="WallCondition3D", periodic_facetype="PeriodicCondition", periodic_edgetype="PeriodicConditionEdge", periodic_cornertype="PeriodicConditionCorner", prop_id=0) |
| def | generate_mesh_groups (mdpa, box) |
| def | generate_sub_model_parts (mdpa, box) |
| def | y_scale_func (box, position) |
| def | z_scale_func (box, position) |
Variables | |
| nx = int(sys.argv[1]) | |
| ny = int(sys.argv[2]) | |
| nz = int(sys.argv[3]) | |
| float | xmin = 0.0 |
| float | xmax = 6.2832 |
| float | ymin = 0.0 |
| float | ymax = 2.0944 |
| float | zmin = 0.0 |
| float | zmax = 2.0 |
| box = box_data(xmin, ymin, zmin, xmax, ymax, zmax, nx, ny, nz) | |
| x_periodic | |
| elemtype = sys.argv[4] | |
| string | condtype = "WallCondition3D" |
| string | filename = "box_{0}x{1}x{2}.mdpa".format(nx, ny, nz) |
| mdpa | |
| y_scale | |
| y_scale_func | |
| z_scale | |
| def cube_mesher.generate_back_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "WallCondition3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_bottom_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "WallCondition3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_conditions | ( | mdpa, | |
| box, | |||
condtype = "WallCondition3D", |
|||
periodic_facetype = "PeriodicCondition", |
|||
periodic_edgetype = "PeriodicConditionEdge", |
|||
periodic_cornertype = "PeriodicConditionCorner", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_elements | ( | mdpa, | |
| box, | |||
elemtype = "FractionalStep3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_front_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "WallCondition3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_left_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "WallCondition3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_mesh_groups | ( | mdpa, | |
| box | |||
| ) |
| def cube_mesher.generate_periodic_corners | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodiConditionCorner", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_right_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "WallCondition3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_sub_model_parts | ( | mdpa, | |
| box | |||
| ) |
| def cube_mesher.generate_top_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "WallCondition3D", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_x_periodic_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodicCondition", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_xy_periodic_edges | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodicConditionEdge", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_xz_periodic_edges | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodicConditionEdge", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_y_periodic_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodicCondition", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_yz_periodic_edges | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodicConditionEdge", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.generate_z_periodic_faces | ( | mdpa, | |
| box, | |||
| index, | |||
condtype = "PeriodicCondition", |
|||
prop_id = 0 |
|||
| ) |
| def cube_mesher.node_x | ( | box, | |
| position | |||
| ) |
| def cube_mesher.node_y | ( | box, | |
| position | |||
| ) |
| def cube_mesher.node_y_tanh | ( | box, | |
| position, | |||
| w | |||
| ) |
| def cube_mesher.node_z | ( | box, | |
| position | |||
| ) |
| def cube_mesher.node_z_tanh | ( | box, | |
| position, | |||
| w | |||
| ) |
| def cube_mesher.write_header | ( | mdpa | ) |
| def cube_mesher.y_scale_func | ( | box, | |
| position | |||
| ) |
| def cube_mesher.z_scale_func | ( | box, | |
| position | |||
| ) |
| string cube_mesher.condtype = "WallCondition3D" |
| string cube_mesher.elemtype = sys.argv[4] |
| cube_mesher.mdpa |
| cube_mesher.nx = int(sys.argv[1]) |
| cube_mesher.ny = int(sys.argv[2]) |
| cube_mesher.nz = int(sys.argv[3]) |
| cube_mesher.x_periodic |
| float cube_mesher.xmax = 6.2832 |
| float cube_mesher.xmin = 0.0 |
| cube_mesher.y_scale |
| cube_mesher.y_scale_func |
| float cube_mesher.ymax = 2.0944 |
| float cube_mesher.ymin = 0.0 |
| cube_mesher.z_scale |
| float cube_mesher.zmax = 2.0 |
| float cube_mesher.zmin = 0.0 |