PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Functions | |
print_bool (arg, prefix="") | |
print_dbl (arg, prefix="") | |
print_int (arg, prefix="") | |
print_dbl_list (arg, prefix="") | |
print_int_list (arg, prefix="") | |
does_intersect_rect (p, r, particles, padding, rect) | |
does_intersect_with_cylindrical_wall (p, particles, R_in, center, bar_rect, padding) | |
write_contact_zone_part (inpf, R_contact_factor, damping_active, friction_active, beta_n_eps, friction_coeff, Kn_factor, beta_n_factor, zone_string, Kn) | |
write_material_zone_part (inpf, zone_string, horizon, rho, K, G, Gc) | |
get_E (K, nu) | |
get_G (E, nu) | |
get_eff_k (k1, k2) | |
get_max (l) | |
rotate (p, theta, axis) | |
get_ref_triangle_points (center, radius, add_center=False) | |
get_ref_hex_points (center, radius, add_center=False) | |
get_ref_drum_points (center, radius, width, add_center=False) | |
particle_locations (inp_dir, pp_tag, center, padding, max_y, mesh_size, R1, R2, id_choices1, id_choices2, Nmax, R_in, bar_rect, z_coord, add_orient=True) | |
generate_cir_particle_gmsh_input (inp_dir, filename, center, radius, mesh_size, pp_tag) | |
generate_hex_particle_gmsh_input (inp_dir, filename, center, radius, mesh_size, pp_tag) | |
generate_tri_particle_gmsh_input (inp_dir, filename, center, radius, mesh_size, pp_tag) | |
generate_drum2d_particle_gmsh_input (inp_dir, filename, center, radius, width, mesh_size, pp_tag) | |
generate_wall_gmsh_input (inp_dir, filename, center, outer_radius, inner_radius, bar_width, bar_length, mesh_size, pp_tag) | |
create_input_file (inp_dir, pp_tag) | |
copy_contact_zone (inpf, zone_numbers, zone_copy_from) | |
get_ref_rect_points (center, radius, add_center=False) | |
does_rect_intersect_rect (r1, r2, padding) | |
particle_locations (inp_dir, pp_tag, center, padding, max_y, mesh_size, R1, R2, id_choices1, id_choices2, R_in, bar_rect, z_coord, add_orient=True) | |
particle_locations (inp_dir, pp_tag, center, padding, max_y, mesh_size, R1, R2, id_choices1, id_choices2, N1, N2, R_in, bar_rect, z_coord, add_orient=True) | |
generate_cylindrical_wall_gmsh_input (inp_dir, filename, center, outer_radius, inner_radius, bar_width, bar_length, mesh_size, pp_tag) | |
get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening (center, Lin, Win) | |
get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening (center, Lin, Win) | |
write_point_geo (geof, p_id, x, h) | |
write_line_geo (geof, l_id, p1_id, p2_id) | |
write_cir_line_geo (geof, l_id, p1_id, p2_id, p3_id) | |
get_ref_rect_points (center, L, W, add_center=False) | |
does_rect_intersect_rect_use_pair_coord (r1, r2, padding) | |
does_intersect_with_rectangle_wall_with_protrusion_and_opening (p, particles, Lin, Win, center, padding) | |
generate_rect_floor_gmsh_input (inp_dir, filename, center, L, W, mesh_size, pp_tag) | |
generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2 (inp_dir, filename, center, Lin, Win, L, W, mesh_size, pp_tag) | |
generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3 (inp_dir, filename, center, Lin, Win, L, W, mesh_size, pp_tag) | |
serialize_matrix_list (p) | |
get_center (p1, p2) | |
generate_rect_container_gmsh_input (inp_dir, filename, pi1, pi2, dx, dy, mesh_size, pp_tag) | |
does_intersect (p, r, R, particles, padding) | |
particle_locations (inp_dir, pp_tag, R1, R2, rect, mesh_size, padding, add_orient=True) | |
generate_rigid_wall_gmsh_input (inp_dir, filename, outer_rect, inner_rect, mesh_size, pp_tag) | |
generate_moving_wall_gmsh_input (inp_dir, filename, rectangle, mesh_size, pp_tag) | |
particle_locations (inp_dir, pp_tag, R1, R2, offset) | |
generate_particle_gmsh_input (inp_dir, filename, center, radius, mesh_size, pp_tag) | |
particle_locations_orient (inp_dir, pp_tag, R1, R2, offset) | |
generate_particle_gmsh_input (inp_dir, filename, center, radius, width, mesh_size, pp_tag) | |
generate_wall_gmsh_input (inp_dir, filename, rectangle, mesh_size, pp_tag) | |
does_particle_intersect_rect (p, r2, padding) | |
does_particle_intersect (p, particles, rect, padding) | |
particle_locations_old (inp_dir, pp_tag, center, padding, max_y, mesh_size, R1, R2, id_choices1, id_choices2, N1, N2, rect, z_coord, add_orient=True) | |
generate_rigid_rect_container_moving_wall_setup_gmsh_input (inp_dir, filename, outer_rect, inner_rect, mesh_size, pp_tag) | |
generate_moving_rect_wall_gmsh_input (inp_dir, filename, rectangle, mesh_size, pp_tag) | |
generate_drum_particle_gmsh_input (inp_dir, filename, center, radius, width, mesh_size, pp_tag) | |
rect_to_five_param (r) | |
particle_locations (inp_dir, pp_tag, R1, R2, offset, w1_rect_five_format, w2_rect_five_format) | |
particle_locations_orient (inp_dir, pp_tag, R1, R2, offset, w1_rect_five_format, w2_rect_five_format) | |
Variables | |
str | inp_dir = './' |
----------------------------------------------------—## ----------------------------------------------------—## | |
int | pp_tag = 0 |
problem_setup.copy_contact_zone | ( | inpf, | |
zone_numbers, | |||
zone_copy_from | |||
) |
Definition at line 77 of file problem_setup.py.
References print_int_list().
Referenced by generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.create_input_file | ( | inp_dir, | |
pp_tag | |||
) |
Generates input file for two-particle test
Definition at line 793 of file problem_setup.py.
References generate_cir_particle_gmsh_input(), generate_drum2d_particle_gmsh_input(), generate_tri_particle_gmsh_input(), generate_wall_gmsh_input(), get_E(), get_eff_k(), get_G(), particle_locations(), print_dbl_list(), write_contact_zone_part(), and write_material_zone_part().
Referenced by generate_cylindrical_wall_gmsh_input(), generate_drum_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_wall_gmsh_input(), particle_locations(), and particle_locations_orient().
problem_setup.does_intersect | ( | p, | |
r, | |||
R, | |||
particles, | |||
padding | |||
) |
Definition at line 47 of file problem_setup.py.
References rotate().
problem_setup.does_intersect_rect | ( | p, | |
r, | |||
particles, | |||
padding, | |||
rect | |||
) |
Definition at line 49 of file problem_setup.py.
Referenced by particle_locations().
problem_setup.does_intersect_with_cylindrical_wall | ( | p, | |
particles, | |||
R_in, | |||
center, | |||
bar_rect, | |||
padding | |||
) |
Definition at line 70 of file problem_setup.py.
Referenced by particle_locations(), particle_locations(), and particle_locations().
problem_setup.does_intersect_with_rectangle_wall_with_protrusion_and_opening | ( | p, | |
particles, | |||
Lin, | |||
Win, | |||
center, | |||
padding | |||
) |
Definition at line 304 of file problem_setup.py.
References does_intersect_with_rectangle_wall_with_protrusion_and_opening(), does_rect_intersect_rect_use_pair_coord(), get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), get_ref_drum_points(), get_ref_hex_points(), get_ref_triangle_points(), and get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening().
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), and get_center().
problem_setup.does_particle_intersect | ( | p, | |
particles, | |||
rect, | |||
padding | |||
) |
Definition at line 294 of file problem_setup.py.
References does_particle_intersect(), and get_max().
Referenced by does_particle_intersect().
problem_setup.does_particle_intersect_rect | ( | p, | |
r2, | |||
padding | |||
) |
Definition at line 286 of file problem_setup.py.
References does_rect_intersect_rect().
problem_setup.does_rect_intersect_rect | ( | r1, | |
r2, | |||
padding | |||
) |
Definition at line 241 of file problem_setup.py.
References does_rect_intersect_rect().
Referenced by does_particle_intersect_rect(), and does_rect_intersect_rect().
problem_setup.does_rect_intersect_rect_use_pair_coord | ( | r1, | |
r2, | |||
padding | |||
) |
Definition at line 293 of file problem_setup.py.
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), and get_center().
problem_setup.generate_cir_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 475 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.generate_cylindrical_wall_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
outer_radius, | |||
inner_radius, | |||
bar_width, | |||
bar_length, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 689 of file problem_setup.py.
References copy_contact_zone(), create_input_file(), generate_cir_particle_gmsh_input(), generate_cylindrical_wall_gmsh_input(), generate_drum2d_particle_gmsh_input(), generate_hex_particle_gmsh_input(), generate_tri_particle_gmsh_input(), get_E(), get_eff_k(), get_G(), particle_locations(), print_dbl_list(), write_contact_zone_part(), and write_material_zone_part().
Referenced by generate_cylindrical_wall_gmsh_input().
problem_setup.generate_drum2d_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
width, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 647 of file problem_setup.py.
References get_ref_drum_points().
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.generate_drum_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
width, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 260 of file problem_setup.py.
References create_input_file(), generate_drum_particle_gmsh_input(), generate_hex_particle_gmsh_input(), get_E(), get_eff_k(), get_G(), get_ref_drum_points(), particle_locations_orient(), and print_dbl_list().
Referenced by generate_drum_particle_gmsh_input().
problem_setup.generate_hex_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 535 of file problem_setup.py.
References get_ref_hex_points().
Referenced by generate_cylindrical_wall_gmsh_input(), generate_drum_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.generate_moving_rect_wall_gmsh_input | ( | inp_dir, | |
filename, | |||
rectangle, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 1096 of file problem_setup.py.
References copy_contact_zone(), create_input_file(), generate_cir_particle_gmsh_input(), generate_drum2d_particle_gmsh_input(), generate_hex_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_rigid_rect_container_moving_wall_setup_gmsh_input(), generate_tri_particle_gmsh_input(), get_E(), get_eff_k(), get_G(), particle_locations(), print_dbl_list(), write_contact_zone_part(), and write_material_zone_part().
Referenced by generate_moving_rect_wall_gmsh_input().
problem_setup.generate_moving_wall_gmsh_input | ( | inp_dir, | |
filename, | |||
rectangle, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 486 of file problem_setup.py.
References create_input_file(), generate_cir_particle_gmsh_input(), generate_hex_particle_gmsh_input(), generate_moving_wall_gmsh_input(), generate_rigid_wall_gmsh_input(), get_E(), get_eff_k(), get_G(), particle_locations(), and print_dbl_list().
Referenced by generate_moving_wall_gmsh_input().
problem_setup.generate_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 84 of file problem_setup.py.
References create_input_file(), generate_particle_gmsh_input(), get_E(), get_eff_k(), get_G(), particle_locations(), and print_dbl_list().
Referenced by generate_particle_gmsh_input(), generate_wall_gmsh_input(), and particle_locations_orient().
problem_setup.generate_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
width, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 165 of file problem_setup.py.
References get_ref_drum_points().
problem_setup.generate_rect_container_gmsh_input | ( | inp_dir, | |
filename, | |||
pi1, | |||
pi2, | |||
dx, | |||
dy, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 688 of file problem_setup.py.
References copy_contact_zone(), create_input_file(), generate_cir_particle_gmsh_input(), generate_drum2d_particle_gmsh_input(), generate_hex_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_tri_particle_gmsh_input(), get_center(), get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), get_E(), get_eff_k(), get_G(), get_ref_rect_points(), get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), particle_locations(), print_dbl_list(), serialize_matrix_list(), write_cir_line_geo(), write_contact_zone_part(), write_line_geo(), write_material_zone_part(), and write_point_geo().
Referenced by generate_rect_container_gmsh_input().
problem_setup.generate_rect_floor_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
L, | |||
W, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 671 of file problem_setup.py.
References get_ref_rect_points(), and write_point_geo().
Referenced by generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3().
problem_setup.generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2 | ( | inp_dir, | |
filename, | |||
center, | |||
Lin, | |||
Win, | |||
L, | |||
W, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 708 of file problem_setup.py.
References get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), write_cir_line_geo(), write_line_geo(), and write_point_geo().
problem_setup.generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3 | ( | inp_dir, | |
filename, | |||
center, | |||
Lin, | |||
Win, | |||
L, | |||
W, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 849 of file problem_setup.py.
References copy_contact_zone(), create_input_file(), generate_cir_particle_gmsh_input(), generate_drum2d_particle_gmsh_input(), generate_hex_particle_gmsh_input(), generate_rect_floor_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_tri_particle_gmsh_input(), get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), get_E(), get_eff_k(), get_G(), get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), particle_locations(), print_dbl_list(), write_cir_line_geo(), write_contact_zone_part(), write_line_geo(), write_material_zone_part(), and write_point_geo().
Referenced by generate_rect_container_gmsh_input(), and generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3().
problem_setup.generate_rigid_rect_container_moving_wall_setup_gmsh_input | ( | inp_dir, | |
filename, | |||
outer_rect, | |||
inner_rect, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 1002 of file problem_setup.py.
Referenced by generate_moving_rect_wall_gmsh_input().
problem_setup.generate_rigid_wall_gmsh_input | ( | inp_dir, | |
filename, | |||
outer_rect, | |||
inner_rect, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 392 of file problem_setup.py.
Referenced by generate_moving_wall_gmsh_input().
problem_setup.generate_tri_particle_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
radius, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 592 of file problem_setup.py.
References get_ref_triangle_points().
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.generate_wall_gmsh_input | ( | inp_dir, | |
filename, | |||
center, | |||
outer_radius, | |||
inner_radius, | |||
bar_width, | |||
bar_length, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 705 of file problem_setup.py.
Referenced by create_input_file(), generate_wall_gmsh_input(), particle_locations(), and particle_locations_orient().
problem_setup.generate_wall_gmsh_input | ( | inp_dir, | |
filename, | |||
rectangle, | |||
mesh_size, | |||
pp_tag | |||
) |
Definition at line 223 of file problem_setup.py.
References create_input_file(), generate_particle_gmsh_input(), generate_wall_gmsh_input(), get_E(), get_eff_k(), get_G(), particle_locations_orient(), and print_dbl_list().
problem_setup.get_center | ( | p1, | |
p2 | |||
) |
Definition at line 146 of file problem_setup.py.
References does_intersect_with_rectangle_wall_with_protrusion_and_opening(), does_rect_intersect_rect_use_pair_coord(), get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), get_ref_drum_points(), get_ref_hex_points(), get_ref_triangle_points(), get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening(), and rotate().
Referenced by generate_rect_container_gmsh_input(), and particle_locations_old().
problem_setup.get_circ_protrusion_points_for_rectangle_wall_with_protrusion_and_opening | ( | center, | |
Lin, | |||
Win | |||
) |
Definition at line 63 of file problem_setup.py.
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and get_center().
problem_setup.get_E | ( | K, | |
nu | |||
) |
Definition at line 136 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_drum_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_wall_gmsh_input(), particle_locations(), and particle_locations_orient().
problem_setup.get_eff_k | ( | k1, | |
k2 | |||
) |
Definition at line 143 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_drum_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_wall_gmsh_input(), particle_locations(), and particle_locations_orient().
problem_setup.get_G | ( | E, | |
nu | |||
) |
Definition at line 139 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_drum_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_wall_gmsh_input(), particle_locations(), and particle_locations_orient().
problem_setup.get_max | ( | l | ) |
Definition at line 147 of file problem_setup.py.
Referenced by does_particle_intersect(), particle_locations(), particle_locations(), particle_locations(), particle_locations(), and particle_locations_old().
problem_setup.get_ref_drum_points | ( | center, | |
radius, | |||
width, | |||
add_center = False |
|||
) |
Definition at line 236 of file problem_setup.py.
References rotate().
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), generate_drum2d_particle_gmsh_input(), generate_drum_particle_gmsh_input(), generate_particle_gmsh_input(), get_center(), particle_locations(), particle_locations(), particle_locations_old(), and particle_locations_orient().
problem_setup.get_ref_hex_points | ( | center, | |
radius, | |||
add_center = False |
|||
) |
Definition at line 199 of file problem_setup.py.
References rotate().
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), generate_hex_particle_gmsh_input(), get_center(), particle_locations(), particle_locations(), particle_locations(), and particle_locations_old().
problem_setup.get_ref_rect_points | ( | center, | |
L, | |||
W, | |||
add_center = False |
|||
) |
Definition at line 155 of file problem_setup.py.
References rotate().
problem_setup.get_ref_rect_points | ( | center, | |
radius, | |||
add_center = False |
|||
) |
Definition at line 114 of file problem_setup.py.
References rotate().
Referenced by generate_rect_container_gmsh_input(), generate_rect_floor_gmsh_input(), and particle_locations_old().
problem_setup.get_ref_triangle_points | ( | center, | |
radius, | |||
add_center = False |
|||
) |
Definition at line 168 of file problem_setup.py.
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), generate_tri_particle_gmsh_input(), get_center(), particle_locations(), particle_locations(), and particle_locations_old().
problem_setup.get_tri_protrusion_points_for_rectangle_wall_with_protrusion_and_opening | ( | center, | |
Lin, | |||
Win | |||
) |
Definition at line 49 of file problem_setup.py.
Referenced by does_intersect_with_rectangle_wall_with_protrusion_and_opening(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and get_center().
problem_setup.particle_locations | ( | inp_dir, | |
pp_tag, | |||
center, | |||
padding, | |||
max_y, | |||
mesh_size, | |||
R1, | |||
R2, | |||
id_choices1, | |||
id_choices2, | |||
N1, | |||
N2, | |||
R_in, | |||
bar_rect, | |||
z_coord, | |||
add_orient = True |
|||
) |
Definition at line 270 of file problem_setup.py.
References does_intersect_with_cylindrical_wall(), get_max(), get_ref_drum_points(), get_ref_hex_points(), and get_ref_triangle_points().
problem_setup.particle_locations | ( | inp_dir, | |
pp_tag, | |||
center, | |||
padding, | |||
max_y, | |||
mesh_size, | |||
R1, | |||
R2, | |||
id_choices1, | |||
id_choices2, | |||
Nmax, | |||
R_in, | |||
bar_rect, | |||
z_coord, | |||
add_orient = True |
|||
) |
Definition at line 287 of file problem_setup.py.
References does_intersect_with_cylindrical_wall(), and get_max().
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.particle_locations | ( | inp_dir, | |
pp_tag, | |||
center, | |||
padding, | |||
max_y, | |||
mesh_size, | |||
R1, | |||
R2, | |||
id_choices1, | |||
id_choices2, | |||
R_in, | |||
bar_rect, | |||
z_coord, | |||
add_orient = True |
|||
) |
Definition at line 270 of file problem_setup.py.
References copy_contact_zone(), create_input_file(), does_intersect_with_cylindrical_wall(), generate_cir_particle_gmsh_input(), generate_drum2d_particle_gmsh_input(), generate_hex_particle_gmsh_input(), generate_tri_particle_gmsh_input(), generate_wall_gmsh_input(), get_E(), get_eff_k(), get_G(), get_max(), get_ref_drum_points(), get_ref_hex_points(), get_ref_triangle_points(), particle_locations(), print_dbl_list(), write_contact_zone_part(), and write_material_zone_part().
problem_setup.particle_locations | ( | inp_dir, | |
pp_tag, | |||
R1, | |||
R2, | |||
offset | |||
) |
Generate particle location data
Definition at line 69 of file problem_setup.py.
problem_setup.particle_locations | ( | inp_dir, | |
pp_tag, | |||
R1, | |||
R2, | |||
offset, | |||
w1_rect_five_format, | |||
w2_rect_five_format | |||
) |
Generate particle location data
Definition at line 71 of file problem_setup.py.
problem_setup.particle_locations | ( | inp_dir, | |
pp_tag, | |||
R1, | |||
R2, | |||
rect, | |||
mesh_size, | |||
padding, | |||
add_orient = True |
|||
) |
Generate particle location data
Definition at line 151 of file problem_setup.py.
References does_intersect_rect(), get_max(), and get_ref_hex_points().
problem_setup.particle_locations_old | ( | inp_dir, | |
pp_tag, | |||
center, | |||
padding, | |||
max_y, | |||
mesh_size, | |||
R1, | |||
R2, | |||
id_choices1, | |||
id_choices2, | |||
N1, | |||
N2, | |||
rect, | |||
z_coord, | |||
add_orient = True |
|||
) |
Generate particle location data
Definition at line 547 of file problem_setup.py.
References get_center(), get_max(), get_ref_drum_points(), get_ref_hex_points(), get_ref_rect_points(), get_ref_triangle_points(), write_line_geo(), and write_point_geo().
problem_setup.particle_locations_orient | ( | inp_dir, | |
pp_tag, | |||
R1, | |||
R2, | |||
offset | |||
) |
Generate particle location data
Definition at line 83 of file problem_setup.py.
References rotate().
Referenced by generate_drum_particle_gmsh_input(), generate_wall_gmsh_input(), and particle_locations_orient().
problem_setup.particle_locations_orient | ( | inp_dir, | |
pp_tag, | |||
R1, | |||
R2, | |||
offset, | |||
w1_rect_five_format, | |||
w2_rect_five_format | |||
) |
Generate particle location data
Definition at line 88 of file problem_setup.py.
References create_input_file(), generate_particle_gmsh_input(), generate_wall_gmsh_input(), get_E(), get_eff_k(), get_G(), get_ref_drum_points(), particle_locations_orient(), print_dbl_list(), rect_to_five_param(), and rotate().
problem_setup.print_bool | ( | arg, | |
prefix = "" |
|||
) |
Definition at line 7 of file problem_setup.py.
problem_setup.print_dbl | ( | arg, | |
prefix = "" |
|||
) |
Definition at line 16 of file problem_setup.py.
problem_setup.print_dbl_list | ( | arg, | |
prefix = "" |
|||
) |
Definition at line 25 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_drum_particle_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_moving_wall_gmsh_input(), generate_particle_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), generate_wall_gmsh_input(), particle_locations(), and particle_locations_orient().
problem_setup.print_int | ( | arg, | |
prefix = "" |
|||
) |
Definition at line 21 of file problem_setup.py.
problem_setup.print_int_list | ( | arg, | |
prefix = "" |
|||
) |
Definition at line 37 of file problem_setup.py.
Referenced by copy_contact_zone(), serialize_matrix_list(), and write_cir_line_geo().
problem_setup.rect_to_five_param | ( | r | ) |
Definition at line 68 of file problem_setup.py.
Referenced by particle_locations_orient().
problem_setup.rotate | ( | p, | |
theta, | |||
axis | |||
) |
Definition at line 152 of file problem_setup.py.
Referenced by does_intersect(), get_center(), get_ref_drum_points(), get_ref_hex_points(), get_ref_rect_points(), get_ref_rect_points(), particle_locations_orient(), and particle_locations_orient().
problem_setup.serialize_matrix_list | ( | p | ) |
Definition at line 49 of file problem_setup.py.
References print_int_list().
Referenced by generate_rect_container_gmsh_input().
problem_setup.write_cir_line_geo | ( | geof, | |
l_id, | |||
p1_id, | |||
p2_id, | |||
p3_id | |||
) |
Definition at line 87 of file problem_setup.py.
References print_int_list().
Referenced by generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2(), and generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3().
problem_setup.write_contact_zone_part | ( | inpf, | |
R_contact_factor, | |||
damping_active, | |||
friction_active, | |||
beta_n_eps, | |||
friction_coeff, | |||
Kn_factor, | |||
beta_n_factor, | |||
zone_string, | |||
Kn | |||
) |
Definition at line 108 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.write_line_geo | ( | geof, | |
l_id, | |||
p1_id, | |||
p2_id | |||
) |
Definition at line 83 of file problem_setup.py.
Referenced by generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations_old().
problem_setup.write_material_zone_part | ( | inpf, | |
zone_string, | |||
horizon, | |||
rho, | |||
K, | |||
G, | |||
Gc | |||
) |
Definition at line 123 of file problem_setup.py.
Referenced by create_input_file(), generate_cylindrical_wall_gmsh_input(), generate_moving_rect_wall_gmsh_input(), generate_rect_container_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations().
problem_setup.write_point_geo | ( | geof, | |
p_id, | |||
x, | |||
h | |||
) |
Definition at line 79 of file problem_setup.py.
Referenced by generate_rect_container_gmsh_input(), generate_rect_floor_gmsh_input(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type2(), generate_rectangle_with_protrusion_and_opening_wall_gmsh_input_type3(), and particle_locations_old().
str problem_setup.inp_dir = './' |
----------------------------------------------------—## ----------------------------------------------------—##
Definition at line 1219 of file problem_setup.py.
int problem_setup.pp_tag = 0 |
Definition at line 1220 of file problem_setup.py.