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
9b9b37c7
Commit
9b9b37c7
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
4f861ee1
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
+24
-14
24 additions, 14 deletions
doc/texinfo/gmsh.texi
with
24 additions
and
14 deletions
doc/texinfo/gmsh.texi
+
24
−
14
View file @
9b9b37c7
...
@@ -1927,26 +1927,31 @@ either in the GUI or on the command line (see @ref{Running Gmsh}, and
...
@@ -1927,26 +1927,31 @@ either in the GUI or on the command line (see @ref{Running Gmsh}, and
@cindex Mesh, background
@cindex Mesh, background
@cindex Background mesh
@cindex Background mesh
There are t
wo
ways to specify the size of the mesh elements for a
given
There are t
hree
ways to specify the size of the mesh elements for a
geometry:
given
geometry:
@enumerate
@enumerate
@item
@item
You can specify characteristic lengths at the points of the geometrical
First, if @code
{
Mesh.CharacteristicLengthFromPoints
}
is set (it is by
model (with the @code
{
Point
}
command: see @ref
{
Points
}
). The size of the
default), you can simply specify characteristic lengths at the
mesh elements will then be computed by linearly interpolating these
geometrical points of the model (with the @code
{
Point
}
command: see
characteristic lengths on the initial mesh (see @ref
{
Mesh
}
). This might
@ref
{
Points
}
). The size of the mesh elements will then be computed by
sometimes lead to over-refinement in some areas, so that you may have to
linearly interpolating these characteristic lengths on the initial mesh
add ``dummy'' geometrical entities in the model in order to get the
(see @ref
{
Mesh
}
). This might sometimes lead to over-refinement in some
desired element sizes.
areas, so that you may have to add ``dummy'' geometrical entities in the
model in order to get the desired element sizes.
This method works with all the algorithms implemented in the mesh
This method works with all the algorithms implemented in the mesh
module. The final element sizes are of course constrained by the structured
module. The final element sizes are of course constrained by the structured
algorithms for which the element sizes are explicitly specified (e.g.,
algorithms for which the element sizes are explicitly specified (e.g.,
transfinite and extruded grids: see @ref
{
Structured grids
}
).
transfinite and extruded grids: see @ref
{
Structured grids
}
).
@item
@item
You can specify characteristic lengths using mesh size
Second, if @code
{
Mesh.CharacteristicLengthFromCurvature
}
is set (it is
``fields''. Various fields exist:
not by default), the mesh will be adapted with respect to the curvature
of the geometrical entities.
@item
Finally, you can specify general characteristic lengths using mesh size
``fields''. Various fields exist:
@itemize @bullet
@itemize @bullet
@item
@item
A @code
{
PostView
}
field specifies an explicit background mesh in the
A @code
{
PostView
}
field specifies an explicit background mesh in the
...
@@ -1977,13 +1982,18 @@ computed using other fields
...
@@ -1977,13 +1982,18 @@ computed using other fields
@item
@item
@dots
{}
@dots
{}
@end itemize
@end itemize
All target element sizes specified by fields can also be constrained by
the characteristic lengths defined in the geometrical model if the
@code
{
Mesh.ConstrainedBackgroundMesh
}
option is set.
Fields are supported by all the algorithms except those based on Netgen.
Fields are supported by all the algorithms except those based on Netgen.
@end enumerate
@end enumerate
The three aforementioned methods can be used simultaneously, in which
case the smallest element size is selected at any given point.
All element sizes are further constrained by the
@code
{
Mesh.CharacteristicLengthMin
}
, @code
{
Mesh.CharacteristicLengthMax
}
and @code
{
Mesh.CharacteristicLengthFactor
}
options (@pxref
{
Mesh
options
}
)
Here are the mesh commands that are related to the specification of
Here are the mesh commands that are related to the specification of
characteristic lengths:
characteristic lengths:
...
...
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