Input File

A PeriLab input deck is a YAML file with a single top-level key PeriLab. Its sections are read and checked against the parameter declarations in the source; unknown keys are errors (run with --no_strict or set Strict Validation: false to get warnings instead). Every key, its type, default and allowed range is listed in the generated input sections and input models reference.

PeriLab:
  Discretization:            # mesh, node sets, bond filters
    Type: "Text File"
    Input Mesh File: "mesh.txt"
    Node Sets:
      Node Set 1: "ns_bottom.txt"
      Node Set 2: "ns_top.txt"
  Models:                    # named models; blocks refer to them by name
    Material Models:
      Aluminium:
        Material Model: "PD Solid Elastic"
        Symmetry: "isotropic plane strain"
        Young's Modulus: 70000.0
        Poisson's Ratio: 0.3
    Damage Models:
      Damage:
        Damage Model: "Critical Stretch"
        Critical Value: 0.01
  Blocks:                    # one entry per block of the mesh
    block_1:
      Block ID: 1
      Material Model: "Aluminium"
      Damage Model: "Damage"
      Density: 2.7e-9
      Horizon: 0.3
  Boundary Conditions:
    BC_1:
      Type: "Dirichlet"
      Variable: "Displacements"
      Node Set: "Node Set 1"
      Coordinate: "y"
      Value: "0"
    BC_2:
      Type: "Dirichlet"
      Variable: "Displacements"
      Node Set: "Node Set 2"
      Coordinate: "y"
      Value: "0.1*t"
  Outputs:
    Output1:
      Output Filename: "result"
      Number of Output Steps: 50
      Output Variables:
        Displacements: true
        Damage: true
  Solver:
    Initial Time: 0.0
    Final Time: 1.0e-3
    Damage Models: true
    Verlet:
      Safety Factor: 0.9
SectionContentReference
Discretizationmesh file, node sets, bond filters, surface extrusion, influence functionDiscretization, mesh input, bond filters
Modelsmaterial, damage, thermal, additive and degradation models, pre-calculationsinput models, models
Blocksper mesh block: density, horizon and the names of its modelsBlocks
Boundary ConditionsDirichlet / Neumann conditions on node sets, values as expressions in t, x, y, zboundary conditions, Boundary Conditions
Solver or Multistep Solvertime range, active model types, one solverSolver, solver options
OutputsExodus or CSV output sets and their variablesOutputs, output
Compute Class Parametersglobal values (sum, maximum, ...) of blocks or node sets for CSV outputCompute Class Parameters
Contactcontact models between blockscontact
FEMfinite element blocks and FE-PD couplingFEM
Surface Correctioncorrection of the surface effectSurface Correction

In a Julia session, PeriLab.describe("Blocks") prints the keys of a section or a model and PeriLab.describe("Blocks"; template = true) a YAML block to start from. The typed structs the deck is read into are described in the developer guide.