RemDelaporteMathurin / 3-MOT

3-MOT is a multi-physics software relying on FEniCS.
3 stars 1 forks source link

Solve an equation only in a subdomain #46

Closed RemDelaporteMathurin closed 6 years ago

RemDelaporteMathurin commented 6 years ago

We would like to be able to solve an equation (Navier-Stokes) only in a subdomain (fluid) or find a way to fix the solution (velocity) at 0 in the other domains.

RemDelaporteMathurin commented 6 years ago

Apparently doable by specifying the measurement. Would need to do a simple case 2D

RemDelaporteMathurin commented 6 years ago

This is possible by using SubMesh and Measurements defined on this SubMesh. Next Step Do this in 3D

RemDelaporteMathurin commented 6 years ago

Done in 3D here : CFD3D.py.zip

Done in 2D here : CFD2D.py.zip