:orphan: :hide-sidebar-primary: true Run simulations with time-independent inputs ============================================ If your model's inputs are time-independent scalars, you can handle it with an object `FMUPointToFieldFunction`. These examples below show you how to proceed. .. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
The cantilever beam ------------------- These two examples rely on a very simple time-independent model to understand how to use OTFMI. The first one show you how to use the `FMUPointToFieldFunction` object to run simulations, while the second describes how to run simulations with OTFMI's low-level functions. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_example/p2f/beam/images/thumb/sphx_glr_plot_lowlevel_thumb.png :alt: :doc:`/auto_example/p2f/beam/plot_lowlevel` .. raw:: html
Load an FMU
.. raw:: html
.. only:: html .. image:: /auto_example/p2f/beam/images/thumb/sphx_glr_plot_simulation_thumb.png :alt: :doc:`/auto_example/p2f/beam/plot_simulation` .. raw:: html
Run simulations with FMUPointToFieldFunction
.. thumbnail-parent-div-close .. raw:: html
The epidemiological model ------------------------- Here is another set of examples based on model of disease propagation. The inputs are still time-independent, but now, the output is time-dependent. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_example/p2f/epid/images/thumb/sphx_glr_plot_dyn_set_thumb.png :alt: :doc:`/auto_example/p2f/epid/plot_dyn_set` .. raw:: html
Set FMU simulation parameters
.. raw:: html
.. only:: html .. image:: /auto_example/p2f/epid/images/thumb/sphx_glr_plot_dyn_basics_thumb.png :alt: :doc:`/auto_example/p2f/epid/plot_dyn_basics` .. raw:: html
FMUPointToFieldFunction basics
.. raw:: html
.. only:: html .. image:: /auto_example/p2f/epid/images/thumb/sphx_glr_plot_dyn_init_thumb.png :alt: :doc:`/auto_example/p2f/epid/plot_dyn_init` .. raw:: html
Initialize FMUPointToFieldFunction
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /auto_example/p2f/beam/index.rst /auto_example/p2f/epid/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: p2f_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: p2f_jupyter.zip `