Next: The PDE Description file Up: Getting Started Previous: Installing NGSolve as Netgen Contents

# A first demo

Start the program 'ng'. There should pop up a window with menu items, and a large white visualization area.

Select the menu item Solve Load PDE and open the PDE file ngsolve/pde_tutorial/d1_square.pde. You get some text in the shell window, and you will find a blue square in the drawing area. You have loaded the problem description, including geometry and mesh. In the button line (below the menu items) you see the selection-button showing 'Geometry'. Here, you can switch to 'Mesh', and later, you switch to 'Solution'. This selects the visualization mode in the drawing area.

Now, you are ready to start the first solve. Press the Solve-button.. The visualization switches to Solution, and you see two gray triangles.

Click SolveVisualization to open the visualization dialog box. Here, you can select what you want to see. Look for the selection button Scalar Function, and change from 'None' to 'u'. The triangles will be colored.

Clearly, this mesh is too coarse. Go on, and press the Solve-button five more times. The mesh gets refined, and new solutions will be computed.

Play around with the items in the visualization box. You may try Autoscale, Isolines, and Textures. Go on and do some more refinement steps (by pressing the short-cuts `<s>-<p>`.

The next chapter will describe the structure of the PDE input file.

Next: The PDE Description file Up: Getting Started Previous: Installing NGSolve as Netgen Contents