Wiki

Clone wiki

Simflowny / UserGuide_Model

Model

In this section the user must import the model to use. Expand the Model element and set the model Name (an arbitrary name for referencing), and the Id (the model identifier in the document manager). When clicking to edit the Id, a new window opens with a reduced version of the document manager where to select the model to import:


images/common/importmodel.png

Find and double-click on the model to import it to the problem.

Because of a model can be reused in many problems, the variable names may be different, overlaping or the user may want to change its names. When this happens, the user must set a mapping between the variables defined in the problem and the variables of the model. For instance, you may want to include a model which include a density property, and they may be the same property in your model. However there is no guarantee that the model author provided it with the same name. Therefore you give the density property the name you consider more appropriate in your problem, and then map it to the corresponding property in the involved model. Similar situations are frequent with coordinates, parameters, eigen vectors, etc. In this case, the proper equivalences should be added. Once a model is imported, you can set the equivalences for that model. Notice, however, that is not necessary if the variable names are the same.

The image below shows an example of a Coordinate Equivalence where the coordinates are different:


images/UserGuide/equalitiesABM.png

Updated