Boundary Conditions

Cthonios.DirichletBCType
struct DirichletBC{N, D, F} <: Cthonios.AbstractBCInput
  • nset_name::Any

  • dofs::Any

  • func::Any

Base Dirichlet boundary condition type used for inputs either from a script or input file. nset_name corresponds to the name of the node set in the exodus file, dofs correspond to the indexed fields this bc is to be applied to, and func is the function to apply to the fields.

source
Cthonios.DirichletBCInternalType
struct DirichletBCInternal{N, D, F} <: Cthonios.AbstractBCInternal
  • nodes::Any

  • dofs::Any

  • func::Any

Base internal Dirichlet boundary condition used for internal purposes. nodes corresponds to the node ids this BC is to be applied to, dofs is the set of degrees of freedoms this bc is to be applied to, and func is the function to apply to a field on the dofs.

source
Cthonios.DirichletBCInternalMethod
DirichletBCInternal(
    mesh,
    bc::DirichletBC,
    n_dofs::Int64
) -> Cthonios.DirichletBCInternal{_A, Vector{Int64}} where _A

Constructor for internal Dirichlet boundary condition. mesh is the exodus mesh to read node sets from, bc is the DirichletBC input, and n_dofs is the total number of fields in the problem.

source