Grain Growth - grain_growth_2D_random.i #16966
-
Hi, Could I get a little help with the appended example file: grain_growth_2D_random.i? As I understand from the Grain Growth Model section of the Moose Manual, order parameters and kernels are automatically created by the Action system called GrainGrowthAction. I even found the files GrainGrowthAction.h and GrainGrowthAction.C and read them. What I do not understand is:
I noticed that Moose crashes if the name PolycrystalVariables is changed and I noticed that there is a folder called PolycrystalVariables This folder contains a single file called index.md which contain the following single line: !template load file=stubs/moose_system.md.template name=PolycrystalVariables syntax=/Variables/PolycrystalVariables a) Is this index.md file called by the variable name PolycrystalVariables in the grain_growth_2D_random.i file? b) What does this index.md file do? I noticed there were a lot of theses files in the moose folder for example one below PolycrystalKernel and one below PolycrystalRandomIC and I do not understand what these two do either. Very grateful for help! Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The input file you are referring to doesn't use
|
Beta Was this translation helpful? Give feedback.
The input file you are referring to doesn't use
GrainGrowthAction
. Instead, it separately uses thePolycrystalVariableAction
andPolycrystalkernelAction
.Variables/PolycrystalVariables
calls for the action that sets up the variables based onvariable_base_name
andop_num
. You can find out how the actions are registered in thePhaseFieldApp.C
file.*.md
files are the documentation files. You will find more documentation on this on the mooseframework website.