HeatConductionPeriodic

2d-serial

Two-dimensional

Serial

Validated using check script

./bin/alamo-2d-g++ tests/HeatConductionPeriodic/input

2d-serial-fft

Two-dimensional

Serial

Validated using check script

./bin/alamo-2d-g++ tests/HeatConductionPeriodic/input  method="spectral" timestep="0.05"
Input file (../../tests/HeatConductionPeriodic/input)
#@
#@ [2d-serial]
#@ dim=2
#@ 
#@
#@ [2d-serial-fft]
#@ dim=2
#@ fft = true
#@ args = method=spectral
#@ args = timestep=0.05
#@ 


alamo.program = heat

plot_file     = tests/HeatConductionPeriodic/output

# Simulation length
timestep = 0.000001
stop_time = 0.05

# AMR parameters
amr.plot_int = 10
amr.max_level = 0
amr.n_cell = 64 64 64
amr.blocking_factor = 1
amr.regrid_int = 10
amr.grid_eff = 1.0

# Specify geometry and unrefined mesh
geometry.prob_lo = 0 0 0
geometry.prob_hi = 1 1 1
geometry.is_periodic= 1 1 1

# Criterion for mesh refinement
heat.alpha = 1.0
heat.refinement_threshold = 0.01

# Specify initial conditions
ic.type = sphere
ic.sphere.center = 0.5 0.5 0.5
ic.sphere.radius = 0.25
ic.sphere.inside = 1.0

# Boundary conditions
bc.temp.constant.type.xhi = periodic
bc.temp.constant.type.xlo = periodic
bc.temp.constant.type.yhi = periodic
bc.temp.constant.type.ylo = periodic
bc.temp.constant.type.zhi = periodic
bc.temp.constant.type.zlo = periodic