Validating the Model

The Validate tool button (valblocks) has a menu with commands for validating the model. The model needs to be in a valid state for zones to be generated.

Validate

The Validate command will scan the entire model looking for invalid blocks. If all the blocks are valid, the Console pane will say so.

If invalid blocks are found, they will be colored red and the tool button labeled “Show bad blocks” (showbad) will become enabled.

The reason a block is considered “bad” or invalid can be found if you hover the mouse pointer over the bad block and look in the Information control set.

Speed: Validation is automatically performed, only on affected blocks, whenever a control point or the end point of an edge is moved. If you’re using the drape command, it can involve a large number of blocks. The amount of time required to perform validation increases greatly when you have more than a few hundred control points in the model. If validation becomes too time-consuming, you may want to remove control points until you’re nearly done building the model and then add them back in. A quick way to remove all control points is to select an edge, press Control-A to select all edges, then open the context menu for a selected edge and choose the “Make Straight Edge(s)” command.

Bad dihedral angle

The bad dihedral angle (an angle >= 180 degrees between faces) can be fixed manually.

bad block information

Bad degeneracy

In some cases a triangular face may create bad degeneracy. To fix it, you can try selecting one of the triangular faces involved and clicking the Cycle button in the Object Properties control set.

bad degeneracy

Intersects with other blocks

When you see a bad block due to intersections, it may be an actual intersection or the result of the tolerance setting being too high. The first case can be fixed manually. The second case might be remedied by adjusting the tolerance setting for the Add Blocks tool (addblocks).

tolerance may be too large

Show Surfaces

The Show Surfaces command changes the display to make internal surfaces more apparent. You can use the right mouse button and mouse wheel to manipulate the view. A left click in the pane will revert it to the normal display.

This example shows space in the center of a cube.

show surfaces

Make Hex Only

The Make Hex Only command will run through the whole model and split any non-hexahedral blocks to create hexahedrons. This can improve the quality of the zones.