probably working combined code :D
This commit is contained in:
@@ -116,14 +116,14 @@ class Druckrohrleitung_class:
|
||||
f"----------------------------- {new_line}"
|
||||
f"Length = {self.length:<10} {self.length_unit_print} {new_line}"
|
||||
f"Diameter = {self.dia:<10} {self.length_unit_print} {new_line}"
|
||||
f"Number of segemnts = {self.n_seg:<10} {new_line}"
|
||||
f"Number of segments = {self.n_seg:<10} {new_line}"
|
||||
f"Number of nodes = {self.n_seg+1:<10} {new_line}"
|
||||
f"Length per segment = {self.dx:<10} {self.length_unit_print} {new_line}"
|
||||
f"Pipeline angle = {self.angle:<10} {self.angle_unit_print} {new_line}"
|
||||
f"Length per segments = {self.dx:<10} {self.length_unit_print} {new_line}"
|
||||
f"Pipeline angle = {round(self.angle,3):<10} {self.angle_unit_print} {new_line}"
|
||||
f"Darcy friction factor = {self.f_D:<10} {new_line}"
|
||||
f"Density of liquid = {self.density:<10} {self.density_unit_print} {new_line}"
|
||||
f"Pressure wave vel. = {self.c:<10} {self.velocity_unit_print} {new_line}"
|
||||
f"Simulation timesteps = {self.dt:<10} {self.time_unit_print } {new_line}"
|
||||
f"Simulation timestep = {self.dt:<10} {self.time_unit_print } {new_line}"
|
||||
f"Number of timesteps = {self.nt:<10} {new_line}"
|
||||
f"----------------------------- {new_line}"
|
||||
f"Velocity and pressure distribution are vectors and are accessible by the .v and .p attribute of the pipeline object")
|
||||
|
||||
Reference in New Issue
Block a user