Step 81 - tutorial - Maxwell Equations

44 views
Skip to first unread message

Pratyusa Kar

unread,
Feb 27, 2025, 1:46:13 PM2/27/25
to deal.II User Group
Hi, 

I have a question in code mentioned in step - 81 tutorial. 

I see the discretized form is written as (attached image).
Aij=Ω(μ1r×φj)(×φ¯i)dxΩεrφjφ¯idxiΣ(σΣrφjT)φ¯iTdoxiΩ(μ1rεφjT)(×φ¯iT)dox,

Fi=iΩJaφi¯dxΩμ1rMa(×φi¯)dx.


But in the code, 
the magnetization term in the cell_rhs is absent. 
This part of the rhs accounts for interior domain.

My question is: The reason of omitting that term is PML boundary condition? or assumption Ma = 0? 

I am not able to understand the flow here. 

I would request some help with this. 

const auto rhs_value =
                  (imag * scalar_product(J_a, phi_i)) *
fe_values.JxW(q_point);
                cell_rhs(i) += rhs_value.real();


Thanks & Regards, 
Pratyusa Kar
Reply all
Reply to author
Forward
0 new messages