--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/b23fa243-c3ad-4fef-8dc2-9386584f4b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
My suggestion is that you read the "application development" section of the wiki:
http://mooseframework.org/wiki/
MOOSE is not something that you can understand and drive in a few minutes. For instance, when i started i attended a moose training that lasted 3 full days and it went through the first set of slides in the aforementioned section (viz "MOOSE training (Old)").
It is a joy to work using MOOSE, and carefully reading those documents, even if it takes you a few days or a week, will really pay off. Soon you will be solving all sorts of amazing physics with ease!
a
Dear all,
Best Regards,
Yufeng Dong
Hi Dong Yufeng,
Daniel and Andrew have helped u a lot. Let me
write a few basic steps (layman way of understanding MOOSE) :
Step
1:
1. Fundamental MOOSE or Base MOOSE = MOOSE
framework which we install from source (same for all MOOSE
users). How to is given in http://mooseframework.org/
2.
Total MOOSE = MOOSE framework + user application (the user
application i.e. forked from stork , given a new nomenclature
and linked to the Fundamental MOOSE) . How to is given in
http://mooseframework.org/
Note: The code changes in Fundamental MOOSE is a part of framework development and is not discussed here.
Step
2:
Beauty of MOOSE framework
a.
Fundamental MOOSE framework remains identical for all users if they
are of same update status.
b. The Total MOOSE is different for
different users because of difference in code commitments in personal
application. Most of the user applications created by MOOSE users
have named after birds or animals (a tradition).
What is
the linkage between fundamental MOOSE and user application?
User application needs to be registered to the MOOSE framework.
a.
The fundamental MOOSE provides a form to the user application with
title "StorkApp.C.app". In this form we need to
register our added code commitments and compile the personal app each
time we register our committed files..
https://github.com/idaholab/
(The word stork will be replaced by the name of our user app.)
b.
After we register the user app to MOOSE framework, we can use all the
features of the fundamental MOOSE framework through our user app
without changing the codes in the base MOOSE and if we need to write
newer codes, we can write them similarly in the user app as it has a
similar structure (folders and directory structure) like the original
MOOSE framework.
As a layman, we can say that MOOSE framework
is a core with lot of codes and our user application is an initially
empty shell (with the same structure of core). We can write codes in
our user app and make the Total MOOSE solve the PDEs as per the
Physics and Chemistry. Moreover, if we register all the modules of
Base MOOSE framework in our user app, we can run all the examples of
MOOSE by copying them in our application directory. So, the principle
is " (In order to produce overall change in Total MOOSE , we
change the shell and keep the core unchanged)".
As users,
we like to solve new physical problems, the code commitments will
produce overall change in Total MOOSE and the basic purpose of MOOSE
system is to meet this requirement of overall code change by changing
the composition of shells (user applications) and keeping the core
intact or unchanged. In MOOSE system, principally, all the users have
same core but different shells.
The principle of making core
intact has a great merit. Also, the differentiation between different
shells will prove scientific in adapting to other users' shell or
apps. Several user applications can be used with clear understanding
as they refer to the same intact core.
So,
Steps
1. I installed MOOSE (compiled it) .
2.
Then i forked the stork and named it as "danphe - named after a
bird found in Nepal" (https://github.com/).
3. I registered danphe application to fundamental MOOSE framework
(https://github.com/)
which has resulted in Total MOOSE framework.
4. I compiled danphe
and run the MOOSE examples from it.
5. When i write newer kernels
or other files, i register them to MOOSE framework via DanpheApp.C
and recompile danphe. I make suitable input files and run it with
./danphe-opt.
Cheers
Yours Sincerely,
Anil Kunwar