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
75cb227f
Commit
75cb227f
authored
10 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
don't change options that could affect other tutorials in weird ways
parent
03067e74
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tutorial/t10.geo
+4
-3
4 additions, 3 deletions
tutorial/t10.geo
tutorial/t11.geo
+1
-2
1 addition, 2 deletions
tutorial/t11.geo
tutorial/t3.geo
+4
-5
4 additions, 5 deletions
tutorial/t3.geo
with
9 additions
and
10 deletions
tutorial/t10.geo
+
4
−
3
View file @
75cb227f
...
...
@@ -29,7 +29,7 @@ Line Loop(5) = {1,2,3,4}; Plane Surface(6) = {5};
Field
[
1
]
=
Attractor
;
Field
[
1
].
NodesList
=
{
5
};
Field
[
1
].
NNodesByEdge
=
100
;
Field
[
1
].
EdgesList
=
{
1
};
Field
[
1
].
EdgesList
=
{
2
};
// We then define a Threshold field, which uses the return value of
// the Attractor Field[1] in order to define a simple change in
...
...
@@ -89,5 +89,6 @@ Field[7] = Min;
Field
[
7
].
FieldsList
=
{
2
,
3
,
5
,
6
};
Background
Field
=
7
;
// Don't extend the elements sizes from the boundary inside the domain
Mesh
.
CharacteristicLengthExtendFromBoundary
=
0
;
// If the boundary mesh size was too small, we could ask not to extend the
// elements sizes from the boundary inside the domain:
// Mesh.CharacteristicLengthExtendFromBoundary = 0;
This diff is collapsed.
Click to expand it.
tutorial/t11.geo
+
1
−
2
View file @
75cb227f
...
...
@@ -44,5 +44,4 @@ Recombine Surface{100};
// "Delaunay for quads" (DelQuad) meshing algorithm: DelQuad is a
// triangulation algorithm that enables to create right triangles
// almost everywhere. Uncomment the following line to try DelQuad:
Mesh
.
Algorithm
=
8
;
// DelQuad (experimental)
// Mesh.Algorithm = 8;
This diff is collapsed.
Click to expand it.
tutorial/t3.geo
+
4
−
5
View file @
75cb227f
...
...
@@ -58,13 +58,12 @@ out[] = Extrude { {-2*h,0,0}, {1,0,0} , {0,0.15,0.25} , angle * Pi / 180 } {
Physical
Volume
(
101
)
=
{
1
,
2
,
out
[
1
]};
// Let us now change some options... Since all interactive options are
// accessible in Gmsh's scripting language, we can for example define
// a global characteristic length factor or redefine some colors
// directly in the input file:
// accessible in Gmsh's scripting language, we can for example make point tags
// visible or redefine some colors directly in the input file:
Mesh
.
CharacteristicLengthFactor
=
4
;
General
.
Color
.
Text
=
White
;
Geometry
.
PointNumbers
=
1
;
Geometry
.
Color
.
Points
=
Orange
;
General
.
Color
.
Text
=
White
;
Mesh
.
Color
.
Points
=
{
255
,
0
,
0
};
// Note that all colors can be defined literally or numerically, i.e.
...
...
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