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

Functions

def x_scale_func (box, position)
 
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])
 
string tag = 'Kratos'
 
float xmin = 0.0
 
float xmax = 4.0
 
float ymin = 0.0
 
float ymax = 4.0
 
float zmin = 0.0
 
float zmax = 4.0
 
 box = altair_box_data(xmin, ymin, zmin, xmax, ymax, zmax, nx, ny, nz)
 
 x_periodic
 
 elemtype = sys.argv[5]
 
string condtype = "WallCondition3D"
 
string filename = "comparative_analysis_ndiv_{0}".format(nx) + tag + "Fluid.mdpa"
 

Function Documentation

◆ x_scale_func()

def regular_mesher.x_scale_func (   box,
  position 
)

◆ y_scale_func()

def regular_mesher.y_scale_func (   box,
  position 
)

◆ z_scale_func()

def regular_mesher.z_scale_func (   box,
  position 
)

Variable Documentation

◆ box

regular_mesher.box = altair_box_data(xmin, ymin, zmin, xmax, ymax, zmax, nx, ny, nz)

◆ condtype

string regular_mesher.condtype = "WallCondition3D"

◆ elemtype

string regular_mesher.elemtype = sys.argv[5]

◆ filename

string regular_mesher.filename = "comparative_analysis_ndiv_{0}".format(nx) + tag + "Fluid.mdpa"

◆ nx

regular_mesher.nx = int(sys.argv[1])

◆ ny

regular_mesher.ny = int(sys.argv[2])

◆ nz

regular_mesher.nz = int(sys.argv[3])

◆ tag

regular_mesher.tag = 'Kratos'

◆ x_periodic

regular_mesher.x_periodic

◆ xmax

float regular_mesher.xmax = 4.0

◆ xmin

float regular_mesher.xmin = 0.0

◆ ymax

float regular_mesher.ymax = 4.0

◆ ymin

float regular_mesher.ymin = 0.0

◆ zmax

float regular_mesher.zmax = 4.0

◆ zmin

float regular_mesher.zmin = 0.0