Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
12efd69f
Commit
12efd69f
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
small .msh example
parent
06000948
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/texinfo/gmsh.texi
+39
-0
39 additions, 0 deletions
doc/texinfo/gmsh.texi
with
39 additions
and
0 deletions
doc/texinfo/gmsh.texi
+
39
−
0
View file @
12efd69f
...
@@ -3166,6 +3166,45 @@ there are @var{ncomp} values per node (resp. per element), where
...
@@ -3166,6 +3166,45 @@ there are @var{ncomp} values per node (resp. per element), where
@var
{
number
-
of
-
nodes
-
per
-
elements
}
values per element.
@var
{
number
-
of
-
nodes
-
per
-
elements
}
values per element.
@end table
@end table
Below is a small example
(
a mesh consisting of two quadrangles with an
associated nodal scalar dataset
)
:
@smallexample
$
MeshFormat
2.0 0 8
$
EndMeshFormat
$
Nodes
6 @var
{
six mesh nodes:
}
1 0.0 0.0 0.0 @var
{
node #1: coordinates (0.0, 0.0, 0.0)
}
2 1.0 0.0 0.0 @var
{
node #2: coordinates (1.0, 0.0, 0.0)
}
3 1.0 1.0 0.0 @var
{
etc.
}
4 0.0 1.0 0.0
5 2.0 0.0 0.0
6 2.0 1.0 0.0
$
EndNodes
$
Elements
2 @var
{
two elements:
}
1 3 2 99 2 1 2 3 4 @var
{
quad #1: type 3, physical 99, elementary 2, nodes 1 2 3 4
}
2 3 2 99 2 2 5 6 3 @var
{
quad #2: type 3, physical 99, elementary 2, nodes 2 5 6 3
}
$
EndElements
$
NodeData
1 @var
{
one string tag:
}
"A scalar view" @var
{
the name of the view ("A scalar view")
}
1 @var
{
one real tag:
}
0.0 @var
{
the time value (0.0)
}
3 @var
{
three integer tags:
}
0 @var
{
the time step (0; time steps always start at 0)
}
1 @var
{
1-component (scalar) field
}
6 @var
{
six associated nodal values
}
1 0.0 @var
{
value associated with node #1 (0.0)
}
2 0.1 @var
{
value associated with node #2 (0.1)
}
3 0.2 @var
{
etc.
}
4 0.0
5 0.2
6 0.4
$
EndNodeData
@end smallexample
@c
-------------------------------------------------------------------------
@c
-------------------------------------------------------------------------
@c MSH binary file format
@c MSH binary file format
@c
-------------------------------------------------------------------------
@c
-------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment