mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-26 20:01:32 +00:00
650e442a37
- Add blank line after 'This example shows:' for markdown lint compliance - Minor formatting fix only, no content changes
898 B
898 B
Gmsh Heat Equation Example
Complete workflow demonstration addressing Issue #183.
Quick Links
- Working Example:
gmsh_heat_equation.jl - Gmsh Geometry:
unit_square.geo - Comprehensive Tutorial:
../../docs/book/gmsh_tutorial.md
What's Here
This example shows:
- Mesh generation with Gmsh
- Loading mesh into JuliaFEM
- FEM assembly (K and M matrices)
- Extracting matrices for external solvers
- Integration with DifferentialEquations.jl
Academic Usage (Issue #183)
If you want JuliaFEM for discretization only (not built-in physics):
# After assembly:
K = problem.assembly.K # Stiffness matrix
M = problem.assembly.M # Mass matrix
f = problem.assembly.f # Force vector
# ODE system: M * du/dt = -K * u + f
# Now use with your own solver!
See tutorial for complete explanation.