Sections

Within Cthonios, sections refer to groups or "blocks" of elements that share a common element topology and material model. We allow by default for each element to possess different fixed material properties and an arbitrary number of state variables. Since the material model is the same for all elements in a section, the number of state variables will be the same at each element/quadrature point.

Input file syntax

TODO

Cthonios.AbstractSectionInternalType
abstract type AbstractSectionInternal{P, F} <: Cthonios.AbstractSection

Abstract type for section internals. P corresponds to the physics F corresponds to the formulation

source
Cthonios.SectionType
struct Section{P} <: Cthonios.AbstractSectionInput
  • physics::Any

  • block_name::String

  • q_order::Int64

Section inputs. physics - Physics object to use in this section. block_name - Name of exodus block to construct section from. q_order - Quadrature Order to use

source
Cthonios.SectionInternalType
struct SectionInternal{P, F} <: Cthonios.AbstractSectionInternal{P, F}
  • physics::Any

  • block_name::String

  • fspace::Any

Section internals. physics - Physics object to use in this section. block_name - Name of exodus block to construct section from. fspace - Function space for this element type

source
Cthonios.SectionInternalMethod
SectionInternal(
    mesh,
    dof,
    section
) -> Cthonios.SectionInternal

Constructor for SectionInternal. mesh - FileMesh object. dof - DofManager object. section - SectionInput object.

source
Base.sizeMethod
size(
    section::Cthonios.AbstractSectionInternal
) -> NTuple{4, Any}

Retrieves the sizes of a section in the following tuple (ND, NN, NP, NS) where ND - Number of dimensions NN - Number of nodes per element NP - Number of properties NS - Number of states

source
Cthonios.num_fieldsMethod
num_fields(section::Cthonios.AbstractSection) -> Any

Retrieves the number of fields for the physics in section

source
Cthonios.num_propertiesMethod
num_properties(section::Cthonios.AbstractSection) -> Any

Retrieves the number of properties for the physics in section

source
Cthonios.num_statesMethod
num_states(section::Cthonios.AbstractSection) -> Any

Retrieves the number of states for the physics in section

source