PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
problem.py File Reference

Go to the source code of this file.

Namespaces

namespace  problem
 

Functions

list[dict[str, float]] problem.read_sites (str|os.PathLike[str] csv=CSV)
 
Deck problem.build_deck (str|os.PathLike[str] output_path="runs/out/", *str preset="short", float|None final_time=None, int|None num_steps=None, int|None output_interval=None, float omega=OMEGA, str|os.PathLike[str] mesh_dir=MESH_DIR, str|os.PathLike[str] csv=CSV)
 
int problem.main (list[str]|None argv=None)
 

Variables

 problem.HERE = Path(__file__).resolve().parent
 
str problem.MESH_DIR = HERE / "meshes"
 
str problem.CSV = HERE / "particle_locations_0.csv"
 
float problem.HORIZON = 6.0e-4
 
float problem.DENSITY = 1200.0
 
float problem.R_IN = 0.02
 
 problem.R_SMALL
 
 problem.R_LARGE
 
float problem.OMEGA = -20.0 * math.pi
 
float problem.GRAVITY = 10.0
 
dict problem.R_REF = {0: R_SMALL, 1: R_SMALL, 2: R_SMALL, 3: R_LARGE, 4: R_LARGE, 5: R_LARGE}
 
list problem.MESH_FILES
 
list problem.WALL_PARAMS
 
dict problem.KN
 
dict problem.K_MAT = {0: 1.0e4, 1: 1.0e5, 2: 1.0e5}
 
float problem.KN_FACTOR = 1.0
 
list problem.GRAIN_SHAPES
 
dict problem.PRESETS
 
list problem.TAGS