Other Solver File Features

 

Copy Project Data

Projects can update or add risk data sets and monitors (points, lines and regions) after simulations have finished calculating. This can be done in the MASTER file by using the various Update options but may take several hours to complete for some large projects (>6hrs for projects with 3000 cases). 

 

As an alternative, this "project data" (risk data sets and monitor information) may be sent to the existing solver files of the project so that they can be opened locally or on other machines and updated in parallel using ifx:Solve. 

 

To send the project data to the solver files:

  1. Ensure that all solver files in the project are up to date

  2. Define the new risk data sets and/or monitor regions in the MASTER in:Flux project

  3. Right-click on the Data Files text in the Project Items Tab and choose Copy Project Data to All. It will take some time to send the project data to each of the solver files. 

  4. Open each solver file in ifx:Solve, you will be prompted that some project data is out of date. Click Yes to update the project data in the solver file and wait for ifx:Solve to update the project data. You may opt to use the automated .bat file function for this as it will automatically open several files at once and activate the license for each and start updating the project data.

  5. Once the solver files have finished updating, click save and move the solver file back to the directory in which it was created. Update the MASTER file as before, the once grayed out risk data set or monitor regions should now appear with black text and can be used for optimizations or other data review.

 

"Cleaning" Solver Files

Cleaning solver files after they've been updated to the MASTER project is beneficial for saving and storing the data as for large projects gigabytes of replicated data can be removed to free up space on your machine.

 

Each solver file contains general data relating to the MASTER project file such as information regarding the geometry, leak locations, defined gas properties, etc. This data is needed to calculate the results however once simulations have complete this general project data is no longer needed as it is contained in the MASTER file. “Cleaning” the data files deletes this repeated data in each solver file.


It is important to first ensure that all the solver files have been synced and updated with the MASTER file before cleaning them. To clean solver files r ight-click the Data Files option in the Project Items Tab and select Clean All. 

 

Note that the opposite of cleaning solver files would be to Copy Project Data to All described above, however it is recommended to always make backups before performing this function.

 

 

Consolidate Solver Files

Some projects can have upwards of 50 or more solver files which may become difficult to transfer or manage. Additionally, the scope of a project may change so not all completed simulations are needed for the project. For situations such as these, the consolidate feature can be used. The features combines the completed simulation data into a smaller number of solver files which only contain simulation cases that are used in the project.

 

To use this feature, right-click on Data Files in the Project Items Tab and select Consolidate. A small window, seen in Figure 12, will appear asking how many consolidated solver files you would like to create and displays the number of simulations that would be included in each file. Click the Consolidate button to start the process.

 

Tutorial 13 - Figure 12 - Consolidate Solver Files Window

 

The consolidate feature will only create new data files and automatically link them to the main in:Flux project. It will not delete the original existing data files. Once the consolidation process is complete you may choose to delete the original files.

 

 

Touch Up Solver Files

A debugging feature in in:Flux which forces all solver files to an out of date state - thus forcing them to need to be updated. This may be useful if in:Flux believes it has updated all project data when in reality it has not. To use this feature, right-click Data Files in the Project Items Tab  and select Touch All.

 

 

Using ifx:Solve to create more Distributed Solver Files

When running large projects and deploying solver files to multiple machines, some will complete faster than others. This may be because the processing power of one machine is greater than the other or some function behind the scenes in windows was using more computing power.  If this is the case and one file still has several cases to complete after other solvers have fully finished, then you may want to split a solver file a second time to distribute the computational work load and finish computing the project. 

 

As an example the Tutorial 13 -00.ifxs file will be used:

  1. Stop the simulations in ifx:Solve for the file you want to split

  2. Save the file

  3. Click the Create Distributed Solver Files button, shown below. You will be prompted in how many files should be created. Enter a value and click Create. New files will now exist in the directory with a naming strategy:

    1. Tutorial 13 -00 -00.ifxs

    2. Tutorial 13 -00 -01.ifxs, etc...

  4. Now run these newly created solver files in new ifx:Solve instances as before.

  5. When complete, the MASTER file will need to have these new files added. To do this, right click the Data Files text and select Add Data Files. 

 

Tutorial 13 - Figure 13 - Creating new Solver Files from ifx:Solve

 

 

This completes Tutorial 13, providing a description of the uses for Distributed Solver Files (*.ifxs) with in:Flux and ifx:Solve.