Home

Awesome

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build status codecov Latest documentation

FinEtoolsFlexStructures.jl

FinEtools used for

Current limitations

News

Past news

Tutorials

There are a number of tutorials explaining the use of this package. Check out the index. The are tutorials themselves can be executed as follows:

git clone https://github.com/PetrKryslUCSD/FinEtoolsFlexStructures.jl.git
using Pkg; Pkg.activate("."); Pkg.instantiate();
include("circle_modal_tut.jl")

When running a tutorial with graphical plotting in VSCode, make sure to turn off (uncheck) "Julia: Use Plot Pane" in the Preferences. Otherwise the animations will not work.

Charts and such are plotted with Gnuplot. Please make sure you have that installed in such a place that Julia REPL can find it.

Examples

Let us assume that the working directory is "FinEtoolsFlexStructures.jl", perhaps as a result of cloning the repository.

The project needed for running examples can be activated and initialized by

using Pkg; Pkg.activate("./examples"); Pkg.instantiate();

There are a number of examples, which may be executed as described in the conceptual guide to [FinEtools] (https://github.com/PetrKryslUCSD/FinEtools.jl). As an example:

julia> include(".\\examples\\shells\\dynamics\\dcbs_vibration_examples.jl")                 
WARNING: replacing module dbcs_vibration_examples.             
[ Info: All examples may be executed with                      
using .Main.dbcs_vibration_examples; Main.dbcs_vibration_examples.allrun()       
                  
julia> using .Main.dbcs_vibration_examples; Main.dbcs_vibration_examples.allrun()                         
                  
#####################################################          
# test_convergence
[ Info: FV12 free vibration, formulation=FinEtoolsFlexStructures.FEMMShellT3FFModule                        
[ Info: Mesh: 1 elements per side
count(fens) = 143 
fs = [21.613635088738015, 29.23401281588026, 30.925491823018966, 34.36778956332975]                         
[ Info: Mesh: 2 elements per side   
count(fens) = 567 
fs = [20.569847475978634, 26.277349178877216, 30.027181006351178, 30.68607366768112]                        
[ Info: Mesh: 3 elements per side   
count(fens) = 2255
fs = [20.350441226155656, 25.67267626791537, 29.124064583761363, 30.620439988286456]                        
[ Info: Mesh: 4 elements per side   
count(fens) = 8991
fs = [20.301524870325565, 25.533290848730623, 28.914284995255777, 30.620822302876647]                       
true      

There is usually some indication of what the correct answer should be in the document string of the module: refer to the Julia file defining the examples.

Visualization

This is possible with PlotlyJS.jl with the package VisualStructures. Static plots or animation of deformation during a static or dynamic simulation can be done.

Export to Paraview is also available. Static pictures and time collections (useful for animations) are supported this way.

Documentation

<a name="past-news"></a>Past news