Exodus

Documentation for Exodus. <!–

–>

Exodus.ExodusModule
source
Exodus.BlockType
  • id::Any

  • num_elem::Int64

  • num_nodes_per_elem::Int64

  • elem_type::String

  • conn::AbstractMatrix

source
Exodus.ExodusDatabaseMethod

Type unstable helper to eliminate annoying lines of code to get type stability.

If you're looking for a type stable way to to open an exodus file, Simple copy past some of this into a barrier function

source
Exodus.LoadBalanceParametersType
  • num_int_nodes::Any

  • num_bor_nodes::Any

  • num_ext_nodes::Any

  • num_int_elems::Any

  • num_bor_elems::Any

  • num_node_cmaps::Any

  • num_elem_cmaps::Any

  • processor::Int32

source
Exodus.ParallelExodusDatabaseType
  • base_file_name::String

  • exos::Array{ExodusDatabase{M, I, B, F}, 1} where {M, I, B, F}

  • nem::ExodusDatabase{M, I, B, Float32} where {M, I, B}

  • mode::String

  • init_global::Initialization

  • lb_params::Array{Exodus.LoadBalanceParameters{B}, 1} where B

  • cmap_params::Array{Exodus.CommunicationMapParameters{B}, 1} where B

source
Exodus.read_nameMethod
read_name(
    exo::ExodusDatabase,
    _::Type{V<:Exodus.AbstractExodusVariable},
    var_index::Integer
) -> String

General method to read the name of a variable in index var_index for a given variable type V.

Examples: julia> readname(exo, ElementVariable, 1) "stressxx"

julia> readname(exo, GlobalVariable, 2) "reactionforce"

julia> readname(exo, NodalVariable, 1) "displx"

julia> readname(exo, NodeSetVariable, 1) "nsetdispl_x"

julia> read_name(exo, SideSetVariable, 1) "pressure"

read_name(exo, _, var_index)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/Variables.jl:49.

source
Exodus.read_namesMethod
read_names(
    exo::ExodusDatabase,
    _::Type{V<:Exodus.AbstractExodusVariable}
) -> Vector{String}

General method to read the names of variables for a given variable type V.

Examples: julia> readnames(exo, ElementVariable) "stressxx" "stressyy" "stresszz" "stressxy" "stressyz" "stress_zx"

julia> readnames(exo, GlobalVariable) "globaldispl" "reaction_force"

julia> readnames(exo, NodalVariable) "displx" "disply" "displz"

julia> readname(exo, NodeSetVariable) "nsetdisplx" "nsetdisply" "nsetdispl_z"

julia> read_name(exo, SideSetVariable) "pressure"

read_names(exo, _)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/Variables.jl:90.

source
Exodus.read_number_of_variablesMethod
read_number_of_variables(
    exo::ExodusDatabase,
    _::Type{V<:Exodus.AbstractExodusVariable}
) -> Int32

General method to read the number of variables for a given variable type V.

Examples: julia> readnumberof_variables(exo, ElementVariable) 6

julia> readnumberof_variables(exo, GlobalVariable) 5

julia> readnumberof_variables(exo, NodalVariable) 3

julia> readnumberof_variables(exo, NodeSetVariable) 3

julia> readnumberof_variables(exo, SideSetVariable) 6

read_number_of_variables(exo, _)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/Variables.jl:20.

source
Exodus.read_valuesMethod
read_values(
    exo::Exodus.ParallelExodusDatabase,
    t::Type{GlobalVariable},
    timestep::Integer
) -> Any

Wrapper method for global variables around the main readvalues method readvalues(exo::ParallelExodusDatabase, t::Type{GlobalVariable}, timestep::Integer) = read_values(exo, (t,), (timestep,), (1,), (1,))

Example: read_values(exo, GlobalVariable, 1)

read_values(exo, t, timestep)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/ParallelExodus.jl:394.

source
Exodus.read_valuesMethod
read_values(
    exo::ExodusDatabase,
    t::Type{GlobalVariable},
    timestep::Integer
) -> Vector

Wrapper method for global variables around the main readvalues method readvalues(exo::ExodusDatabase, t::Type{GlobalVariable}, timestep::Integer) = read_values(exo, t, timestep, 1, 1)

Example: read_values(exo, GlobalVariable, 1)

read_values(exo, t, timestep)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/Variables.jl:275.

source
Exodus.write_number_of_variablesMethod
write_number_of_variables(
    exo::ExodusDatabase,
    _::Type{V<:Exodus.AbstractExodusVariable},
    num_vars::Integer
)

General method to write the number of variables for a given variable type V.

Examples: julia> writenumberof_variables(exo, ElementVariable, 6)

julia> writenumberof_variables(exo, GlobalVariable, 5)

julia> writenumberof_variables(exo, NodalVariable, 3)

julia> writenumberof_variables(exo, NodeSetVariable, 3)

julia> writenumberof_variables(exo, SideSetVariable, 6)

write_number_of_variables(exo, _, num_vars)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/Variables.jl:362.

source
Exodus.write_valuesMethod
write_values(
    exo::ExodusDatabase,
    t::Type{GlobalVariable},
    timestep::Integer,
    var_values::Vector{<:AbstractFloat}
)

Wrapper method for global variables around the main writevalues method writevalues( exo::ExodusDatabase, t::Type{GlobalVariable}, timestep::Integer, varvalues::Vector{<:AbstractFloat} ) = writevalues(exo, t, timestep, 1, 1, var_values)

Note: you need to first run writenumberof_variables(exo, GlobalVariable, n) where n is the number of variables.

Example: writenumberofvariables(exo, GlobalVariable, 5) writevalues(exo, GlobalVariable, 1, [10.0, 20.0, 30.0, 40.0, 50.0])

write_values(exo, t, timestep, var_values)

defined at /home/runner/work/Exodus.jl/Exodus.jl/src/Variables.jl:441.

source