File size: 2,838 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | import Mathlib
import OAI.Analysis.Conductivity.Sources.LocalPiola
import OAI.Analysis.Conductivity.Variational.CompactSymmetricMoments
import OAI.Analysis.Conductivity.Flux.CompactFluxDivergence
namespace OAI
noncomputable section
namespace ScalarConductivity
open Set MeasureTheory Matrix
open scoped Matrix.Norms.Elementwise
def symmetricSource (H : Coord3 β Mat3) (u : Coord3 β Fin 2 β β) (j : Fin 2) : Coord3 β β :=
coordinateDivergence (fun x => (H x*gradientColumns (fderiv β u x)).col j)
lemma symmetricFlux_smooth {H : Coord3 β Mat3} {u : Coord3 β Fin 2 β β}
(hH : ContDiff β (β(β€ : ββ)) H) (hu : ContDiff β (β(β€ : ββ)) u) (j : Fin 2) :
ContDiff β (β(β€ : ββ)) (fun x => (H x*gradientColumns (fderiv β u x)).col j) := by
have hm : ContDiff β (β(β€ : ββ)) (fun x => H x*gradientColumns (fderiv β u x)) := by
rw [contDiff_iff_contDiffAt]
intro x
exact contDiffAt_matrix_mul hH.contDiffAt (contDiff_gradientColumns u hu).contDiffAt
apply contDiff_pi.mpr
intro i
exact contDiff_pi.mp (contDiff_pi.mp hm i) j
lemma symmetricFlux_compact {H : Coord3 β Mat3} (hH : HasCompactSupport H)
(u : Coord3 β Fin 2 β β) (j : Fin 2) :
HasCompactSupport (fun x => (H x*gradientColumns (fderiv β u x)).col j) :=
hH.of_isClosed_subset isClosed_closure (tensorColumn_tsupport H _ j)
theorem symmetric_cutoff_sources
(H : Coord3 β Mat3) (hH : ContDiff β (β(β€ : ββ)) H) (hs : HasCompactSupport H)
(hsy : β x,(H x).IsSymm)
(u : Coord3 β Fin 2 β β) (hu : ContDiff β (β(β€ : ββ)) u) :
(β j,ContDiff β (β(β€ : ββ)) (symmetricSource H u j)) β§
(β j,HasCompactSupport (symmetricSource H u j)) β§
(β j (Ο : Coord3 β β),ContDiff β (β(β€ : ββ)) Ο β
(β« x,fderiv β Ο x ((H x*gradientColumns (fderiv β u x)).col j))=
-(β« x,Ο x*symmetricSource H u j x)) β§
(β« x,symmetricSource H u 0 x)=0 β§ (β« x,symmetricSource H u 1 x)=0 β§
(β« x,u x 1*symmetricSource H u 0 x-u x 0*symmetricSource H u 1 x)=0 := by
have hr (j : Fin 2) : ContDiff β (β(β€ : ββ)) (symmetricSource H u j) :=
coordinateDivergence_smooth (symmetricFlux_smooth hH hu j)
have hsr (j : Fin 2) : HasCompactSupport (symmetricSource H u j) :=
coordinateDivergence_compact (symmetricFlux_compact hs u j)
have hw (j : Fin 2) (Ο : Coord3 β β) (hΟ : ContDiff β (β(β€ : ββ)) Ο) :
(β« x,fderiv β Ο x ((H x*gradientColumns (fderiv β u x)).col j))=
-(β« x,Ο x*symmetricSource H u j x) :=
coordinateDivergence_weak (symmetricFlux_smooth hH hu j) (symmetricFlux_compact hs u j) Ο hΟ
exact β¨hr,hsr,hw,compact_symmetric_source_moments u hu H hsy _ hr hsr hwβ©
end ScalarConductivity
end
end OAI
|