Dynamically Loading Multiapps

If you are working on your own application and would like to try out the Multiapp system with someone else's Application, you currently you have to run through a series of steps to add dependencies to the Makefile and register the other application explicitly.

This is no longer the case. MOOSE Now supports the ability to dynamically load other applications that may not be linked to your application in any way.

For this example let's assume your application is called "Tortoise" and you want to run "Hare" as a MultiApp. You might start with a block that looks like this in your input file:

    type = TransientMultiApp
    app_type = HareApp
    execute_on = timestep
    positions = '0.0 0.0 0.0
                 0.5 0.5 0.0'
   input_files = 'hare_input.i'

Finally, you just need to tell MOOSE where to find this application:

  1. export MOOSE_LIBRARY_PATH=$MOOSE_LIBRARY_PATH:$HOME/projects/hare/lib
  2. Alternatively, you may set the input parameter library_path to point to the folder containing the dynamic library '../../../lib'. Using a relative path means this will work on someone else's system however MOOSE does support either relative or absolute paths.
Currently unrated


new balance 410 mujer 1 year, 1 month ago

Either way keep up the new balance 410 mujer nice quality writing,

Link | Reply
Currently unrated

expert essay writer 1 month, 3 weeks ago

The developers made this code for the improvement of this project.They may for understanding the various methods for learning the whole environment.The government should take some steps accordingly to keep the air free of danger.

Link | Reply
Currently unrated

rolex replica 3 weeks, 4 days ago


Link | Reply
Currently unrated

New Comment


required (not published)


R&D 100

Recent Blog Posts

Using our new clang-format Style

7 months, 1 week ago

Steady State Algorithm Change

1 year, 4 months ago

Making an App inherit from an App

1 year, 4 months ago

Changing a published API (Deprecation)

1 year, 5 months ago

DiscreteMaterial Objects

1 year, 7 months ago

Recent Posts






RSS / Atom