ExCALIBUR-NEPTUNE / NESO

MIT License
4 stars 4 forks source link

Non-aligned boundary condition for ambipolar diffusion app #248

Closed jwscook closed 3 months ago

jwscook commented 4 months ago

There's a branch in nektar ambipolar diffusion app containing the start of this. Need to refactor to keep the magnetic field having calculated the anisotropy tensor.

jwscook commented 4 months ago

@futtersack is to bring the tokam code into the diffusion app but you need boundary conditions to work when using realistic geometry

jwscook commented 4 months ago

Had some pointers from DM

jwscook commented 3 months ago

Heard back from DM and resolved a segfault.

jwscook commented 3 months ago

Using https://github.com/ExCALIBUR-NEPTUNE/nektar-diffusion-ambipolar/blame/653af882ffada9b4c41728b24cf65b34dd376b47/example/MASTU/ambipol.xml#L50 for inspiration to shoehorn the parallel derivative boundary condition into the machinery of the existing Robin boundary condition.

jwscook commented 3 months ago

Working.