Skip to content

Short tutorials 5 to 9: constitutive models, fibre tube, magnetic beam, viscoelastic creep, heated bar - #10

Merged
jmartfrut merged 2 commits into
mainfrom
short-tutorials-3
Dec 4, 2026
Merged

jmartfrut merged 2 commits into
mainfrom
short-tutorials-3

Conversation

@jmartfrut

Copy link
Copy Markdown
Member

Short tutorials 5 to 9 (phase 2 of the plan), with the same rules as 1 to 4: weak forms written as integrals,
a sketch and a result figure, one final check.

  1. Choosing and writing a constitutive model (from E19): Ψ and P of a model at a given F, a user model
    (MyGent3D) checked by finite differences.
  2. A fibre-reinforced tube under pressure (from E03): anisotropic model, fibre field, follower pressure;
    checked against E03 on a finer mesh.
  3. A magnetic soft beam in a field (from E08): the magnetisation model of E08 (rotated with the material, load
    from the previous increment) on the same case; checked against E08's value.
  4. Creep of a viscoelastic actuator (from E16): internal variables (KernelState, state_updater); at long
    times the deflection of the elastic plate of tutorial 3.
  5. Heating a constrained bar (from E17): thermo-mechanical coupling; final stress against −E α ΔT.

110–123 lines (38–52 of code), 2–36 s each. The explicit forms give results identical to HyperFEM's
residual/jacobian, and the compiled backend compiles them without falling back to Gridap.

Checks: Pkg.test of the tutorials group with --depwarn=error (9 tutorials); every "Try it yourself" variant
run once; docs build OK. Independent review: no errors in the physics; fixed the statements of the assumptions
(heated bar) and of the references (tube, creep), and details of texts and figures.

…m, viscoelastic creep, heated bar

Five more short tutorials with explicit weak forms, a sketch and a result figure each, and one check against a
reference: finite differences of a user model, the fine-mesh result of E03, the elastica of a beam with an end
force, the elastic plate of tutorial 3, and the thermal stress of a constrained bar.
The magnetic beam uses the model of E08 (magnetisation rotated with the material, load from the previous
increment) on the same case, checked against the value of E08. Clearer statements of the assumptions of the
heated bar, of the reference of the fibre tube and of the creep, and small fixes in texts and figures.
@jmartfrut
jmartfrut merged commit 267a61b into main Dec 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant