Physics

General methods and abstract types

Cthonios.AbstractPhysicsType
abstract type AbstractPhysics{NF, NP, NS}

NF - Number of fields in this physics

NP - Number of properties in this physics

NS - Number of states in this physics

source

Lagrangian Solid Mechanics

Cthonios.SolidMechanicsType
struct SolidMechanics{NF, NP, NS, Mat<:ConstitutiveModels.ConstitutiveModel{NP, NS}, Form<:FiniteElementContainers.AbstractMechanicsFormulation{NF}} <: Cthonios.AbstractPhysics{NF, NP, NS}
  • material_model::ConstitutiveModels.ConstitutiveModel

  • formulation::FiniteElementContainers.AbstractMechanicsFormulation

source
Cthonios.energyMethod
energy(physics::Cthonios.SolidMechanics, cell, u_el) -> Any

Energy method at the quadrature level for Lagrangian solid mechanics. This equivalent to the quadrature point calculation needed for the following integral $\Pi = \int_\Omega\psi\left(\mathbf{F}\right)d\Omega$

source
Cthonios.gradientMethod
gradient(
    physics::Cthonios.SolidMechanics,
    cell,
    u_el
) -> Any

Gradient method at the quadrature level for Lagrangian solid mechanics. This equivalent to the quadrature point calculation needed for the following integral $\mathbf{f} = \int_\Omega\mathbf{P}:\delta\mathbf{F}d\Omega$

source

Poisson

Cthonios.energyMethod
energy(physics::Poisson, cell, u_el) -> Any

Energy method for Poisson equation at a quadrature point $\Pi\left[u\right] = \int_\Omega \left[\frac{1}{2}\|\nabla u\|^2 - fu\right]d\Omega$

source
Cthonios.gradientMethod
gradient(physics::Poisson, cell, u_el) -> Any

Gradient method for Poisson equation at a quadrature point $g\left(u, v\right) = \int_\Omega \left[\nabla u\cdot\nabla v - fv\right]d\Omega$

source
Cthonios.hessianMethod
hessian(_::Poisson, cell, u_el) -> Any

Hessian method for Poisson equation at a quadrature point $H\left(u, v\right) = \int_\Omega \left[\nabla v\cdot\nabla v\right]d\Omega$

source