Skip to content
Snippets Groups Projects
Commit fce8a10f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 539c71b1
Branches
Tags
No related merge requests found
......@@ -6,17 +6,18 @@
*
*********************************************************************/
// This post-processing view contains only scalar triangles. The values
// This post-processing view contains scalar triangles. The values
// represent the target characteristic mesh sizes to be applied to the
// first tutorial, t1.geo.
//
// There are two ways to use this background mesh:
// There are two ways to use this view as a background mesh:
//
// 1) open t1.geo, merge bgmesh.pos, select 'Apply as background mesh'
// in the view's options (i.e. by right mouse clicking on the view's
// button), and mesh the problem
// in the view's options (by right mouse clicking on the view's
// button), and mesh the problem.
//
// 2) launch Gmsh with 'gmsh t1.geo -bgm bgmesh.pos' and mesh the
// problem
// problem.
View "a funny background mesh" {
ST(0.077999455,0.23524011,0,0.068887619,0.23816425,0,0.069899638,0.22912552,0){0.01189957,0.011832084,0.0079913397};
......
......@@ -3,7 +3,7 @@
* Gmsh tutorial 1
*
* Variables, Elementary entities (Points, Lines, Surfaces), Physical
* entities (Points, Lines, Surfaces)
* entities (Points, Lines, Surfaces), Background mesh
*
*********************************************************************/
......@@ -95,3 +95,4 @@ Physical Surface(100) = {6} ;
// is the msh format (the native mesh file format for Gmsh). For a
// description of the mesh and post-processing formats, see the
// FORMATS file.
......@@ -22,7 +22,7 @@
<H1>README 1/9</H1>
[<A HREF="#top">top</A>][prev][<A HREF="#file2">next</A>]
<PRE>
$Id: tutorial.html,v 1.7 2001-03-01 08:04:15 geuzaine Exp $
$Id: tutorial.html,v 1.8 2001-04-25 15:43:51 geuzaine Exp $
Here are the examples in the Gmsh tutorial. These examples are
commented (both C and C++-style comments can be used in Gmsh input
......@@ -87,6 +87,12 @@ non-interactive mode, just type:
&gt; gmsh t1.geo -2
To mesh the same example, but with the backgound mesh available in the
file 'bgmesh.pos', just type:
&gt; gmsh t1.geo -2 -bgm bgmesh.pos
Several files can be loaded simultaneously in Gmsh. The first one
defines the project, while the others are appended (&quot;merged&quot;) to this
project. You can merge such files with the 'File-&gt;Merge' menu, or by
......@@ -128,7 +134,7 @@ OK, that's all, folks. Enjoy the tutorial.
* Gmsh tutorial 1
*
* Variables, Elementary entities (Points, Lines, Surfaces), Physical
* entities (Points, Lines, Surfaces)
* entities (Points, Lines, Surfaces), Background mesh
*
*********************************************************************/</FONT></I>
......@@ -220,7 +226,8 @@ Physical Surface(100) = {6} ;
</FONT></I><I><FONT COLOR="#B22222">// is the msh format (the native mesh file format for Gmsh). For a
</FONT></I><I><FONT COLOR="#B22222">// description of the mesh and post-processing formats, see the
</FONT></I><I><FONT COLOR="#B22222">// FORMATS file.
</FONT></I></PRE>
</FONT></I>
</PRE>
<HR>
<A NAME="file3">
<H1>t2.geo 3/9</H1>
......
/*
Gmsh demo file (C) 2000 C. Geuzaine, J.-F. Remacle
2D Scalar map
All important comments are marked with "README"
*/
/*********************************************************************
*
* Gmsh tutorial 1 - appendix 1
*
* Scalar view
*
*********************************************************************/
// In this view, there are only scalar triangles.
// There are 5 time steps -> 3*5 = 15 values for each triangle.
......
/*
Gmsh demo file (C) 2000 C. Geuzaine, J.-F. Remacle
Vector map on points
All important comments are marked with "README"
*/
/*********************************************************************
*
* Gmsh tutorial 1 - appendix 2
*
* Vector view
*
*********************************************************************/
View "a vector map" {
VP(1e-06,1e-06,0){0,0,122.26654,0,0,122.45426,0,0,122.82769,0,0,123.38417,0,0,124.20759};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment