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:
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.
This process is especially useful to check cylindrical poling as it is hard to visualize it from the code alone.
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:
What is the meaning of an asterisk (*) as a 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.