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

Namespaces

 edgebased_PureConvection
 

Functions

def edgebased_PureConvection.BenchmarkCheck (time, model_part)
 

Variables

 edgebased_PureConvection.domain_size = edgebased_var.domain_size
 
string edgebased_PureConvection.kratos_benchmarking_path = '../../../../benchmarking'
 
 edgebased_PureConvection.fluid_model_part = ModelPart("FluidPart")
 
 edgebased_PureConvection.input_file_name = edgebased_var.problem_name
 
 edgebased_PureConvection.gid_mode = GiDPostMode.GiD_PostBinary
 
 edgebased_PureConvection.multifile = MultiFileFlag.SingleFile
 
 edgebased_PureConvection.deformed_mesh_flag = WriteDeformedMeshFlag.WriteUndeformed
 
 edgebased_PureConvection.write_conditions = WriteConditionsFlag.WriteConditions
 
 edgebased_PureConvection.gid_io = GidIO(input_file_name, gid_mode, multifile, deformed_mesh_flag, write_conditions)
 
 edgebased_PureConvection.model_part_io_fluid = ModelPartIO(input_file_name)
 
int edgebased_PureConvection.number_of_avg_elems = 10
 
int edgebased_PureConvection.number_of_avg_nodes = 10
 
 edgebased_PureConvection.neighbour_search = FindNodalNeighboursProcess(fluid_model_part)
 
 edgebased_PureConvection.vel = Vector(3);
 
float edgebased_PureConvection.xc = 1.00 / 6.00
 
float edgebased_PureConvection.yc = 1.00 / 6.00
 
float edgebased_PureConvection.sigma = 0.2
 
tuple edgebased_PureConvection.X1 = (node.X - xc) / sigma
 
tuple edgebased_PureConvection.X2 = (node.Y - yc) / sigma
 
float edgebased_PureConvection.dist = 0.25 * (1.00 + math.cos(math.pi * X1)) * (1.00+math.cos(math.pi*X2))
 
 edgebased_PureConvection.matrix_container = MatrixContainer2D()
 
 edgebased_PureConvection.convection_solver = PureConvectionEdgeBased2D(matrix_container, fluid_model_part)
 
 edgebased_PureConvection.max_Dt = edgebased_var.max_time_step
 
float edgebased_PureConvection.initial_Dt = 0.001 * max_Dt
 
 edgebased_PureConvection.final_time = edgebased_var.max_time
 
 edgebased_PureConvection.output_dt = edgebased_var.output_dt
 
 edgebased_PureConvection.safety_factor = edgebased_var.safety_factor
 
 edgebased_PureConvection.number_of_inital_steps = edgebased_var.number_of_inital_steps
 
 edgebased_PureConvection.initial_time_step = edgebased_var.initial_time_step
 
int edgebased_PureConvection.out = 0
 
 edgebased_PureConvection.ProcessInfo = fluid_model_part.ProcessInfo
 
float edgebased_PureConvection.mesh_name = 0.0
 
 edgebased_PureConvection.max_safety_factor = safety_factor
 
float edgebased_PureConvection.time = 0.0
 
int edgebased_PureConvection.step = 0
 
 edgebased_PureConvection.next_output_time = output_dt
 
 edgebased_PureConvection.Dt = ProcessInfo[DELTA_TIME]