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

Namespaces

 example_script
 

Functions

def example_script.PrintSurfaceLevel (time, model_part, surfacelevelfilename)
 setting the domain size for the problem to be solved More...
 

Variables

int example_script.domain_size = 2
 
 example_script.Qcomp_model_part = ModelPart("pFluidPart");
 
 example_script.input_file_name = fluid_ulf_var.problem_name
 
 example_script.gid_mode = GiDPostMode.GiD_PostBinary
 
 example_script.multifile = MultiFileFlag.MultipleFiles
 
 example_script.deformed_mesh_flag = WriteDeformedMeshFlag.WriteDeformed
 
 example_script.write_conditions = WriteConditionsFlag.WriteConditions
 
 example_script.gid_io = GidIO(input_file_name,gid_mode,multifile,deformed_mesh_flag, write_conditions)
 
 example_script.model_part_io_origin = ModelPartIO(input_file_name)
 
 example_script.box_corner1 = Vector(3);
 
 example_script.box_corner2 = Vector(3);
 
float example_script.dynamic_tau = 0.0
 
 example_script.fluid_solver = runge_kutta_frac_step_solver.RungeKuttaFracStepSolver(Qcomp_model_part,domain_size, box_corner1, box_corner2)
 
 example_script.ReformDofAtEachIteration
 
 example_script.pILUPrecond = ILU0Preconditioner()
 
 example_script.pressure_linear_solver
 
float example_script.mesh_name = 0.0
 
int example_script.out = 0
 TIME. More...
 
int example_script.time = 0
 
int example_script.step = 0
 
float example_script.output_step = 0.000001
 
float example_script.next_output_time = output_step
 
float example_script.final_time = 1.0
 
 example_script.ulf_time_step_dec_process = UlfTimeStepDecProcess(Qcomp_model_part);
 
string example_script.outstring1 = "sensor_height.txt"
 
 example_script.outputfile1 = open(outstring1, 'w')
 
 example_script.out_file = outputfile1
 
float example_script.Dt = 0.005
 
 example_script.res_name3 = str("free_surface_flow")