Bim package: Difference between revisions

Jump to navigation Jump to search
176 bytes added ,  19 July 2012
no edit summary
No edit summary
No edit summary
Line 166: Line 166:
The resut can be exported to vtk format to visualize with [[http://www.paraview.org|paraview]]  
The resut can be exported to vtk format to visualize with [[http://www.paraview.org|paraview]]  
or [[https://wci.llnl.gov/codes/visit/|visit]]
or [[https://wci.llnl.gov/codes/visit/|visit]]
<pre>
<pre>
fpl_vtk_write_field ("vtkdata", mesh, {u, "Solution"}, {[gx; gy]', "Gradient"}, 1);
fpl_vtk_write_field ("vtkdata", mesh, {u, "Solution"}, {[gx; gy]', "Gradient"}, 1);
</pre>
</pre>
you can also plot your data directly in Octave using <code> pdesurf </code>
<pre>
pdesurf (mesh.p, mesh.t, u)
</pre>
it will look like this
[[File:fiume_sol_pdesurf.png]]


[[Category:OctaveForge]]
[[Category:OctaveForge]]
[[Category:Packages]]
[[Category:Packages]]
43

edits

Navigation menu