• kth.se
  • Student web
  • Intranet
  • kth.se
  • Student web
  • Intranet
Login
DD2365 VT24 (aflum24)
Lab: Adaptive mesh refinement
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • Min översikt
  • DD2365 VT24 (aflum24)
  • Assignments
  • Lab: Adaptive mesh refinement
2024 VT
  • Home
  • Modules
  • Course Evaluation

Lab: Adaptive mesh refinement

  • Due Apr 21, 2024 by 11:59pm
  • Points 2
  • Submitting a file upload
  • Available Mar 19, 2024 at 10am - May 31, 2024 at 11:59pm
This assignment was locked May 31, 2024 at 11:59pm.

Material 

1. Lecture notes: Chapters 1-5 (specifically Section 3.2)

2. Template file from GitHub: template-report-Stokes-AMR.ipynb

3. For extra assignment: 

Hoffman, Johan, et al. "Towards a parameter-free method for high reynolds number turbulent flow simulation based on adaptive finite element approximation." Computer Methods in Applied Mechanics and Engineering 288 (2015): 60-74. Links to an external site.

Mandatory assignment (1p if submitted in time for deadline)

1. The domain

Use the data to the adjoint problem which defines the functional equal to the drag force:

psi_1 = (0,0), psi_2 = 0 and psi_3 = (1,0)

Then change the height of the domain to H=L, and move the center of the circle over the domain. Describe how the adjoint solution and the local mesh refinement changes as a result. 

2. The functional 

Change the data to the adjoint problem (psi_1, psi_2, psi_3) and describe how the adjoint solution and the local mesh refinement changes as a result. 

Extra assignment (choose one: 1p if submitted in time for deadline)

1. The total error 

With the same approximation spaces for the primal and the adjoint problem, note that the total error appears to be close to zero. This is a false conclusion, and a consequence of the fact that we approximate the exact adjoint solution with a finite element function in the test space of the primal problem, for which the weak form is zero (modulo errors from solving the algebraic system). Change the mixed finite element space of the adjoint equation such that the total error is not zero, for example, increase the polynomial order of the adjoint finite element spaces. Then verify that the total error is reduced when you use a mesh with finer resolution.  

2. Adaptive algorithm

Extend the template file into an adaptive method for recursive local mesh refinement based on the error indicator from the adjoint solution, with a stopping criterion based on the total error.  

3. Navier-Stokes equations 

Extend the template file to the Navier-Stokes equations, for which you solve the adjoint Navier-Stokes equations by time stepping backwards in time from the end time to the start time, linearised at the primal solution. 

1713736799 04/21/2024 11:59pm
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Find a Rubric
Find Rubric
Please include a title
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
Title
Criteria Ratings Pts
Edit criterion description Delete criterion row
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit rating Delete rating
5 to >0 pts
Full Marks
blank
Edit rating Delete rating
0 to >0 pts
No Marks
blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Edit criterion description Delete criterion row
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit rating Delete rating
5 to >0 pts
Full Marks
blank
Edit rating Delete rating
0 to >0 pts
No Marks
blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5