PFC

This tests a basic phase field crystal model as presented in Elder et al, 2002. This is a test of the Integrator::PFC method, see that documentation for details on the method. The main purpose of this test is to demonstrate the ability to solve phase field problems using spectral methods in Alamo.

../_images/movie6.gif

2d-serial-level

Two-dimensional

Serial

Validated using check script

./bin/alamo-2d-g++ tests/PFC/input
Input file (../../tests/PFC/input)
#@  [2d-serial-level]
#@  dim    = 2
#@  nprocs = 1
#@  check  = true
#@  check-file = reference/reference.dat
#@  fft = true

alamo.program = pfc

### OUTPUT ###

plot_file = tests/PFC/output

### MESHING ###

amr.max_level = 0
amr.max_grid_size = 500000
amr.blocking_factor = 2
amr.grid_eff = 0.8
amr.n_cell = 256 256 256

geometry.prob_lo = -0.5 -0.5 -0.5
geometry.prob_hi =  0.5  0.5 0.5

geometry.prob_lo = 0 0 0
geometry.prob_hi =  200 200 200

geometry.is_periodic = 1 1 1

timestep  = 0.1
amr.plot_dt = 10.0
stop_time = 1000.0

eta.bc.constant.type.xlo = periodic
eta.bc.constant.type.xhi = periodic
eta.bc.constant.type.ylo = periodic
eta.bc.constant.type.yhi = periodic
eta.bc.constant.type.zlo = periodic
eta.bc.constant.type.zhi = periodic

eta.ic.random.offset = 0.245
eta.ic.random.mult   = 0.01

q0 = 1.0
eps = 0.6667