Retrieving Transient Solution Data
Solution views allow you to retrieve and view solution data states from a simulation history file. Each solution view has its own representation that you then apply in scenes, plots, and reports.
By default, Simcenter STAR-CCM+ creates a solution view node at the same time as you create a solution history node. For older simulations, where this did not happen automatically, or when you load simulation history files directly, you can create your own solution views.
For each solution view, Simcenter STAR-CCM+ adds a corresponding representation within the Representations node. You can access the data from the solution view by applying this representation to post-processing objects such as scenes and plots. The state properties of the solution view node controls the time-step or instant from which data is pulled for the post-processing object.
You can create additional solution views that reference the same simulation history file. This capability is useful for performing side-by-side comparisons of different case set-ups or design iterations. In each solution view, you can choose to display the transient data that is stored in each state, or the snapshots that you created.
All coordinate system data and motion data in the simulation is recorded in the simulation history file automatically. (For details about motion data, see Modeling Motion.)
For reports, you can apply a solution view representation to any report for which the simulation history contains the necessary data. You can then create a monitor and plot from the report and have Simcenter STAR-CCM+ populate the plot using all or some of the states in the simulation history file. In this way, you can recreate a time history plot for the reported function or expression.
To apply a solution view in context:
Action | Instructions | ||
---|---|---|---|
Change the point from which data is read in the history file |
|
||
Create an additional solution view |
|
||
Apply a recorded solution view to a scene |
Choose one of the following methods:
When you first apply a recorded solution view to a scene, the scene displays the data for the first time-step that is stored in the simulation history file. |
||
Use motion data from a simulation history file in a scene |
|
||
Compute a report using simulation history data |
|
||
Populate a time-history plot for one report or more |
Simcenter STAR-CCM+ steps through the range of states and, for each state, adds the computed report value to the monitor and plot. |
||
Use the recorded coordinate system for converting field functions to a local coordinate system |
Vector field functions can be transformed based on the recorded data of a local coordinate system. These field functions can be used in displayers, reports, and tables. The following steps use a Sum report as an example:
|
||
Apply recorded solution data in an XY plot |
Select the Representation property to [solution view representation]. | node and set its||
Include the recorded coordinate system in the extraction of an xyz internal table |
|
||
Use the recorded coordinate system in the extraction of an accumulated force table |
When extracting an accumulated force table, you can use the recorded coordinate system data to transform the direction vector of the force.
|
Populating a Combination of Field Functions with Solution History
In this example, you are using an expression report that has the definition
${MaximumPressureReport}/${MaximumAreaMagnitudeReport}
, based on two Maximum reports (one for Pressure and one for Area Magnitude). You also have a monitor and plot from the expression report and have them populated with solution data during iteration.
- As described in the instructions above, define the two Maximum reports to use simulation history.
- Create a user-defined scalar field function with a definition as follows:
${MaximumPressureReport}/${MaximumAreaMagnitudeReport}
. - Create a Maximum report with this user field function selected.
- Create a monitor and plot from this report. The solution history results are consistent with the solution data in the plot of the expression report.