Physics
General methods and abstract types
Cthonios.AbstractPhysics
— Typeabstract 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
Cthonios.num_fields
— Methodnum_fields(_::Cthonios.AbstractPhysics{NF, NP, NS}) -> Any
Cthonios.num_properties
— Methodnum_properties(
_::Cthonios.AbstractPhysics{NF, NP, NS}
) -> Any
Cthonios.num_states
— Methodnum_states(_::Cthonios.AbstractPhysics{NF, NP, NS}) -> Any
Lagrangian Solid Mechanics
Cthonios.SolidMechanics
— Typestruct 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
Cthonios.energy
— Methodenergy(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$
Cthonios.gradient
— Methodgradient(
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$
Cthonios.hessian
— Methodhessian(physics::Cthonios.SolidMechanics, cell, u_el) -> Any
Poisson
Cthonios.Poisson
— Typestruct Poisson{F} <: Cthonios.AbstractPhysics{1, 0, 0}
func::Any
Cthonios.energy
— Methodenergy(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$
Cthonios.gradient
— Methodgradient(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$
Cthonios.hessian
— Methodhessian(_::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$