User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start [2020/01/19 14:45] bpstart [2023/04/27 23:10] (current) bp
Line 1: Line 1:
-{{ :wiki:images:mupif-logo-3-color.png?250|}} +{{ :wiki:images:mupif-logo.png?100|}} 
 +{{keywords> Open Simulation Platform, Digital twin, Interoperability, Modelling, Simulations, Workflows}}
 ====== MuPIF ====== ====== MuPIF ======
  
-MuPIF is modular, object-oriented integration platform allowing to create complex, distributed, multiphysics simulation workflows across the scales and processing chains by combining existing simulation tools. MuPIF uses Python 3.5 standards and is independent on operating system (Linux, UNIX, Windows, Mac, ...). +MuPIF is open-source, modular, object-oriented integration platform allowing to create complex, distributed, multiphysics simulation workflows across the scales and processing chains by combining existing simulation tools. Platform comes with data management system allowing to build digital twin representations of physical systems 
-[[https://twitter.com/@ComposelectorH|{{ :wiki:images:twitter-bird.png?50|}}]]+
  
-==== MuPIF highlights ====  +MuPIF utilizes an object-oriented approachwith abstract classes defining standardized interfaces introduced to represent simulation models and data types.  
-  * Design based on interactingdistributed components (objects).  +This concept allows to manipulate and steer all models using generic interface. It will also allow to abstract from a particular internal data representation of a data typeincluding storage and location
-  * Components are encapsulation of data, metadata and related services. In MuPIF components repsent models, workflows, and data (such as properties, spatial fields, microstructures, etc. +In turn, the models working with the data obtain required information from data objects using servicesrather than obtaining them by interpreting raw data (which yields the data format dependence)One can think of abstract classes as representing data as data bricks” with standardized connectors able to be used in their appropriate place in workflows to represent abstract data containers 
-  * Instead of trying to standardize data structures, MuPIF is focused on identification and standardization of services on component classes  +MuPIF achieves interoperability with standardization of application and data component interfaces and it is not reliant on standardized data structures or protocolsAny existing data representation or simulation model can be plugged in and used transparentlyprovided the corresponding data interface is implemented.
-  * Each generic class (model, workflow, complex data types) represented by abstract class which defines abstract interface (set of standardized services)  +
-  * Interfaces allow to communicate with any object using generic services, hiding the particular implementation details and allowing plug-and-play architecture +
-  * Data, metadata and services (algorithms) operating on data encapsulated in component are exchanged between applications → Models will get data and operations on data in one consistent packagedo not have to interpret data themselves +
-  * MuPIF components can be local as well as remote objects → distributed workflows, distributed data, enabling business model based on software or data as service and marketplaces integration +
-  * MuPIF supports SSL or VPN based secure communication and data exchange +
-  * Interfacing to commercial, closed source as well as open source simulation tools and databasesGraphical workflow editor   +
- +
-==== Framework Design ===== +
-A reliable multiscale/multiphysics numerical modeling requires including all relevant physical phenomena along the process chaintypically involving multiple scales, and the combination of knowledge from multiple fields. A pragmatic approach lies in combining existing tools, The approach followed in MuPIF is based on an system of distributed, interacting components designed to solve given problem. The individual components represent different entities, including individual simulation packages and simulation workflows, high level data, external databases, etc. The top-level abstract classes are introduced covering all entities in the model space, defining common interfaces that need to be implemented by any derived class, representing particular implementation of specific component. Such interface concept allows using any derived class on a very abstract levelusing common services defined by abstract class, without being concerned with the implementation details of an individual software component. This essentially allows to manipulate all models, data, and workflows using standardized interfacesMoreover, as the complex simulation data are represented by objects as well, the platform is independent on particular data format(s), as they can be manipulated using same abstract interfacesTherefore, the focus is on services provided by objects (object interfacesand not on underlying object'data. In addition, the distributed design allows to treat local as well as remote objects using the same interface making the platform naturally distributed.   +
-{{ :wiki:images:mwg_full.gif?nolink|}}+
  
-Even though the platform can be used locally on a single computer orchestrating installed applications, the real strength of the MMP platform is its distributed design, allowing to execute simulation scenarios involving remote applications. MuPIF provides a transparent distributed object system, which takes care of the network communication between the objects when they are distributed over different machines on the network. One can just call a method on a remote object as if it were a local object – the use of remote objects is (almost) transparent. This is achieved by using the concept of proxies representing remote objects, which forward the calls to the remote objects and pass the results back to the calling code. In this way, there is no difference between simulation script for local or distributed case, except for the initialization, where, instead of creating local object, one has to connect to the remote object.  
  
  
 +Even though the platform can be used locally on a single computer orchestrating installed applications, the real strength of the MuPIF platform is its distributed design, allowing to execute simulation scenarios involving remote applications and data. MuPIF provides a transparent distributed object system, which takes care of the network communication between the objects when they are distributed over different machines on the network.
 +{{ :wiki:images:mupif-distributed-v2-cropped.png?nolink |}}
  
-===== Implementation ===== 
-Rather than writing programs, the Python language is extended by modules, representing interfaces to existing codes and data structures with specific functionality. The emphasis is on building infrastructure to facilitate the implementation of multi-physic and multi-level simulations. The high-level language serves as a “glue” to tie the modules or components together, to create specialized application. Python language provides the flexibility, interactivity, and extensibility needed for such an approach, thanks to its concise and pseudocode-like syntax, modularity and object-oriented design, introspection and self documentation capability, and the availability of a Numerics extension allowing the efficient storage and manipulation of large amounts of numerical data. The application interface can be conveniently realized by wrapping application code. The process of wrapping code can be automated to a fair extent using [[http://www.swig.org/|SWIG]], [[http://www.boost.org|Boost]], or similar tools, which can generate wrapper code for several languages. This approach also allows a single source version of the component code to be maintained.  
 The simulation workflows are implemented as Python scripts built on top of MuPIF. The graphical workflow editor is available to make the workflow implementation more accessible and convenient. The simulation workflows are implemented as Python scripts built on top of MuPIF. The graphical workflow editor is available to make the workflow implementation more accessible and convenient.
  
-====== Documentation ====== +MuPIF comes with a Data Management System (DMS) called MuPIFDB. The DMS is used to track integrated simulation workflows, their executions including execution inputs and outputs. It also provides a generic Digital Twin model, which is based on Entity Data Model (EDM). The EDM identifies the individual entities, their attributes and relations between them. The EDM is defined using JSON schema, and the DMS structure is generated from this schema. The EDM allows to map entity attributes to simulation workflow inputs (determining the initial conditions) and simulation workflow outputs can be mapped to newly cloned entities representing updated configuration(s). The EDM can be regarded as hypergraph, where nodes represent entity states and edges representing processes. 
-  * Online [[https://github.com/mupif/mupif/blob/master/mupif/doc/userManual/MuPIF-userman.pdf|User manual]] and [[https://github.com/mupif/mupif/blob/master/mupif/doc/refManual/MuPIFReferencemanual.pdf|Reference manual]] + 
-  * Three webinars on MuPIF platform design, installation, and use are available on [[http://mmp-project.eu/doku.php?id=public_events|MMP project website]] and also available on YouTube:  +MuPIF is written in Python 3.5 and is independent on operating system. 
-     [[https://www.youtube.com/watch?v=Q9FRviRo0TE1st webinar on Generic platform design]], + 
-     * [[https://www.youtube.com/watch?v=NFmCYtou_hM 2nd webinar on Build your own API]], +==== MuPIF highlights ====  
-     * [[https://www.youtube.com/watch?v=72vj_Uf5YQo3rd webinar on Perform a platform run]]. +  * Design based on interacting, distributed components (objects), representing simulation models, workflows, and data (such as properties, spatial fields, microstructures, etc.)  
-===== Demonstration of platform use ===== +  * Instead of trying to standardize data structures, MuPIF is focused on identification and standardization of component services   
-  * [[wiki:examples:thermo-mechanical-demo|Coupled thermo-mechanical analysis]] +  * Data, metadata and services (algorithms) operating on data encapsulated in a component are exchanged between applications → Models will get data and operations on data in one consistent package, do not have to interpret data themselves 
-  * [[wiki:examples:multiscale-heat-transfer-demo|Multiscale heat transfer]]+  * MuPIF components can be local as well as remote objects → distributed workflows, distributed data, enabling business model based on software or data as service and marketplaces integration 
 +  * MuPIF supports SSL or VPN based secure communication and data exchange 
 +  * Interfacing to commercial, closed source as well as open source simulation tools and databases.  
 +  * MuPIF comes with own database solution (MuPIFDB) to track and store simulations and workflow scheduler. Both tools come with REST API allowing easy integration 
 +  * Graphical workflow editor   
 + 
 +====== Documentation & Resources ====== 
 +  * The Musicode project MuPIF training video recording is available on YouTube: [[https://youtu.be/oaN78pB8vxw | Musicode MuPIF training]]. 
 +  * The mupif/jupyter-demos repository on GitHub contains 
 +      * [[https://github.com/mupif/jupyter-demos/blob/main/Introduction/index.ipynb MuPIF Tutorial for beginners]] 
 +      * [[https://github.com/mupif/jupyter-demos/blob/main/API-development/index.ipynb MuPIF Model API development tutorial]] 
 +  * Online [[https://mupif.readthedocs.io/en/latest/#|User manual]] and [[https://mupif.readthedocs.io/en/latest/ref.html|Reference manual]] 
 +  * [[https://github.com/mupif/mupif.gitMuPIF github repository]] 
 +  * [[wiki:workfloweditor|Workflow Editor and Code Generator]] A graphical tool to compose a workflow structure and generate a Python code of the simulation
 + 
 +  * Examples 
 +     * [[wiki:examples:thermo-mechanical-demo|Example of Coupled thermo-mechanical analysis]] 
 +     * [[wiki:examples:multiscale-heat-transfer-demo|Demo of Multiscale heat transfer]]
  
 ===== How to get MuPIF ===== ===== How to get MuPIF =====
 The easiest installation happens through Python Package Index (pip) which takes care of dependencies and installs/updates missing modules automatically. Run as a command The easiest installation happens through Python Package Index (pip) which takes care of dependencies and installs/updates missing modules automatically. Run as a command
 <code> <code>
-pip install mupif+pip3 install --upgrade git+https://github.com/mupif/mupif.git 
 +</code> 
 +Alternatively, you may download and install MuPIF from [[https://github.com/mupif/mupif.git|MuPIF git repository]] 
 +<code> 
 +git clone https://github.com/mupif/mupif.git
 </code> </code>
-Alternatively, you may download and install MuPIF from [[https://github.com/mupif/mupif.git|git repository]]. You have to take care yourself on depending modules (Pyro4, numpy, scipy, setuptools, enum34, pyvtk). 
-**Note that since June, 2017 the git repository has been migrated to GitHub.**  
 ===== License ===== ===== License =====
 MuPIF is available under GNU Library or Lesser General Public License version 3.0 (LGPLv3) MuPIF is available under GNU Library or Lesser General Public License version 3.0 (LGPLv3)
 ===== Support ===== ===== Support =====
 The GitHub issue subsystem to report any bugs or get a support [[https://github.com/mupif/mupif| MuPIF GitHub page]] The GitHub issue subsystem to report any bugs or get a support [[https://github.com/mupif/mupif| MuPIF GitHub page]]
-===== Course ===== +
-We offer intensive, one-day course on multi-scale and multi-physics modeling using MuPIF platform. The course covers following topics: +
-  * Fundamentals of MuPIF philosophy, design, and structure +
-  * MuPIF installaton on different platforms +
-  * Application interface explained, connecting existing applications +
-  * Developping custom simulation scenarios +
-  * Practical session on platform usage +
-The cost of the course is 400 EUR/person. Course will be held in Prague at the Czech Technical University. Minimum of 5 participants per course.+
 ===== Authors & Credits ===== ===== Authors & Credits =====
 Mupif developpers: Mupif developpers:
   * [[http://mech.fsv.cvut.cz/~bp|Bořek Patzák]] (Lead Developper)   * [[http://mech.fsv.cvut.cz/~bp|Bořek Patzák]] (Lead Developper)
   * [[http://mech.fsv.cvut.cz/~smilauer/|Vit Šmilauer]]   * [[http://mech.fsv.cvut.cz/~smilauer/|Vit Šmilauer]]
-  * Guillaume Pacquaut 
   * Václav Šmilauer   * Václav Šmilauer
-  * Former developpers: Daniel Rypl, Jaroslav Kruis +  * Martin Horák 
-Contact: info@oofem.org+  * Stanislav Šulc 
 +  * Former developpers: Daniel Rypl, Jaroslav Kruis, Guillaume Pacquaut 
 +Contact: Borek.Patzak(at)cvut.cz
  
-====== Resources ====== 
-  * [[wiki:workfloweditor|Workflow Editor and Code Generator]] A graphical tool to compose a workflow structure and generate a Python code of the simulation. 
-===== Related tools ===== 
-  * Python Programming Language, [[http://www.python.org/]]. 
-  * Boost  - C++ wrapper generator, [[http://www.python.org/]]. 
-  * Pyro project home page, [[http://pyro.sourceforge.net/]]. 
 ===== Related Publications ===== ===== Related Publications =====
   * B. Patzák, D. Rypl, and J. Kruis. Mupif – a distributed multi-physics integration tool. Advances in Engineering Software, 60–61(0):89 -- 97, 2013 (http://www.sciencedirect.com/science/article/pii/S0965997812001329).   * B. Patzák, D. Rypl, and J. Kruis. Mupif – a distributed multi-physics integration tool. Advances in Engineering Software, 60–61(0):89 -- 97, 2013 (http://www.sciencedirect.com/science/article/pii/S0965997812001329).
Line 80: Line 75:
    * B. Patzák, V. Šmilauer and M. Horák. MuPIF: Multi-Physics Integration Platform. 6th European Conference on Computational Mechanics (ECCM 6), Glasgow, 2018.    * B. Patzák, V. Šmilauer and M. Horák. MuPIF: Multi-Physics Integration Platform. 6th European Conference on Computational Mechanics (ECCM 6), Glasgow, 2018.
    * S. Belouettar, C. Kavka, B. Patzák, H. Koelman, G. Rauchs, G. Giunta, A. Madeo, S. Pricl, S. et al. Integration of material and process modelling in a business decision support system: Case of COMPOSELECTOR H2020 project. Composite Structures, 204, 778-790, 2018.    * S. Belouettar, C. Kavka, B. Patzák, H. Koelman, G. Rauchs, G. Giunta, A. Madeo, S. Pricl, S. et al. Integration of material and process modelling in a business decision support system: Case of COMPOSELECTOR H2020 project. Composite Structures, 204, 778-790, 2018.
 +
 ===== Projects using MuPIF===== ===== Projects using MuPIF=====
-  * MuPIF used as modeling platform in H2020 [[http://composelector.net|Composelector]] project+  * **MuPIF spotted by EU Innovation Radar as innovation exploring value creation opportunities** [[https://www.innoradar.eu/innovation/35416]] 
 +  * MuPIF used as modeling platform in H2020 [[http://composelector.net|Composelector]] and [[http://musicode.eu|Musicode]] projects
   * Platform is used to simulate the effect of fire on structural response, project GACR 16-18448S   * Platform is used to simulate the effect of fire on structural response, project GACR 16-18448S
   * Platform has been used to model moisture condensation in tunnels, project [[http://cesti.cz|CESTI]]   * Platform has been used to model moisture condensation in tunnels, project [[http://cesti.cz|CESTI]]
Line 87: Line 84:
  
  
 +
 +===== Events =====
 +  * Ioannina Summer School on Multiscale Modelling and Open Innovation Platforms, 18-23 July 2022, Ioannina, Greece (online event), http://musicode.eu/events/summer-schools/2022
 +
 +===== Course =====
 +We offer intensive, one-day course on multi-scale and multi-physics modeling using MuPIF platform. The course covers following topics:
 +  * Fundamentals of MuPIF philosophy, design, and structure
 +  * MuPIF installaton on different platforms
 +  * Application interface explained, connecting existing applications
 +  * Developping custom simulation scenarios
 +  * Practical session on platform usage
  
 ===== Acknowledgements===== ===== Acknowledgements=====
-  * The development of MuPIF has been funded by Grant Agency of the Czech Republic - Projects No. P105/10/1402. +  * The original development of MuPIF has been funded by Grant Agency of the Czech Republic - Project No. P105/10/1402. 
-  * The development is at present supported by the EU project [[http://mmp-project.eu/|Multiscale Modelling Platform: Smart design of nano-enabled products in green technologies]], project number 604279. +  * The development has been supported by several EU project:  
-  Starting from 2017, the development will be further supported in the frame of EU H2020 project [[http://composelector.net|COMPOSELECTOR: Multi-scale Composite Material Selection Platform with a Seamless Integration of Materials Models and Multidisciplinary Design Framework]].+     * MMP - Multiscale Modelling Platform: Smart design of nano-enabled products in green technologies (FP7 project number 604279),  
 +     * [[http://composelector.net|COMPOSELECTOR: Multi-scale Composite Material Selection Platform with a Seamless Integration of Materials Models and Multidisciplinary Design Framework]], Project no 721105, 2017-2020. 
 + 
 +At present, the MuPIF development is supported by following projects 
 +  * [[http://musicode.eu|H2020 MuSICODE project: An experimentally-validated multi-scale materials, process and device modeling & design platform enabling non-expert access to open innovation in the organic and large area electronics industry]], Grant agreement no. 953187, 2021-2024.  
 +  * DeeMa project (Deep-Learning and Optimisation Enabled Material Microstructure Design), funded by Technology Agency of the Czech Republic, grant agreement no. TH75020002. 
 +  
  
 <WRAP centeralign> <WRAP centeralign>
 Access counter: <html> Access counter: <html>
-<a href="https://www.free-count.com/" target="blank"><img src="https://www.free-count.com/countme.php?id=2156466&la=1001&no=1&fn=7&rs=60title="Webcounter from Free-Count.comstyle="border:0"></a> +<!-- Histats.com  (div with counter) --><div id="histats_counter"></div> 
-</html> (Since May2016)+<!-- Histats.com  START  (aync)--> 
 +<script type="text/javascript">var _Hasync= _Hasync|| []; 
 +_Hasync.push(['Histats.start', '1,4736990,4,2049,280,25,00001010']); 
 +_Hasync.push(['Histats.fasi', '1']); 
 +_Hasync.push(['Histats.track_hits', '']); 
 +(function() { 
 +var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true; 
 +hs.src = ('//s10.histats.com/js15_as.js'); 
 +(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs); 
 +})();</script> 
 +<noscript><a href="/" target="_blank"><img  src="//sstatic1.histats.com/0.gif?4736990&101alt="free counterborder="0"></a></noscript> 
 +<!-- Histats.com  END  --
 +</html> (Since February2023)
 </WRAP> </WRAP>
  
  
start.1579441543.txt.gz · Last modified: 2020/01/19 14:45 by bp