Gridap.jl icon indicating copy to clipboard operation
Gridap.jl copied to clipboard

Example/tutorial contribution: Poisson equation with boundary conditions showing how to build meshes and define weak forms

Open ssasmal1759 opened this issue 1 month ago • 4 comments

Hi Gridap,

I have been exploring Gridap.jl, and I would like to contribute a small tutorial demonstrating how to set up a Poisson equation with boundary conditions, focusing on mesh creation and test function parameter naming.

Could this be helpful to the examples section?

ssasmal1759 avatar Nov 05 '25 00:11 ssasmal1759

Hi @ssasmal1759 ! Contributions are always welcome.

However, isn't this covered in Tutorial 1? In what would your tutorial differ? Maybe it's more worth it to enhance/modify/expand the existing one?

JordiManyer avatar Nov 05 '25 22:11 JordiManyer

Also be wary not to overlap with https://github.com/gridap/Gridap.jl/issues/1178

JordiManyer avatar Nov 05 '25 22:11 JordiManyer

Hello @JordiManyer

I reviewed Tutorial 1 and aim to make it easier for beginners to follow. I'd just like to add a short note explaining what the weak form means and how it connects to the code for a(u,v) and b(v), give a quick explanation of the mesh file model.json and what the boundary tags represent, and some short comments describing what the test space (V0) and trial space (Ug) are, add some transition sentences between some sections so it is easier to follow. I'd also expand on the final visualization, add a short math to code comparison to clarify that the Julia expressions match the equations. (These would just be some explanatory edits to improve readability and understanding). Please let me know what you think.

Thank you, Sanjana

ssasmal1759 avatar Nov 12 '25 20:11 ssasmal1759

Sure, sounds good. Open a PR and I'll review it.

JordiManyer avatar Nov 12 '25 21:11 JordiManyer