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

Classes

class  cube_mesher.box_data
 

Namespaces

 cube_mesher
 

Functions

def cube_mesher.node_x (box, position)
 
def cube_mesher.node_y (box, position)
 
def cube_mesher.node_z (box, position)
 
def cube_mesher.node_z_tanh (box, position, w)
 
def cube_mesher.node_y_tanh (box, position, w)
 
def cube_mesher.write_header (mdpa)
 
def cube_mesher.generate_nodes (mdpa, box, x_scale=node_x, y_scale=node_y, z_scale=node_z)
 
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_back_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0)
 
def cube_mesher.generate_right_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_bottom_faces (mdpa, box, index, condtype="WallCondition3D", prop_id=0)
 
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_y_periodic_faces (mdpa, box, index, condtype="PeriodicCondition", prop_id=0)
 
def cube_mesher.generate_z_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_yz_periodic_edges (mdpa, box, index, condtype="PeriodicConditionEdge", prop_id=0)
 
def cube_mesher.generate_periodic_corners (mdpa, box, index, condtype="PeriodiConditionCorner", 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_mesh_groups (mdpa, box)
 
def cube_mesher.generate_sub_model_parts (mdpa, box)
 
def cube_mesher.y_scale_func (box, position)
 
def cube_mesher.z_scale_func (box, position)
 

Variables

 cube_mesher.nx = int(sys.argv[1])
 
 cube_mesher.ny = int(sys.argv[2])
 
 cube_mesher.nz = int(sys.argv[3])
 
float cube_mesher.xmin = 0.0
 
float cube_mesher.xmax = 6.2832
 
float cube_mesher.ymin = 0.0
 
float cube_mesher.ymax = 2.0944
 
float cube_mesher.zmin = 0.0
 
float cube_mesher.zmax = 2.0
 
 cube_mesher.box = box_data(xmin, ymin, zmin, xmax, ymax, zmax, nx, ny, nz)
 
 cube_mesher.x_periodic
 
 cube_mesher.elemtype = sys.argv[4]
 
string cube_mesher.condtype = "WallCondition3D"
 
string cube_mesher.filename = "box_{0}x{1}x{2}.mdpa".format(nx, ny, nz)
 
 cube_mesher.mdpa
 
 cube_mesher.y_scale
 
 cube_mesher.y_scale_func
 
 cube_mesher.z_scale