
| prism parameter_file [-basic]
The contents of the parameter_file are described below. Command line options-basic Parameter file contentsRequiredinput_file tetra_mesh tetra_mesh is then name of the domain file that contains the tetra mesh. output_file prism_mesh prism_mesh is the name of the domain file that will contain the prism/tetra mesh. surface_file tetin_file tetin_file is the name of the tetin file that was used to create tetra_mesh One of the following is required for each family growing prisms. family family_name [ direction x y z ] [ max_height max_height] [ total_height total_height ] [ ratio ratio ] [ ratio_multiplier ratio_multiplier ] [ ratio_max ratio_max ] [ n_layers n_layers ] [ height height ] For each family from which prisms should grow there should be a line "family family_name". Following that are optional arguments. All of these arguments cause properties of the prism mesh to be applied just to that family. For instance if height is specified for a particular family then the height of the prisms growing from the triangles in that family will be specified. Growth lawslaw { linear | exponential | hyperbolic } Three of { height, ratio, total height; n layers } must be specified at each node on the surface. The values can be specified globally using the parameters below; on each family using family parameter; or each surface, curve or prescribed point using the corresponding options in the tetin_file. If no value is specified at a point then it will be smoothly interpolated from neighboring points. Thus the minimum requirement is each point is connected through prism triangles to some point that has three of height, ratio, total height and number of layers specified. height height height is the height of the initial prism layer. ratio ratio ratio is the ratio of the second layer thickness to the first layer thickness. n_layers n_layers n_layers is the number of prism layers to generate. total_height total_height total_height is the total height of all prism layers taken together. max_height max_height max_height is the maximum height of any individual prism layer. ratio_multiplier multiplier If this value is specified then instead of the prism layers being h, rh, r^2 h ... the prism layers will be ratio_max ratio_max If ratio_multiplier and ratio_max are specified then the prism layers will have thickness h rh r^2mh r^3m^2h ... r^(n-2)* min(r*m^(n-3), rmax)*h . Transition layer to tetrahedra
max_prism_height_ratio|max_aspect_ratio val refine_prism_boundary 0|1|on|off auto_reduction 0|1|on|off Prism smoothing
This command sets the type of triangle quality metric that will be used to smooth the triangles that are extruding the prisms as well as the top of each prism layer. Strictly speaking "laplace" is not a quality metric but rather a smoothing algorithm. However it does seem to give the most visually pleasing triangle meshes. ortho_weight ortho_weight If the triangle_quality metric is laplace then the prism smoothing algorithm works as follows: At each iteration the top level of the current layer of prisms is smoothed as a triangle mesh. This gives a new location for each node. If this were the whole algorithm each layer would not be much lined up with the previous layer and the mesh would not be very orthogonal in the direction perpendicular to the surface. Thus, the new locations are averaged with the orthogonal offset of the previous layer. A value of .5 for ortho_weight is a simple average. 0.0 means that the mesh is just a result of the triangle smoothing algorithm. 1.0 means that the mesh is just an orthogonal offset of the previous layer. If the prism quality is below .3 at a node then the element quality optimization algorithm is used instead of the laplace smoothing algorithm. fillet fillet_ratio The top of each layer of prisms sits on an imaginary offset surface from the original surface. Where the initial surface is convex the top layer naturally forms a fillet of radius equal to the offset. In concave areas a sharp angle will form even if the original surface is smooth. If fillet_ratio is > 0.0 then the mesher will modify the offset surface so that in concave areas a fillet of radius equal to the offset_distance * fillet_ratio is formed. In places where prisms are growing from both sides this means that the maximum_offset *2 * (1 + fillet_ratio) < distance_between_opposite_surfaces. max_prism_angle max_prism_angle In places where the initial offset surface forms a large convex angle this parameter determines how the prism mesh will behave. On a flat surface each surface edge sees a dihedral angle of 180 degrees. At a concave edge the value is < 180 . At at a convex corner the value is > 180. The two prisms growing from this edge will have internal angles that add up to this value. On the trailing edge of a wing the surface dihedral angle may approach 360 degrees an thus the prism internal angles will approach 180 degrees. On the edge of a zero thickness sheet the dihedral angle will be exactly 360 degrees and the prisms will degenerate as they wrap around the edge. To deal with this PRISM can detach the to prisms and the edge and insert pyramid elements into the space. The max_prism_angle tells PRISM when to start doing this splitting. A value of 180 says don't ever separate the prisms and don't create pyramids. A value of 170 degrees says that when the dihedral angle is 340 degrees (the not meshed region, the object in CFD, will occupy 20 degrees) then the prisms should be separated. Only values > 140 degrees are accepted. Max_prism_angle is also used where one triangle is extruding a prism and an adjacent triangle is not. Here, if the dihedral angle exceeds max_prism_angle then pyramids are used to separate the prism from the non-prism-growing triangle. extend_pyramids 0|1|on|off min_prism_quality min_prism_quality If the prism quality is less than this value, then the prism mesher will start sticking tetrahedra. Sticking a tet means that the tetrahdra instead of being pushed in front of the prisms is marked to be stuck underneath the advancing layer of prisms. This is especially useful when two prism layers run into each other from opposite directions. After many tetrahedra a stuck the two prism layers are joined by the tetrahedra and can then grow as a single front. Min_prism_quality will not do anything productive in convex areas. prism_threshold max_size_ratio max_size_ratio area_power smoothing_steps n_steps min_smoothing_steps n_steps Growing into the orphan regioninto_orphan Generally, PRISM extrudes prisms into the tetrahedral region. It can be made to extrude prisms away from the tetrahedra if this parameter is used. new_volume family_name top_family family_name side_family family_name delete_base_triangles delete_standalone 0|1|on|off Specifying directionsboundary family_name [ direction x y z ] do_not_allow_sticking Outputmax_binary_tetin value n_tetra_smoothing_steps n_steps tetra_smooth_limit value intermediate_write 0|1 graphics [-host name ] Parallelism
parallel_verbose 0|1|on|off Misc.print_memory_usage checksum 0|1|on|off
|