# Numerical Implementation

## Body Discretization

By default, discretization of the volume under study is done into hexahedral zones. The user can also import a tetrahedral mesh (generated by an external mesher) into FLAC3D. The two types of body discretization are addressed:

**Hexahedral Meshing**

In FLAC3D, the general discretization of the body into hexahedral zones is performed by the user.
Several available procedures to help in this task are described in :flag2:`Section 3.2 in the User's Guide`

← oof, fix that
Each zone is discretized automatically by the code into sets of tetrahedra.
The user can decide to carry out the calculation using one overlay or a combination of two overlays.
The use of two overlays is recommended in regions of the medium where high gradients of stresses and deformations are expected.
By default, two overlays are prescribed for all zones in a model.
Also, the technique of mixed discretization is applied
to overcome the overly stiff behavior of uniform strain tetrahedra during plastic flow.

**Tetrahedral Meshing**

The NMD calculation carried out on a tetrahedral grid imported into FLAC3D uses only one overlay. Implementation of the nodal mixed discretization technique on strain is done using three calculation loops, performed just before calling the constitutive model:

- One loop on zones to distribute volumetric strain rate (as calculated from gridpoint velocities) and area/volume to gridpoints.
- A loop on gridpoints to evaluate the volume-weighted average of volumetric strain rate at the gridpoints.
- A loop on zones to calculate an average of volumetric strain rate using the gridpoint values, and assign the value to the zone.

Note that advantage can be taken of existing calculation loops to perform the task described above.

In case constitutive models which rely on an elastoplastic volumetric behavior are used, similar loops (based on stress) are used, after calling the constitutive model, to implement the nodal mixed discretization on stress.

## Initial and Boundary Conditions

The boundary conditions of the problem consist of surface tractions, concentrated loads and displacements. In addition, body forces may be given and initial stress conditions imposed. For implementation in the code, all stresses and nodal velocities are initially set to zero; then, initial stresses are specified. Concentrated loads are specified at given surface nodes, and imposed boundary displacements are prescribed in terms of nodal velocities. Body forces and surface tractions are transformed internally into a set of statically equivalent nodal forces. This constitutes the initial state of the numerical scheme.

## Main Calculation Steps

FLAC3D uses an explicit “time-marching” finite volume solution scheme; for every timestep, the calculation sequence can be summarized:

- New strain rates are derived from nodal velocities.
- Constitutive equations are used to calculate new stresses from the strain rates and stresses at the previous time.
- The equations of motion are invoked to derive new nodal velocities and displacements from stresses and forces.

The sequence is repeated at every timestep, and the maximum out-of-balance force in the model is monitored. This force will either approach zero, indicating that the system is reaching an equilibrium state, or it will approach a constant, nonzero value, indicating that a portion (or all) of the system is at steady-state (plastic) flow of material. The calculation may be interrupted at any point, in order to analyze the solution.

A summary of equations (derived in ref) that are used in the calculation sequence is presented below, for clarity. In the notation, superscripts are used to particularize a node or tetrahedron only when needed in the local context. Also, as before, the notation [[\(f\)]]\(^{<l>}\) represents the sum of contributions of type \(f\) at global node \(l\) of all tetrahedra having that node in common.

## Strain-Rate Calculation

Starting from a known velocity field, the components of the strain-rate tensor are computed, for each tetrahedron in a zone, using the finite volume formulation (Equation (15) in “Finite Volume Approximation to Space Derivatives”):

For the default hexahedral grid, a procedure of mixed discretization is then applied, and new diagonal strain-rate tensor components are calculated from Equations (3) and (4) in “Grid Discretization”. For a particular tetrahedron, now locally labeled \(l\) in the zone, these equations yield

where \(ξ^z\), the average value for the zone of the first strain-rate invariant, is calculated from

where \(n_t\) is the total number of tetrahedra involved in the zone computation, and \(V^{[k]}\) is the volume of a tetrahedron labeled \(k\).

For a tetrahedral grid, a technique of nodal mixed discretization on strain is applied.

## Stress Calculation

The constitutive equations are used in their incremental form \(H^*_{ij}\) to calculate stress increments for each tetrahedron in a zone (see Equations (46), (47), and (48) in “Constitutive Equations in Incremental Form”):

where

and \(\epsilon_{ij}\) is computed (using Equation (15) in “Finite Volume Approximation to Space Derivatives”) from

The stress correction \(Δσ^C_{ij}\) is not taken into consideration in small-strain mode. In large-strain mode, its value is given by Equations (49) and (50) in “Constitutive Equations in Incremental Form”:

where

New stress values are then derived by addition of the stress increments.

For the default hexahedral grid, a technique of mixed discretization is applied, and the diagonal components of the stress-tensor components are adjusted using Equations (7) and (8) in “Grid Discretization. For a particular tetrahedron, locally labeled \(l\) in the zone, these equations are

and

For a tetrahedral grid, a procedure of nodal mixed discretization on stress is used.

## Nodal Mass Calculation

The tetrahedron contribution \(m^l\) to the nodal mass at local node \(l\) is evaluated using Equation (64) in “Mechanical Timestep Determination for Numerical Stability” :

noting that the magnitude of the timestep is set equal to unity.

The nodal mass \(M\)\(^{<l>}\) at global node \(l\) is computed as the sum of contributions Equation (11) at the node of all tetrahedra having that node in common:

In the small-strain mode, the nodal mass calculation is only carried out once before cycling. In large-strain mode, values are updated every 10 steps.

## Out-of-Balance Force Calculation

The tetrahedron contribution [\(p\)]\(^l\) to the out-of-balance force at local node \(l\) is computed from the stresses and body forces using

(see Equation (21) and (41) in “Nodal Formulation of the Equations of Motion”.

The sum of contributions Equation (13) at global node \(l\) of all tetrahedra having that node in common is evaluated. Averaging over two overlays is carried out when appropriate, and the contributions [\(P\)]\(^{<l>}\) of applied loads and concentrated forces are added, thus providing the expression for the out-of-balance force [\(F\)]\(^{<l>}\) at global node \(l\):

The out-of-balance force is monitored to detect whether the system has reached a state of equilibrium or steady flow. The damping term is evaluated from Equation (66) in “Local Nonviscous Damping” as

and is added to the out-of-balance force.

## Velocity and Displacement Calculations

Equation (43) or (43) in “Explicit Finite Difference Approximation to Time Derivatives” is invoked, taking the damping into account, to derive new nodal velocities from known out-of-balance forces:

In turn, nodal displacements are evaluated using Equation (45) in “Explicit Finite Difference Approximation to Time Derivatives”:

## Geometry Update Calculation

In large-strain mode, node locations are updated using Equation (44) in “Explicit Finite Difference Approximation to Time Derivatives”, and the grid then deforms accordingly. For global node \(l\), we have

In small-strain mode, the geometry adjustment is neglected.

## Energy Calculation in FLAC3D

Elastic strain energy and dissipated plastic energy can be tracked for zones containing a mechanical model. FLAC3D uses an incremental solution procedure: the equations of motion (at the gridpoints) and the stress-strain calculations (at the zones) are solved every timestep. In the stress-strain equations, the incremental change in energy components is determined and accumulated as the system attempts to reach equilibrium.

**Energy Dissipation in Zones through Plastic Work**

Several plasticity models are available in FLAC3D which can describe the deformability of the zones. Energy is dissipated through plastic work as the zones undergo irreversible deformation. The strain in any zone can be divided into elastic and plastic parts.

The elastic strain energy (decomposed into deviatoric and volumetric components) is given by

where \(V\) is sub-tet volume, \(σ^d_{ij}\) is deviatoric stress and \(\bar \sigma\) is mean stress.

The change in elastic strain energy before and after the stress-strain equations are solved in a constitutive model is given by

Where \(W_e\) is the current elastic strain energy and \(Wʹ_e\) is the previous elastic strain energy. Equation (20) can be decomposed into shear and volumetric components: \(ΔW_{es}\) and \(ΔW_{ev}\).

The total shear energy change can be found from the total deviatoric strain and deviatoric stress:

The total volumetric change can be found from the total mean strain and mean stress:

The total shear plastic work dissipated during a timestep is the difference between the total shear energy and the elastic shear energy change at any timestep:

Similarly, the total volumetric plastic work dissipated during a timestep is

Each zone contains overlays of constant stress, strain tetrahedra. A volumetric average of the above energy components is calculated for the zone for an average energy dissipation increment for that zone. Each zone has four additional variables to accumulate dissipated plastic energy: \(W_{pv}\), \(W_{ps}\), \(W_{ev}\), \(W_{es}\).

Energy calculations in FLAC3D can be accessed through the `zone mechanical energy active`

on command
and through zone-based FISH functions
`zone.work.plastic.vol`

,
`zone.work.plastic.shear`

,
`zone.work.plastic.total`

,
`zone.work.elastic.vol`

,
`zone.work.elastic.shear`

, and
`zone.work.elastic.total`

.

Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Aug 19, 2023 |