add topology optimization tutorial#142
add topology optimization tutorial#142fverdugo merged 37 commits intogridap:masterfrom WenjieYao:topopt
Conversation
|
Hi @WenjieYao Thanks a lot for writing this! I have built the html version of the tutorial and it has several minor typos regarding the rendering of equations etc. Try please to generate the pages on your laptop and fix the small issues (see below). I have also added the new tutorial to the test suite (It is is failing). Try to run it locally to fix the errors. The tutorial is run as any other .jl file. Steps to generate the html pages locallyHere you have some info. But, to summarise, these are the steps: |
|
|
||
| # In this tutorial, we will learn: | ||
| # | ||
| # * How to apply adjoint method in Gridap |
There was a problem hiding this comment.
| # * How to apply adjoint method in Gridap | |
| # * How to apply the adjoint method for sensitivity analysis in Gridap |
| # * How to apply adjoint method in Gridap | ||
| # * How to do topology optimization in Gridap | ||
| # | ||
| # We recommend you first read the [Electromagnetic scattering tutorial](https://gridap.github.io/Tutorials/dev/pages/t012_emscatter/#Tutorial-12:-Electromagnetic-scattering-in-2D-1) to make sure you understand the following points: |
There was a problem hiding this comment.
| # We recommend you first read the [Electromagnetic scattering tutorial](https://gridap.github.io/Tutorials/dev/pages/t012_emscatter/#Tutorial-12:-Electromagnetic-scattering-in-2D-1) to make sure you understand the following points: | |
| # We recommend that you first read the [Electromagnetic scattering tutorial](https://gridap.github.io/Tutorials/dev/pages/t012_emscatter/#Tutorial-12:-Electromagnetic-scattering-in-2D-1) to make sure you understand the following points: |
| # | ||
| # We recommend you first read the [Electromagnetic scattering tutorial](https://gridap.github.io/Tutorials/dev/pages/t012_emscatter/#Tutorial-12:-Electromagnetic-scattering-in-2D-1) to make sure you understand the following points: | ||
| # | ||
| # * How to formulate the weak form for a scalar time-harmonic electromagnetic problem |
There was a problem hiding this comment.
| # * How to formulate the weak form for a scalar time-harmonic electromagnetic problem | |
| # * How to formulate the weak form for a 2d time-harmonic electromagnetic problem (a scalar Helmholtz equation) |
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
|
@fverdugo It is failing now mainly because we need to add Zygote, ChainRulesCore and NLopt packages to the environment. I suspect that this should be a few lines added to the Project.toml file but I don't know what I should add exactly... |
|
Thanks @WenjieYao @stevengj for this very nice new tutorial! |
Somehow I can't create a preview on my computer, so there might be some small mistakes needed to be fixed. @stevengj @fverdugo