Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:project:gallery:deform2disk [2018/11/06 23:57] admin |
en:project:gallery:deform2disk [2018/11/07 00:19] (current) admin [Problem definition] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Deform to disk: Paraview versus Matlab ====== | ====== Deform to disk: Paraview versus Matlab ====== | ||
| - | {{ :en:project:gallery:deform2diskmatlab.png?400 |Visualization of the deformation field in Matlab}} | + | ===== Problem definition ===== |
| + | The problem is defined as follows: Given the domain of unit square Ω = [0,1]x[0,1] find the displacement field u(x,y) that deforms the square into a quarter of the disk, with the radius of the disk equal the length of square diagonal. | ||
| + | ===== Paraview solution ===== | ||
| + | Definition of the displacement field and subsequent visualization can be one at once in ParaView. | ||
| + | To recrete image shown below you can load the following {{ :en:project:gallery:deformtodisk.pvsm | ParaView state file}}. | ||
| + | |||
| + | {{ :en:project:gallery:deformtodisk.png |Visualization of the displacement field in ParaView}} | ||
| + | |||
| + | ===== Matlab solution ===== | ||
| + | |||
| + | {{ :en:project:gallery:deform2diskmatlab.png |Visualization of the displacement field in Matlab}} | ||
| + | |||
| + | <html> | ||
| + | <script src="https://gist.github.com/putanowr/d3837a960e679e136e12c3ef6e23e652.js"></script> | ||
| + | </html> | ||