[cig-commits] r17005 - in short/3D/PyLith/branches/v1.5-stable: . examples/meshing/surface_nurbs examples/meshing/surface_nurbs/dem
brad at geodynamics.org
brad at geodynamics.org
Sun Jun 13 16:24:39 PDT 2010
Author: brad
Date: 2010-06-13 16:24:39 -0700 (Sun, 13 Jun 2010)
New Revision: 17005
Added:
short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/triangles/
Modified:
short/3D/PyLith/branches/v1.5-stable/configure.ac
short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/Makefile.am
short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/README
short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/dem/README
Log:
Merge from trunk (changes should have been committed to 1.5-stable).
Modified: short/3D/PyLith/branches/v1.5-stable/configure.ac
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/configure.ac 2010-06-13 23:21:53 UTC (rev 17004)
+++ short/3D/PyLith/branches/v1.5-stable/configure.ac 2010-06-13 23:24:39 UTC (rev 17005)
@@ -336,6 +336,7 @@
examples/meshing/surface_nurbs/dem/Makefile
examples/meshing/surface_nurbs/dem/ulines/Makefile
examples/meshing/surface_nurbs/dem/vlines/Makefile
+ examples/meshing/surface_nurbs/triangles/Makefile
templates/Makefile
share/Makefile
])
Modified: short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/Makefile.am
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/Makefile.am 2010-06-13 23:21:53 UTC (rev 17004)
+++ short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/Makefile.am 2010-06-13 23:24:39 UTC (rev 17005)
@@ -12,7 +12,8 @@
SUBDIRS = \
contours \
- dem
+ dem \
+ triangles
dist_noinst_DATA = \
Modified: short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/README
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/README 2010-06-13 23:21:53 UTC (rev 17004)
+++ short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/README 2010-06-13 23:24:39 UTC (rev 17005)
@@ -5,3 +5,6 @@
dem - Example of creating a topographic surface using a grid of spline
curves.
+
+triangles - Example of creating a NURBS surface from a triangulated
+ surface in Facets format.
Modified: short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/dem/README
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/dem/README 2010-06-13 23:21:53 UTC (rev 17004)
+++ short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/dem/README 2010-06-13 23:24:39 UTC (rev 17005)
@@ -3,7 +3,7 @@
from a DEM. We create the surface as a net surface (see Cubit
documentation); this requires either a mapped mesh or a set of
intersecting lines (u-lines and v-lines). In either case, the
-intersecting lines must for a logically structured quadrilateral
+intersecting lines must form a logically structured quadrilateral
mesh. The Python script, dem2lines.py, creates the lines and resamples
the original data outside a specified region for which full resolution
is desired. This is useful because using a full-resolution surface for
@@ -12,9 +12,9 @@
The steps for creating the NURBS surface are as follows:
1. We start with a very coarse DEM of Mt. Ruapehu volcano in New
-Zealand in ASCII format. Note that the DEM must be in ASCII format and
-it must be ordered in either rows or columns. The DEM used in this
-example was produced using the GMT grd2xyz utility.
+Zealand (NZMG coordinates) in ASCII format. Note that the DEM must be in
+ASCII format and it must be ordered in either rows or columns. The DEM used
+in this example was produced using the GMT grd2xyz utility.
2. The parameters for the Python script are contained in the file
dem2lines.cfg. In this file we specify the name of the input
@@ -34,14 +34,14 @@
VTK file to make sure it looks OK.
4. Once you have created the u-lines and v-lines, you must create a
-journal file the Cubit can use to create the NURBS surface. Each file
+journal file that Cubit can use to create the NURBS surface. Each file
in the ulines and vlines directories is a separate Cubit command to
create a single spline curve. To create the desired surface, we first
create a ulines.jou file and a vlines.jou file to execute each of
these. We then create a mktopo.jou file that executes these two
-journal files and then creates the NURBS surface
-(ruapehu_topo.sab). You can create the surface yourself by running
-Cubit and playing back the 'mktopo.jou' file.
+journal files and then creates the NURBS surface (ruapehu_topo.sab).
+You can create the surface yourself by running Cubit and playing back the
+'mktopo.jou' file.
5. Once the surface has been created, you can import it in future
Cubit sessions and use it just as you would any surface created within
Copied: short/3D/PyLith/branches/v1.5-stable/examples/meshing/surface_nurbs/triangles (from rev 17004, short/3D/PyLith/trunk/examples/meshing/surface_nurbs/triangles)
More information about the CIG-COMMITS
mailing list