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 AbstractSectionAbstract base type for sections (both for input and internal).
Cthonios.AbstractSectionInput — Typeabstract type AbstractSectionInput <: Cthonios.AbstractSectionAbstract type for section inputs.
Cthonios.AbstractSectionInternal — Typeabstract type AbstractSectionInternal{F, P} <: Cthonios.AbstractSectionAbstract type for section internals. P corresponds to the physics F corresponds to the formulation
Cthonios.Section — Typestruct Section{P, M} <: Cthonios.AbstractSectionInputblock_name::Stringq_order::Int64physics::Anyprops::Any
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{F, P<:Cthonios.AbstractPhysics, M} <: Cthonios.AbstractSectionInternal{F, P<:Cthonios.AbstractPhysics}block_id::Int64q_order::Int64fspace::Anyphysics::Cthonios.AbstractPhysicsprops::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::DofManager,
section
) -> Cthonios.SectionInternal{F} where F<:(NonAllocatedFunctionSpace{_A, _B, FiniteElementContainers.VectorizedElementField{T, N, NN, NE, Vals}, _C, ReferenceFiniteElements.ReferenceFE{Itype, Ftype, Etype, SEType, Backend, EdgeNodes, FaceNodes, InteriorNodes, Coords, CellInterps, SurfaceCoords, SurfaceInterps}} where {_A, _B, T, N, NN, NE, Vals<:AbstractVector{T}, _C<:(ElementField), Itype, Ftype, Etype, SEType, Backend, EdgeNodes, FaceNodes, InteriorNodes, Coords, CellInterps, SurfaceCoords, SurfaceInterps})
Constructor for SectionInternal. mesh - FileMesh object. dof - DofManager object. section - SectionInput object.
Cthonios.SurfaceSectionInternal — Typestruct SurfaceSectionInternal{F, P<:Cthonios.AbstractPhysics, M, B} <: Cthonios.AbstractSectionInternal{F, P<:Cthonios.AbstractPhysics}block_id::Int64q_order::Int64fspace::Anyphysics::Cthonios.AbstractPhysicsprops::Anybc::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
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