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
rotating_cone.py File Reference

Namespaces

 rotating_cone
 

Variables

int rotating_cone.domain_size = 2
 
 rotating_cone.model_part = ModelPart("FluidPart")
 
 rotating_cone.SolverSettings = ProjectParameters.SolverSettings2
 
 rotating_cone.solver_constructor = __import__(SolverSettings.solver_type)
 
string rotating_cone.input_file_name = "square"
 
 rotating_cone.gid_mode = GiDPostMode.GiD_PostBinary
 
 rotating_cone.multifile = MultiFileFlag.MultipleFiles
 
 rotating_cone.deformed_mesh_flag = WriteDeformedMeshFlag.WriteUndeformed
 
 rotating_cone.write_conditions = WriteConditionsFlag.WriteElementsOnly
 
 rotating_cone.gid_io = GidIO(input_file_name, gid_mode, multifile, deformed_mesh_flag, write_conditions)
 
 rotating_cone.model_part_io_fluid = ModelPartIO(input_file_name)
 
float rotating_cone.mesh_name = 0.0
 
 rotating_cone.conv_diff_solver = solver_constructor.CreateSolver(model_part, SolverSettings)
 
float rotating_cone.conductivity = 0.0
 
float rotating_cone.density = 1.0;
 
float rotating_cone.specific_heat = 1.0;
 
 rotating_cone.vel = Vector(3);
 
float rotating_cone.xc = 1.00 / 6.00
 
float rotating_cone.yc = 1.00 / 6.00
 
float rotating_cone.sigma = 0.2
 
tuple rotating_cone.X1 = (node.X - xc) / sigma
 
tuple rotating_cone.X2 = (node.Y - yc) / sigma
 
float rotating_cone.temp = 0.25 * (1.00 + math.cos(math.pi * X1)) * (1.00+math.cos(math.pi*X2))
 
 rotating_cone.Dt = ProjectParameters.Dt
 
 rotating_cone.full_Dt = Dt
 
float rotating_cone.initial_Dt = 0.01 * full_Dt
 
 rotating_cone.Nsteps = ProjectParameters.nsteps
 
 rotating_cone.final_time = ProjectParameters.max_time
 
 rotating_cone.output_time = ProjectParameters.output_time
 
 rotating_cone.output_step = ProjectParameters.output_step
 
 rotating_cone.time = ProjectParameters.Start_time
 
int rotating_cone.out = 0
 
int rotating_cone.step = 0