Description
-
An automated script that runs this tutorial is included in the Continuity installation: examples\mesh11\fieldsAndFibers.py. To run it, click File→Scripts→Read script→Python or session script
Setup and render mesh
- Launch the Continuity Client
-
-
Select prolate spheriodal in the Global Coordinates: pop-up menu
-
Enter 3.75 next to the Focus Position field
-
Click OK to submit Coordinate Form
-
-
-
Choose Hermite Basis Function→3D→Linear-Cubic-Cubic
-
Click Add Linear-Cubic-Cubic
-
Choose Lagrange Basis Function→3D→Linear-Linear-Linear
-
Click Add Linear-Linear-Linear
- Verify that the list of basis functions now contains:
- Linear-Cubic-Cubic Hermite 3*3*3
- Linear-Cubic Hermite 3*3
- Cubic-Cubic Hermite 3*3
- Cubic-Linear Hermite 3*3
- Linear-Linear-Linear Lagrange 3*3*3
- Linear-Linear Lagrange 3*3
-
Click OK to submit Basis Form
-
-
-
Click Import/Export/Graph button to open Continuity Table Manager
-
Continuity Table Manager→File→Open…
-
Select tab-delimited nodes file ( nodes.xls )
-
-
- You should now have nodes numbered 1-8 in the list
-
In the Node Form under Derivatives with respect to, select the Angle Changes radio button
-
Select Linear-Cubic-Cubic under Coordinate 1, Coordinate 2, and Coordinate 3
-
Click on the Fiber Angles tab
-
Select Linear-Linear-Linear under Fiber Angle, Transverse Angle, and Sheet Angle
-
Click on the Field Vector 1 tab
-
Select Linear-Linear-Linear under Field Variable 1
-
Click OK to submit Node Form
-
-
-
Click Import/Export button to open Continuity Table Manager
-
Continuity Table Manager→File→Open…
-
Select tab-delimited elements file ( elems.xls )
-
-
- You should now have 3 elements in the list
-
Click OK to submit Element Form
-
-
-
Click the lines radio button
-
Click Render
- The mesh should now look similar to the following screenshot
-
-
-
Click on elements lines2 in the list on the left
-
Click on the Colors tab
-
Change the R,G,B color field to 1.0, 0.0, 0.0 to change the color to the brightest red and hit Enter
-
-
Mesh→Edit→Material Coordinates…
-
Click on the OK Button
-
-
-
For the Xi3 Locations field, enter 0.0,0.5,1.0
-
Click OK
-
-
-
Select 3 for At Xi
-
Enter 0.0 for the Location field
-
Click Render
- The mesh shoud now look similar to the following screenshot
-
-
-
Select 3 for At Xi
-
Enter 1.0 for the Location field
-
Click Render
- The mesh should look similar to the following screenshort. You can change the size of the fibers from View→Show Open Mesh→material axes→Properties tab→Scale, increase it to around 200, or as desired
-
Pre-built model
This cont6 file contains all data and parameters for this problem: mesh8.cont6
-
Warning: Render Fields does not always work correctly with the DejaVu renderer on laptops. If this is the case, try using the OpenMesh renderer.