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