ONSAS / ONSAS.jl

An Open Nonlinear Structural Analysis Solver in Julia
MIT License
6 stars 0 forks source link

Replace static analysis to linear in `cantilever.jl` #500

Open mvanzulli opened 2 weeks ago

mvanzulli commented 2 weeks ago

The example is linear, so there is no need to run a non-linear analysis.

mvanzulli commented 2 weeks ago

Sth like this:

"Return the problem solution"
function solve()
    s = structure()
    # -------------------------------
    # Structural Analysis
    # -------------------------------
    (; NSTEPS) = parameters()
    sa = LinearStaticAnalysis(s; NSTEPS)
    # -------------------------------
    # Numerical solution
    # -------------------------------
    sol = solve!(sa)
end;

should be enough ⭕