Custom Phase Field Actions

To simplify the formation of input files that use standard Allen-Cahn and Cahn-Hilliard equations, custom actions have been created that automatically create conserved and nonconserved phase field field variables and all the corresponding kernels. Additional kernels can still be added using standard MOOSE syntax.

The actions are in the phase field block, under the modules block. Nonconserved variables are created using NonconservedAction. For an example, see

[Modules]
  [./PhaseField]
    [./Nonconserved]
      [./eta]
        free_energy = F
        kappa = 2.0
        mobility = 1.0
        variable_mobility = false
      [../]
    [../]
  [../]
[]
(../moose/modules/phase_field/test/tests/actions/Nonconserved_1var.i)

Conserved variables are created using ConservedAction. For an example, See

[Modules]
  [./PhaseField]
    [./Conserved]
      [./cv]
        solve_type = REVERSE_SPLIT
        free_energy = F
        kappa = 2.0
        mobility = 1.0
      [../]
    [../]
  [../]
[]
(../moose/modules/phase_field/test/tests/actions/conserved_split_1var.i)

and

[Modules]
  [./PhaseField]
    [./Conserved]
      [./cv]
        solve_type = direct
        free_energy = F
        kappa = 2.0
        mobility = 1.0
      [../]
    [../]
  [../]
[]
(../moose/modules/phase_field/test/tests/actions/conserved_direct_1var.i)

See also