Preparing Post Processing

To monitor and visualize the results from the simulation, set up reports and scenes using appropriate parts and specify the relevant physics entities to monitor.

This section describes how to set up the following scenes and reports:
  • Reports that monitor the current at the anode and the cathode
  • A scalar scene that displays electric potential on the surface of the grille
  • A scalar scene that shows thickness of the Cr3+ coating that is covering the grille
  1. Right-click the Reports node and select New > User > Surface Integral.
  2. Rename the Reports > Surface Integral 1 node to Anode Current.
  3. Select the Reports > Anode Current node and set the following Properties:
    Property Setting
    Field Function Boundary Specific Electric Current
    Parts Regions > Electrolyte > Boundaries > Anode
  4. Right-click the Reports > Anode Current node and select Copy, then right-click the Reports node and select Paste.
  5. Rename the copy to Cathode Current then select the Cathode Current node and set the following properties:
    Property Setting
    Field Function Electrochemical Reaction Rate > Electrochemical Reaction Rate of Cr = Cr3+ + 3e- of Chrome of Electrolyte
    Parts Regions > Electrolyte > Grille [In-place 1]
  6. Multi-select the Reports > Anode Current node and the Reports > Cathode Current node, then right-click one of the selected nodes and select Create Monitor and Plot From Report.
  7. In the Create Plot From Reports dialog, click Single Plot.
    The Reports Plot appears in the Graphics window.
  8. Select the Plots > Reports Plot > Axes > Left Axis node and set Minimum to -200.
Create a scalar scene that displays the electric potential on the surface of the grille.
  1. Create a Scalar scene and rename it Grille Electric Potential.
  2. To hide the outline in the displayer, double-click the Grille Electric Potential > Outline 1 node.
  3. Expand the Grille Electric Potential > Scalar 1 node and set the following properties:
    Node Property Setting
    Parts Parts Regions > Grille
    Scalar Field Function Electric Potential
Before setting up the Cr3+ Plating Thickness scalar scene, create the field function that is used to calculate the thickness of the plating. This field function comes from Eqn. (5278).
  1. Right-click the Automation > Field Function node and select New > Scalar.
  2. Rename the Field Functions > User Field Function 1 node to Cr3+ Plating Thickness and set the following properties:
    NoteWhen copying and pasting the definition for this field function, make sure to maintain the space between the words in the term "current density".
    Property Setting
    Function Name Cr3+ Plating Thickness
    Dimensions Length
    Definition
    51.99*($BoundarySpecificElectricCurrent)*300*
    interpolateTable(@Table("Song_Cr3+Polarization"),
    "current density",LINEAR,"efficiency",
    -$BoundarySpecificElectricCurrent)/(3*96485336.5*7.19e3)
  3. Create a Scalar scene and rename it Cr3+ Plating Thickness.
  4. Hide the outline in the displayer.
  5. Expand the Cr3+ Plating Thickness > Scalar 1 node and set the following properties:
    Node Property Setting
    Parts Parts Regions > Electrolyte > Boundaries > Grille [In-place 1]
    Scalar Field Function Cr+3 Plating Thickness
    Units um