How to calculate the average valency for a lattice

Objective:

Learn how to calculate the average valency for a lattice

Procedure:

1. Create your lattice

To calculate this, you need to use one of the new Beta lattice blocks. In this example, we are starting with a Voronoi Volume Lattice Body block. 

 

2. Extract the Property chips

    • Open up the Properties of the Voronoi Volume Lattice Body block
      • Expand the "beams" property
      • Expand the "> Properties" underneath the "beams"
      • Drag out the "end point valency" chip and the "start point valency chip" into the Notebook

valency_property.gif

 

3. Combine the Lists

    • Add a Concatenate List block 
      • Insert the two property chips, "end point valency" and "start point valency", into the inputs

 

4. Calculate the Average

    • Add an Average block
      • Delete the auto-populated list
      • Insert the Concatenate List block
      • Select the Overload to change the type to Scalar List
      • The average valency now appears at the top right of the block

avg_val.gif

And that’s it! You’ve successfully calculated the average valency of your lattice

Are you still having issues? Contact the support team, and we’ll be happy to help!

Download the Example file:

More on this topic:

Keywords:

 lattice calculate start point lattices beam amount end how-to connection average valency 
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.