Files
JuliaFEM.jl/examples/gmsh_heat_equation/QUICK_START.md
T
Jukka Aho 650e442a37 docs(examples): Fix formatting in gmsh_heat_equation QUICK_START
- Add blank line after 'This example shows:' for markdown lint compliance
- Minor formatting fix only, no content changes
2025-11-10 22:26:55 +02:00

898 B

Gmsh Heat Equation Example

Complete workflow demonstration addressing Issue #183.

  • Working Example: gmsh_heat_equation.jl
  • Gmsh Geometry: unit_square.geo
  • Comprehensive Tutorial: ../../docs/book/gmsh_tutorial.md

What's Here

This example shows:

  1. Mesh generation with Gmsh
  2. Loading mesh into JuliaFEM
  3. FEM assembly (K and M matrices)
  4. Extracting matrices for external solvers
  5. 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.