19.3. Specifying File Dependencies

The upstream dependencies (or “file pedigree”) for any file are typically defined automatically by EKM when outputs are specified for a simulation analysis. When the analysis is executed and its dependencies are updated, the analysis is automatically added as an upstream dependency to all output files. Thus when you view the dependencies of the output file, you will see the analysis as an upstream dependency. There are situations, however, when you may want to manually specify the upstream dependency for a file. You can use the Edit Pedigree action to do this.

For example, suppose you have raw CAD geometry that you have cleaned up or modified to create a geometry file that is suitable for analysis. The new geometry file is dependent on the original CAD geometry. You could define an analysis project that specifies the original CAD geometry as an input and the new analysis geometry as an output. But for simplicity, you can directly specify the original CAD geometry as an upstream dependency of the analysis geometry without specifying an analysis project. This allows you to easily monitor file dependencies, especially when you are not interested in other benefits of the analysis project (such as data encapsulation, automatic execution, and so on). The dependency diagram of the analysis geometry will indicate whether the original CAD geometry has been modified, making the current file out of date.

To specify the upstream dependencies for a file:

  1. Select the file, then select   (Edit) > Pedigree. This will open the Edit File Pedigree dialog box.

    Figure 19.3:  Setting a File's Pedigree

    Setting a File's Pedigree

  2. To add a new dependency to the file, click Add… and then select a file or an analysis project you want to specify as an upstream dependency. If an object is under version control, select the version of the object that you want to use.

  3. To remove an existing dependency, click on any dependency in the Upstream dependencies list box and click Remove.


Release 18.2 - © ANSYS, Inc. All rights reserved.