Copying Material Elements Between GoldSim Model Files

In many cases, you may wish to create different portions of your model in different model files.  For example, one individual may be working on one part of your model (a particular subsystem), while another is working on a different subsystem.  At some point, you would then want to combine the various subsystems into a single model file.

GoldSim allows you do so by simply opening two instances of GoldSim (each with a different file), copying the desired elements (including entire Containers) to the clipboard, and then pasting them into the other model. 

When you are copying and pasting Material elements in this manner, however, there are several limitations that GoldSim imposes that you must be aware of:

   You cannot copy the Species element between models.  If you try to copy a Container containing the Species element, GoldSim will issue a warning message and prevent you from doing so.

   You can only copy Fluids and Solids between models if the two models have species lists with the same number of species and the same number of chemical elements (although the species and element names do not have to be identical).  This is because Fluids and Solids use the species and elements array label sets.  If the number of species or the number of elements was different between models, it would cause a conflict when the Fluid or Solid element was pasted, and GoldSim therefore prevents you from doing so.

   Note: When Containers are pasted into the same scope from which they were copied, GoldSim always localizes them.  As a result, other elements will not be able to see items in the Container unless you globalize it or expose the inputs. 

Related Topics…

Learn more about: