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.AbstractSection
— Typeabstract type AbstractSection
Abstract base type for sections (both for input and internal).
Cthonios.AbstractSectionInput
— Typeabstract type AbstractSectionInput <: Cthonios.AbstractSection
Abstract type for section inputs.
Cthonios.AbstractSectionInternal
— Typeabstract type AbstractSectionInternal{P, F} <: Cthonios.AbstractSection
Abstract type for section internals. P
corresponds to the physics
F
corresponds to the formulation
Cthonios.Section
— Typestruct 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
Cthonios.SectionInternal
— Typestruct 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
Cthonios.SectionInternal
— MethodSectionInternal(
mesh,
dof,
section
) -> Cthonios.SectionInternal
Constructor for SectionInternal
. mesh
- FileMesh
object. dof
- DofManager
object. section
- SectionInput
object.
Base.size
— Methodsize(
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
Cthonios.num_fields
— Methodnum_fields(section::Cthonios.AbstractSection) -> Any
Retrieves the number of fields for the physics
in section
Cthonios.num_properties
— Methodnum_properties(section::Cthonios.AbstractSection) -> Any
Retrieves the number of properties for the physics
in section
Cthonios.num_states
— Methodnum_states(section::Cthonios.AbstractSection) -> Any
Retrieves the number of states for the physics
in section