jguterl / DifferentialOperators.jl

MIT License
0 stars 0 forks source link

MHD equation #2

Open jguterl opened 5 months ago

jguterl commented 5 months ago
halpernf commented 5 months ago

Brendan wants just Faraday induction, not the full MHD model

jguterl commented 5 months ago

We have enough information: Problem

eq1 = ∂ₜ(B, Δt) - ∇ × (η × (∇ × B)) #, :sf => Δt/B0
J = (∇ × B)

vars = variables(B)
eqs = equations(eq1)
bcs = boundary_conditions(grid.n ⋅ B - 0.0, grid.n ⋅ J - 0.0, grid.e.z ⋅ B - 0.0)