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
pure_conduction Namespace Reference

Variables

int domain_size = 2
 
 model_part = ModelPart("FluidPart")
 
 SolverSettings = ProjectParameters.SolverSettings
 
 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.1
 
float density = 1000.0
 
float specific_heat = 1.0
 
 vel = Vector(3);
 
 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
 

Variable Documentation

◆ conductivity

float pure_conduction.conductivity = 0.1

◆ conv_diff_solver

pure_conduction.conv_diff_solver = solver_constructor.CreateSolver(model_part, SolverSettings)

◆ deformed_mesh_flag

pure_conduction.deformed_mesh_flag = WriteDeformedMeshFlag.WriteUndeformed

◆ density

float pure_conduction.density = 1000.0

◆ domain_size

int pure_conduction.domain_size = 2

◆ Dt

pure_conduction.Dt = ProjectParameters.Dt

◆ final_time

pure_conduction.final_time = ProjectParameters.max_time

◆ full_Dt

pure_conduction.full_Dt = Dt

◆ gid_io

◆ gid_mode

pure_conduction.gid_mode = GiDPostMode.GiD_PostBinary

◆ initial_Dt

float pure_conduction.initial_Dt = 0.01 * full_Dt

◆ input_file_name

string pure_conduction.input_file_name = "square"

◆ mesh_name

float pure_conduction.mesh_name = 0.0

◆ model_part

pure_conduction.model_part = ModelPart("FluidPart")

◆ model_part_io_fluid

pure_conduction.model_part_io_fluid = ModelPartIO(input_file_name)

◆ multifile

pure_conduction.multifile = MultiFileFlag.MultipleFiles

◆ Nsteps

pure_conduction.Nsteps = ProjectParameters.nsteps

◆ out

int pure_conduction.out = 0

◆ output_step

pure_conduction.output_step = ProjectParameters.output_step

◆ output_time

pure_conduction.output_time = ProjectParameters.output_time

◆ solver_constructor

pure_conduction.solver_constructor = __import__(SolverSettings.solver_type)

◆ SolverSettings

pure_conduction.SolverSettings = ProjectParameters.SolverSettings

◆ specific_heat

float pure_conduction.specific_heat = 1.0

◆ step

int pure_conduction.step = 0

◆ time

int pure_conduction.time = ProjectParameters.Start_time

◆ vel

pure_conduction.vel = Vector(3);

◆ write_conditions

pure_conduction.write_conditions = WriteConditionsFlag.WriteElementsOnly