MDL classes inherited from the base class SegmentPreProcessingSetupModel are used to specify the list of quantities which have to be initialized on the pertinent material segment. Therefore the interface parameter quantityInitialization (Table 4.16) builds up an associative list of MDL quantity names and their assigned initialization models of the type QuantityInitializationModel. The therein specified MDL classes will be evaluated for each grid point of the initial simulation grid enabling the user to define the initial value of the concerned quantity. The quantities are initialized in the same order their initialization models are listed in quantityInitialization.
Name | Type | Description | |
quantityInitialization | PromisInitList |
|
NewModel Si_SegmentInitialization : SegmentPreProcessingSetupModel {
evaluate{
:quantityInitialization["As"] = "DefaultQuantityInit";
:quantityInitialization["B"] = "Si_BoronQuantityInit";
....
}
}
Example 4.6: A sample SegmentPreProcessingSetupModel