kaipartmann / Peridynamics.jl

A Julia package for parallel peridynamics simulations
https://kaipartmann.github.io/Peridynamics.jl/
MIT License
32 stars 7 forks source link

Enhanced logging #104

Closed kaipartmann closed 3 weeks ago

kaipartmann commented 3 weeks ago

Simulation output now looks like this:


           _____         _     _                             _
          | ___ \       (_)   | |                           (_)
          | |_/ /__ _ __ _  __| |_   _ _ __   __ _ _ __ ___  _  ___ ___
          |  __/ _ \ '__| |/ _` | | | | '_ \ / _` | '_ ` _ \| |/ __/ __|
          | | |  __/ |  | | (_| | |_| | | | | (_| | | | | | | | (__\__ \
          \_|  \___|_|  |_|\__,_|\__, |_| |_|\__,_|_| |_| |_|_|\___|___/
                                  __/ |
                                 |___/   Copyright (c) 2024 Kai Partmann

MULTITHREADING SIMULATION WITH 6 THREADS
BODY
  POINT CLOUD
    number of points ....................................................... 21600
    min, max values x-direction ............................ -0.4916667, 0.4916667
    min, max values y-direction ............................ -0.4916667, 0.4916667
    min, max values z-direction .......................... -0.04166667, 0.04166667
  POINT SETS
    number of points in set `set_top` ........................................ 360
    number of points in set `set_bottom` ..................................... 360
    number of points in set `set_a` ......................................... 1080
    number of points in set `set_b` ......................................... 1080
  CONDITIONS
    number of BC's ............................................................. 2
  MATERIAL
    material type ....................................... BBMaterial{NoCorrection}
    horizon .............................................................. 0.05025
    density ................................................................ 8e-06
    Young's modulus ....................................................... 210000
    Poisson's ratio ......................................................... 0.25
    shear modulus .......................................................... 84000
    bulk modulus .......................................................... 140000
DATA HANDLER CREATION COMPLETED ✓
BOND SYSTEM
  number of bonds ........................................................ 2048896
VELOCITY VERLET TIME SOLVER
  number of time steps ...................................................... 2000
  time step size .................................................... 6.298846e-08
  time step safety factor .................................................... 0.7
  simulation time ................................................... 0.0001259769
TIME INTEGRATION LOOP 100%|████████████████████████████████████████| Time: 0:00:04
codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 96.42857% with 6 lines in your changes missing coverage. Please review.

Project coverage is 89.34%. Comparing base (a0e9181) to head (92aeca6).

Files Patch % Lines
src/discretization/body.jl 87.87% 4 Missing :warning:
src/core/time_solvers.jl 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #104 +/- ## ========================================== + Coverage 88.30% 89.34% +1.03% ========================================== Files 41 41 Lines 2412 2572 +160 ========================================== + Hits 2130 2298 +168 + Misses 282 274 -8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.