657
edits
No edit summary |
|||
Line 1: | Line 1: | ||
= 2D Diffusion Advection Reaction example = | |||
This is a short example on how to use <tt>bim</tt> to solve a 2D Diffusion Advection Reaction problem. | This is a short example on how to use <tt>bim</tt> to solve a 2D Diffusion Advection Reaction problem. | ||
Line 55: | Line 55: | ||
on the mesh structure | on the mesh structure | ||
< | {{Code|Meshing the 2D problem|<syntaxhighlight lang="octave" style="font-size:13px"> | ||
[mesh] = msh2m_gmsh ("fiume","scale",1,"clscale",.1); | [mesh] = msh2m_gmsh ("fiume","scale",1,"clscale",.1); | ||
[mesh] = bim2c_mesh_properties (mesh); | [mesh] = bim2c_mesh_properties (mesh); | ||
</ | </syntaxhighlight>}} | ||
to see the mesh you can use functions from the [[fpl_package|fpl package]] | to see the mesh you can use functions from the [[fpl_package|fpl package]] | ||
Line 237: | Line 237: | ||
</pre> | </pre> | ||
This is a video showing the .3 isosurface of the solution | [http://youtu.be/2E6Z_AcV8CQ This is a video] showing the .3 isosurface of the solution. | ||
[[Category:OctaveForge]] | [[Category:OctaveForge]] | ||
[[Category:Packages]] | [[Category:Packages]] |
edits