SPH
Public Member Functions | List of all members
EquilibriumStressSolver Class Reference

Solves for total stress tensor sigma. More...

#include <EquilibriumSolver.h>

Public Member Functions

 EquilibriumStressSolver (IScheduler &scheduler, const RunSettings &settings, const EquationHolder &equations)
 Constructs the solver. More...
 
 ~EquilibriumStressSolver ()
 
Outcome solve (Storage &storage, Statistics &stats)
 Computed pressure and deviatoric stress are placed into the storage. More...
 
void create (Storage &storage, IMaterial &material)
 Creates all the necessary quantities in the storage. More...
 

Detailed Description

Solves for total stress tensor sigma.

Note
Equations to be solved cannot be specified at the moment, that would require a lot of extra work and it is not needed. Will be possibly extended in the future.

Definition at line 46 of file EquilibriumSolver.h.

Constructor & Destructor Documentation

◆ EquilibriumStressSolver()

EquilibriumStressSolver::EquilibriumStressSolver ( IScheduler scheduler,
const RunSettings settings,
const EquationHolder equations 
)

Constructs the solver.

Parameters
equationsAdditional forces. The forces can depend on spatial derivatives, but must be independent on both pressure and deviatoric stress. All quantities appearing in these equations are considered parameters of the problem, solver cannot be used to solve other quantities than the total stress tensor.

◆ ~EquilibriumStressSolver()

EquilibriumStressSolver::~EquilibriumStressSolver ( )

Member Function Documentation

◆ create()

void EquilibriumStressSolver::create ( Storage storage,
IMaterial material 
)

Creates all the necessary quantities in the storage.

◆ solve()

Outcome EquilibriumStressSolver::solve ( Storage storage,
Statistics stats 
)

Computed pressure and deviatoric stress are placed into the storage.

This overrides previously stored values. Values of internal energy are computed using an equation of state.


The documentation for this class was generated from the following file: