Difference between revisions of "Surface types"
From Serpent Wiki
(→Cylinders) |
(→Cylinders) |
||
Line 58: | Line 58: | ||
| Infinite cylinder parallel to x-axis, centred at (''y<sub>0</sub>,z<sub>0</sub>'') | | Infinite cylinder parallel to x-axis, centred at (''y<sub>0</sub>,z<sub>0</sub>'') | ||
|- | |- | ||
− | | <tt>cyly | + | | <tt>cyly</tt> |
| ''x<sub>0</sub>, z<sub>0</sub>, r'' | | ''x<sub>0</sub>, z<sub>0</sub>, r'' | ||
| <math>S(x,z) = (x - x_0)^2 + (z - z_0)^2 - r^2</math> | | <math>S(x,z) = (x - x_0)^2 + (z - z_0)^2 - r^2</math> |
Revision as of 11:39, 23 February 2016
Elementary surfaces
Planes
Notes:
- Parametric form of the general plane is assumed if four values are provided in the surface card. With six values the plane is assumed to be defined by three points.
Surface name | Parameters | Surface equation | Description |
---|---|---|---|
py | x0 | Plane perpendicular to x-axis at x = x0 | |
pz | y0 | Plane perpendicular to y-axis at y = y0 | |
px | z0 | Plane perpendicular to z-axis at z = z0 | |
plane | A, B, C, D | General plane in parametric form | |
plane | x1, y1, y1, x2, y2, y2, x3, y3, y3 | General plane defined by three points |
Cylinders
Notes:
- cyl is a shorthand notation for cylz
Surface name | Parameters | Surface equation | Description |
---|---|---|---|
cylx | y0, z0, r | Infinite cylinder parallel to x-axis, centred at (y0,z0) | |
cyly | x0, z0, r | Infinite cylinder parallel to y-axis, centred at (x0,z0) | |
cylz, cyl | x0, y0, r | Infinite cylinder parallel to z-axis, centred at (x0,y0) |