-
Notifications
You must be signed in to change notification settings - Fork 0
cupc
\titlepage
- Numerical partial differential equations (PDEs)
- Dependent types
- Lisps/Schemes
- Functional programming/Theorem provers
\tableofcontents
- Characterize environment from its electric field
- generates field with EOD[fn:: Electric Organ Discharge]
- senses perturbation on skin
- locates object
- EOD → Plane of point charges
- Object → Dielectric constant
- Perturbation = Object field - Empty field
\pause FEniCSx can help!
FEniCSx can …
- Make a mesh
- where we save our solution
- Object → Dielectric constant
- mark location & value on mesh
- EOD → Plane charge
- define as source term
- Solve → Object field
- Same thing without object
./pix/un-refn-mesh.jpeg \pause
Object field - Empty fieldCross section of 3D mesh \pause
Empty field (point charges) has exact solution
- finer mesh \(\implies\) lower error, hopefully
- even finer mesh → high performance computing
\pause
\tableofcontents
2 key players
- EOD
- Dielectric object
\pause Now what?
\pause Your turn, I told you all the steps
\pause Also my thesis with Greg Lewis
\pause https://faculty.uoit.ca/lewis
https://github.com/MaxCan-Code/thesis
- Stuck: Apptainer on Graham
- Read-only container → MPI breaks
- MPI works outside
- Easy way to solve PDEs with FEM
- DSL for variational form (UFL)
- Python interface
- FOSS
Learn more: "FEniCSx doc/tutorial"
- Apptainer
- Slurm
- Unix
- shell
- ssh
\[ ε e ∇ 2\underbrace{ψ e}\text{Empty field} = \underbrace{∑ qi δ (xi )}\text{point sources} \]
- Field perturbed by dielectric object \( S\ ( ψ o ) \):
\[
∇ \cdotp (ε ∇ ψ o )=∑ qi δ (xi ), \qquad
ε =\begin{cases}
ε i & \text{internal to } S
ε e & \text{external to } S
\end{cases}
\]
\[ \underbrace{δ ψ }\text{Perturbation} =ψ o -ψ e \]
- Natural (Neumann) BC: (\( ∇ ψ \cdotp \vec{n} = 0 \)) on boundary
\[ ∇ \cdotp (ε ∇ ψ o )=∑ qi δ (xi ) \]
- Multiply the PDE by a function \( v \)
- Integrate the resulting equation over the domain \( Ω \)
\[ ∫ Ω [ ∇ \cdotp (ε ∇ ψ o )] v\ \mathrm{d} x = ∫ Ω fv\ \mathrm{d} x = ∑ qi∫ Ω δ (xi )v\ \mathrm{d} x \] \[ ∫ Ω ε ∇ ψo \cdotp ∇ v\ \mathrm{d} x = ∑ qi v(xi ) \]
- Weaker continuity requirement on \( ε\psio \)