Professional Documents
Culture Documents
Ares(2019)5444128 - 28/08/2019
PU: Public X
PP: Restricted to other programme participants
RE: Restricted to a group specified by the consortium
CO: Confidential, only for members of the consortium
Disclaimer:
This document’s contents are not intended to replace consultation of any applicable legal
sources or the necessary advice of a legal expert, where appropriate. All information in
this document is provided “as is” and no guarantee or warranty is given that the information
is fit for any particular purpose. The user, therefore, uses the information at its
sole risk and liability. For the avoidance of all doubts, the European Commission has no
liability in respect of this document, which is merely representing the authors’ view.
Figure 1: BDSS platform used in COMPOSELECTOR project and its components ....................................................8
Figure 2: From MODA to workflow implementation in MuPIF: (a) MODA workflow specification, (b) graphical
workflow editor generating executable workflow representation in python, (c) workflow execution using
remote resources (models, data sources).........................................................................................................9
Figure 3: Model and API progress overview. (Threshold levels: 30% (API Prototype), 75% (API complete and
tested), 90% (used in regular simulations)..................................................................................................... 12
Executive Summary
In this intermediate deliverable, we documented the approach how existing models are integrated into
simulation platform and document individual model interfaces used in COMPOSELECTOR project for
material modeling.
1
https://doi.org/10.1016/j.compstruct.2018.06.121
MuPIF executable
Workflow (Python)
Figure 2: From MODA to workflow implementation in MuPIF: (a) MODA workflow specification, (b)
graphical workflow editor generating executable workflow representation in python, (c) workflow
execution using remote resources (models, data sources).
and data into the unique workflow, see Figure 2. The translator can either use graphical workflow
editor, allowing to set up workflow using graphical editor and generate its executable representation
or develop directly the executable representation. The executable workflow representation is Python
script built on top of platform infrastructure. It allocates the individual models, steers their execution
and performs data exchange using standardized APIs of individual components. Thanks to distributed
component architecture, the workflows can transparently use local as well as remote components.
MuPIF platform handles execution of models locally or remotely. The models are registered on a
nameserver (yellow pages), supporting grid/cloud/parallel computing, remote data exchange,
encrypted communication and security via VPN.
Service Description
The interface to each model and corresponding solver is represented by a class derived from Model
class, which declares the generic model interface. The derived class, representing an interface to
specific solver, must provide an implementation of the interface. The API definitions have been
described in detail in D2.5. The Table 2 summarizes the generic model API.
Initialize (file, workdir, metaData, **kwargs) Initialize model, e.g. set input file, set path
getMesh (self, tstep) Returns the computational mesh for given solution step.
getField(self, fieldID, time) Returns the requested field at given time. Field is identified by
fieldID.
getProperty(self, propID, time, objectID=0) Returns property identified by its ID evaluated at given time.
The data exchange with the model is performed using generic get/set methods. The data in MuPIF are
represented by components. Thus data exchange consists of component exchange between models.
The data components have standardized interface declared by corresponding parent class allowing to
manipulate data of the same type via the same interface. MuPIF provides definition for properties,
domain discretizations, spatial fields and particle sets, for example. Additional data types can be easily
introduced. Data components are also derived from MupifObject class inheriting the capability to
manage attached metadata defined by a corresponding schema.
The error reporting in MuPIF uses exceptions. When an error occurs within a function, it creates an
Models in Composelector
Figure 3 contains an overview of individual models/solvers used in COMPOSELECTOR project, together
with their implementation and integration status, see also D6.2 (MODA Workflows, including Models
required, Input/output data required, Linking/coupling required) and D8.5 (Software quality
management report). The details of individual solver APIs are reported in subsequent paragraphs.
Figure 3: Model and API progress overview. (Threshold levels: 30% (API Prototype), 75% (API
complete and tested), 90% (used in regular simulations).
All the APIs are implemented and functional. Their integration into workflows and BDSS depends
on progress in individual use cases. The most developed use case is the Airbus case, where all
workflows are available and integration within BDSS has been performed and demonstrated.
Additional notes -
Description Computation of the displacement, strain and stress fields, and buckling
load via linear static analysis.
Geometry Provided by Airbus
User Defined Inputs Orthotropic material properties
Fixed Inputs Geometry and boundary conditions
Outputs Buckling load and buckling shape
Solver name, version, licence MUL2
MuPIF nameserver ID MUL2.JobManager@UseCase1
Model metadata ClassName:'mul2code'
{ 'Date_time_start': '2019-06-12 14:15:07',
'Description': 'MUL2-FEM code for structural analysis',
'Execution': {'ID': '1', 'Task_ID': '1', 'Use_case_ID': '1_1'},
'Hostname': 'srvcarreralinux',
'ID': 'MUL2-ID-1',
'Name': 'MUL2_FEM',
'Outputs': [ {'Description': 'First buckling load of the analyzed structure',
'Name': 'Buckling load', 'Origin': 'Simulated', 'Type': 'mupif.Property',
'Type_ID': 'mupif.PropertyID.PID_CriticalLoadLevel', 'Units': 'Nm'},
{'Description': 'Three dimensional shape of first buckling load
of the analyzed structure', 'Name': 'Buckling shape', 'Origin': 'Simulated',
'Type': 'mupif.Field', 'Type_ID': 'mupif.FieldID.FID_BucklingShape',
'Units'$ 'Physics': { 'Entity': 'Finite volume',
'Equation': ['Linearized buckling'],
'Equation_quantities': ['Stiffness matrix', 'Buckling load',
'Geometric stress matrix', 'Buckling mode vector'],
'Relation_description': ['Linear elastic'],
'Relation_formulation': ['Carrera Unified Formulation (CUF)'],
'Representation': 'Finite volumes',
'Type': 'Continuum'},
'Solver': { 'Accuracy': 'High',
'Complexity': 'Low',
'Creator': 'MUL2 Group - IK',
'Documentation': 'NA',
'Estim_comp_time_s': 0.01,
'Estim_execution_cost_EUR': 0.01,
'Estim_personnel_cost_EUR': 0.01,
'Estim_time_step_s': 1,
'Language': 'Fortran',
'License': 'LGPL',
Description New advanced multi-scale methods and simulation tools for composite
materials. Include manufacturing and process in the modelling to achieve
enriched material design optimisation. Include microstructure related
properties of polymer-based materials
Geometry Full scale piece
Postprocessing (COSSMAS)
Model type and name Statistical homogenization software,
COSSMAS
Description Calculate thermal conductivity and linear elastic material parameters of
composite material
Geometry None
User Defined Inputs Thermomechanical properties of constituent phases
Volume fraction
Inclusion geometry
Fixed Inputs None
Outputs Composite elastic properties
Composite conductivity
Solver name, version, licence COSSMAS, proprietary software
MuPIF nameserver ID Cosmass@Mupif.LIST
Model metadata ClassName:'Cosmass'
{ 'Description': 'homogeneization software',
'Hostname': 'MRT-GRA-30488',
'Name': 'COSMASS statistical homogeneization for
calculating composite mechanical porperties',
'Physics': {'Entity': 'Other', 'Type': 'Other'},
'Solver': { 'Accuracy': 'High',
'Complexity': 'Low',
'Creator': 'David Fiorelli Ahmed Makradi',
'Documentation': 'Nowhere',
'Estim_time_step_s': 1,
'Estim_comp_time_s': 14400.,
'Estim_execution_cost_EUR': 0.01,
'Estim_personnel_cost_EUR': 0.01,
'Language': 'Python',
'License': 'proprietary code',
'Required_expertise': 'Medium',
'Sensitivity': 'High',
'Robustness': 'High'
'Software': 'COSMASS',
'Version_date': '04/2019',
'Type': 'Summator'},
Description The mechanical properties for the composite (Matrix + Inclusion) are
computed using full field homogenization.
Geometry RVE with inclusion position given by MD
simulation
Postprocessing (CMBSFE)
Model type and name Computational homogeneization software,
CMBSFE
Description Calculate linear elastic material parameters of composite material
Geometry RVE of composite
User Defined Inputs Linear elastic properties of constituent phases
Fixed Inputs None
Outputs Composite elastic properties
Solver name, version, licence CMBSFE, proprietary software
MuPIF nameserver ID CmbsFE@Mupif.LIST
Model metadata ClassName:'CmbsFEApp'
{ 'Description': 'homogeneization software',
Additional notes
Summary
In this deliverable, the developed and implemented APIs to material models in COMPOSELECTOR are
documented. The approach how existing models are integrated into simulation platform is described and
individual model interfaces are documented.
References
[1] What makes a material function? Let me compute the ways..., A. F. de Baas ed., Modelling in H2020 LEIT-
NMBP Programme Materials and Nanotechnology projects, Sixth version, 2017
[2] The European Material Modelling Council, https://emmc.info
[3] MODA Workflow Templates, https://emmc.info/moda-workflow-templates/
[4] B. Patzak, V. Šmilauer, S. Šulc and M. Horák, “MuPIF repository,” 2019. [Online, Available:
https://github.com/mupif/mupif].
[5] D3.2 Identification of requirements for the interaction between the business layer and the interoperability
layer and database tools, Composelector project, 2018
[6] D2.6 Integration test on prototypic simulation scenario, Composelector project, 2018.
[7] D2.5 Report on API definition for models, high-level data, and data storage platform, Composelector project,
2017