(5 comments)

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:

[MultiApps]
  [./hare_app]
    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

Comments

new balance 410 mujer 1 year, 3 months ago

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

Link | Reply
Currently unrated

expert essay writer 3 months 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 1 month, 4 weeks ago

good

Link | Reply
Currently unrated

live tv 4 weeks, 1 day ago

Once You the search for live tv apps for android or iOS for free, there is plenty of apps are available, but Most of the apps on google are paid versions except Mobdro online tv app.All the features of mobdro can be enjoyed on free version App

Link | Reply
Currently unrated

vpn for kodi 1 week, 4 days ago

Great post thanks for sharing

Link | Reply
Current rating: 5

New Comment

required

required (not published)

optional

R&D 100

Recent Blog Posts

Using our new clang-format Style

8 months, 2 weeks ago

Steady State Algorithm Change

1 year, 5 months ago

Making an App inherit from an App

1 year, 5 months ago

Changing a published API (Deprecation)

1 year, 6 months ago

DiscreteMaterial Objects

1 year, 8 months ago

Recent Posts

Archive

2017
2016
2015
2014

Tags

Authors

Feeds

RSS / Atom