!*YAPFI macro
!*-----------
SET_NUMBER_OF_THREADS
4!Number of threads /1/

MANDATORY_DATA
analytical!GES file / ANALYTICAL [<analytic init file>]
1!Number of elements (>0) /2/
a!Element name
!Number of phases (>0) /1/
alpha!Phase name
!(Initial) Temperature [K] /1000.0000/
!Pressure [Pa] /100000.00/
!Element A substitutional /YES/
!Initially homogeneous composition /YES/
1.0!Initial mole fraction of element A
!*Enter state of phases, 1:Entered, 2: Suspended
!State of phase (ALPHA) /1/
2!Dimensionality /1/
128!Nr of grid points in dimension #1 /10/
128!Nr of grid points in dimension #2 /10/
128e-6!Domain width [m] in dimension #1 /1.0000000/
128e-6!Domain width [m] in dimension #2 /1.0000000/
!Periodic boundary in dimension #1 /NO/
!Periodic boundary in dimension #2 /NO/
!*Grid type. 1:Linear, 2:Geometric, 3: Double geometric, 4: Read from file
!Grid type in dimension #1 /1/
!Grid type in dimension #2 /1/
!*Info: Initial time is always zero
5e-5!Simulation time [s] /1.0000000/
1e-6!Maximum timestep [s] /0.10000000/
!Minimum timestep [s] /0.10000000E-09/
!Initial timestep [s] /0.10000000E-09/
!Save interval /1/
1e-10!Minimum elapsed time between saves [f(time)], [s] /1.0/



NON_ISOTHERMAL_SIMULATION
!NON-ISOTHERMAL SIMULATION /YES/
y!Spatially non-isothermal simulation /NO/
!Initially even temperature /YES/
!*Info: The initial temperature is the value entered under mandatory_data
80!Heat conductivity function for ALPHA
!Use a constant normalization temperature /NO/

ANALYTICAL_EXPRESSIONS
0.0!Gm expression for ALPHA
0.0!Mobility expression for A in ALPHA
!Will temperature vary spatially /YES/
n!Obtain quantitities by differentiating Gm wrt T /YES/
0.0!Hm for ALPHA
25!Cp for ALPHA
0.0!Derivative of chemical potential for A in ALPHA wrt T


BOUNDARY_CONDITION
1!Boundary condition in direction of X (=1) or Y (=2) /1/
1!Boundary condition at lower (=1) or upper (=2) boundary /1/
1!Boundary condition for heat (=1) or mass (=2) /1/
!*Boundary condition types:
!*0 - Closed (default)
!*1 - Constant temperature
1!Boundary condition type /1/
500!Boundary temperature


BOUNDARY_CONDITION
2!Boundary condition in direction of X (=1) or Y (=2) /1/
1!Boundary condition at lower (=1) or upper (=2) boundary /1/
1!Boundary condition for heat (=1) or mass (=2) /1/
!*Boundary condition types:
!*0 - Closed (default)
!*1 - Constant temperature
1!Boundary condition type /1/
500!Boundary temperature




TEMPERATURE_INHOMOGENEITY
!*Temperature inhomogeneity options:
!*1.segment/circle/sphere
!*2.Segment/triangle/tetrahedron at origin
!*3.Arbitrary segment/triangular/tetrahedron
!*Enter a non-valid option to exit command
3!Inhomogeneity option
!*Enter coordinates of point #1
30e-6!coordinate in spatial dimension #1
30e-6!coordinate in spatial dimension #2
!*Enter coordinates of point #2
70e-6!coordinate in spatial dimension #1
40e-6!coordinate in spatial dimension #2
!*Enter coordinates of point #3
50e-6!coordinate in spatial dimension #1
100e-6!coordinate in spatial dimension #2
10!Relative grid fineness around inhomogeneity (only relevant with adaptive meshing) /0/
1500!Enter temperature [K]

ADAPTIVE_MESHING
y!Use adaptive meshing /NO/
!Initial allocation factor (>=1) /1.0000000/
n!Adapt mesh based on phase-field variable gradients /YES/
!Adapt mesh based on temperature gradients /YES/
50!Max temperature Delta /10.000000/
5!Min temperature Delta /1.0000000/
1!Domain size integer aspect ratio, 1st spatial dimension
1!Domain size integer aspect ratio, 2nd spatial dimension
!Input integer (1) or real valued (2) parameters /1/
7!Initial depth (>0)
5!Minimum depth (>0)
9!Maximum depth (>0)
!Base interval to adapt mesh on cumulative change /NO/



