Log in
Log in Simulate Now
Log in Simulate Now

What you asked us in February 2021

By Chloe Allison 10 March 2021

Welcome back to our monthly review of your support questions! Let’s take a look at the most frequently asked questions in February 2021. 

How can I visualize the poling direction of my piezoelectric material?

The poling direction (or dielectric orientation) of a piezoelectric material can be implemented in OnScale using the matr axis command. To visualize the poling direction of the material, users can use the grph arrow command. For example:

   frequently asked engineering questions

In this example line 303 requests standard graphics, which are necessary for the visualization of material poling. Line 305 requests arrows to be displayed in the direction of the poling. This command also allows you to scale the size of the arrows and the element spacing between them (see Command Reference for more details). Line 306 graphically displays the information specified in the grph command, in this case it will plot the materials and the electrodes defined by the piez command. Any type of graphical setup command like nvew (which sets the number of viewing windows) must be input before the plot command to take effect. It is worth noting that the poling direction of a material can only be plot after the prcs command. 

PZT 2D Disc

This process is especially useful to check cylindrical poling as it is hard to visualize it from the code alone.

Cylindrical Poling

How do I hide certain materials when visualizing my model?

Before submitting jobs to the cloud, it is important to visualize your model to ensure everything is set up correctly. For complex geometries, it is useful to only visualize parts of the model and to hide other sections. This can be done by using the grph comb command which lets you combine materials. Materials can be hidden by combining them with void. For example:

Engineering questions

What is the meaning of an asterisk (*) as a command input?

In some our tutorials or examples you may have seen asterisks (*) used as inputs to command parameters. For example:

command input

When an asterisk is input as a parameter it simply means that the default value for that parameter should be used. The Command Reference has all the syntax for the commands and this includes the default values for all the parameters. However, be careful using this method as not all parameters have a default value. Using asterisk to default is especially useful when assigning ijk regions for materials, outputs, loads etc. because the default is always 1 for the index begin value and the default is always the maximum node in the model for the index end value.


Chloe Allison
Chloe Allison

Chloe Allison is an Application Engineer at OnScale. She received her MA in Electrical and Electronics Engineering from the University of Strathclyde. As part of our engineering team Chloe assists with developing applications, improving our existing software and providing technical support to our customers.

Discover how customers like you found success by
leaving traditional engineering simulation behind

Try OnScale following
our simulation guides

Simulate Now

Discuss your engineering
applications with us

Request a Demo