NGSolve User Guide
To run NGSolve, you have to prepare
- a geometry file
- a mesh file
- a pde-file
Several examples are available in the pde_tutorals directory.
The Solve menu
Having NGSolve installed, you will find the 'Solve' entry in the main menu. Most important entries are
Use this to load a pde-file, e.g., from the pde_tutorals directory. The pde-file links to the geometry and the mesh. After loading, you should see the mesh.
Use this to run the solver. Alternatively, you can push the 'Solve' button. You should see some action in the status line, and some output in the shell window. Pushing the 'Solve' button again, will refine the mesh and solve again.
Opens the visualization dialog box. Alternatively, you can push the 'Visual' button. In the dialog box you select the solution view. For most examples, selecting a 'Scalar Function' will give you some colorful view.
Solve Recent PDE
Loads and solves the most recent pde. Same as pushing the 'Recent' button.
The Visualization dialog
Selects the solution view. Most Important controls are:
Selects the scalar field to look at. For a vector-field u, you can select the components u(1), u(2), or u(3), or a function of u. For complex-valued solutions you get real and imaginary parts (u_r(1), u_i(1), u_r(2), u_i(2), ...). The function is selected by the Evaluate control. Default is the absolute value.
Selects a vector field (e.g., the elastic displacement, the electric field, or the velocity of a flow).
Clipping Plane Sol
(3D only) After enabling a Clipping plane, you can select what to see in the clipping plane.
For elastic problems, you may want to see the deformation of the domain. Select the Vector Function, and activate the Deformation check box. By adding a Scale factor you can magnify the deformation.
For plotting higher order finite elements, the triangles are recursively subdivided into 4 triangles a couple of times. Select the number of levels. Be careful, selecting 5 levels will subdivide each triangle into 4^5 = 1024 triangles, the the drawing may become slow.
Activating this will give a better coloring. Linear will use a smooth color map, swithing it off will use discrete colors.
Useful for time-animating complex-valued solution fields as real (u_r cos(t) + i u_i sin(t)).