TrigTestPeriodic

2d-x-amr0-mg0

Two-dimensional

Serial

Validated using check script

./bin/mechanics-2d-g++ tests/TrigTestPeriodic/input  amr.max_level="0" max_coarsening_level="0" ignore="explicitmesh.on

explicitmesh.lo1 explicitmesh.hi1 explicitmesh.lo2 explicitmesh.hi2”

2d-x-amr0

Two-dimensional

Serial

Validated using check script

./bin/mechanics-2d-g++ tests/TrigTestPeriodic/input  amr.max_level="0" ignore="explicitmesh.on

explicitmesh.lo1 explicitmesh.hi1 explicitmesh.lo2 explicitmesh.hi2”

2d-x-amr1

Two-dimensional

Serial

Validated using check script

./bin/mechanics-2d-g++ tests/TrigTestPeriodic/input  amr.max_level="1" ignore="explicitmesh.lo2

explicitmesh.hi2”

2d-x-amr2

Two-dimensional

Serial

Validated using check script

./bin/mechanics-2d-g++ tests/TrigTestPeriodic/input

2d-y-amr2

Two-dimensional

Serial

Validated using check script

./bin/mechanics-2d-g++ tests/TrigTestPeriodic/input  geometry.is_periodic="0 1 0" bc.constant.type.ylo="periodic periodic" bc.constant.type.yhi="periodic periodic" ignore="bc.constant.type.xlo

bc.constant.type.xhi”

Input file (../../tests/TrigTestPeriodic/input)
#@
#@  [2d-x-amr0-mg0]
#@  exe=mechanics
#@  dim = 2
#@  nprocs = 1
#@  args = amr.max_level=0
#@  args = max_coarsening_level=0
#@  ignore = explicitmesh.on
#@  ignore = explicitmesh.lo1
#@  ignore = explicitmesh.hi1
#@  ignore = explicitmesh.lo2
#@  ignore = explicitmesh.hi2
#@
#@
#@  [2d-x-amr0]
#@  exe=mechanics
#@  dim = 2
#@  nprocs = 1
#@  args = amr.max_level=0
#@  ignore = explicitmesh.on
#@  ignore = explicitmesh.lo1
#@  ignore = explicitmesh.hi1
#@  ignore = explicitmesh.lo2
#@  ignore = explicitmesh.hi2
#@
#@  [2d-x-amr1]
#@  exe=mechanics
#@  dim = 2
#@  nprocs = 1
#@  args = amr.max_level=1
#@  ignore = explicitmesh.lo2
#@  ignore = explicitmesh.hi2
#@
#@  [2d-x-amr2]
#@  exe=mechanics
#@  dim = 2
#@  nprocs = 1
#@
#@  [2d-y-amr2]
#@  exe=mechanics
#@  dim = 2
#@  nprocs = 1
#@  args = geometry.is_periodic=0 1 0
#@  ignore = bc.constant.type.xlo
#@  ignore = bc.constant.type.xhi
#@  args = bc.constant.type.ylo=periodic periodic
#@  args = bc.constant.type.yhi=periodic periodic
#@

alamo.program                 = mechanics
alamo.program.mechanics.model = linear.laplacian
plot_file		      = tests/TrigTestPeriodic/output

# this is not a time integration, so do
# exactly one timestep and then quit
timestep		      = 0.1
stop_time		      = 0.1

# amr parameters
amr.plot_int		      = 1
amr.max_level		      = 2
amr.n_cell		      = 32 32 32
amr.blocking_factor	      = 4
amr.regrid_int		      = 1
amr.grid_eff		      = 1.0
amr.cell.all                  = 1

# use an explicit mesh (i.e. no adaptive meshing)
explicitmesh.on               = 1
explicitmesh.lo1              = 0  0 0
explicitmesh.hi1              = 47 47 47
explicitmesh.lo2              = 48 48 48
explicitmesh.hi2              = 79 79 79

# geometry
geometry.prob_lo	      = 0 0 0
geometry.prob_hi	      = 1 1 1
geometry.is_periodic	 = 0 1 0 #1 1 1

rhs.type = trig
rhs.trig.nr = 0 0 0
rhs.trig.ni = 0 1 1
rhs.dim = 1
rhs.alpha = 1

rhs.type = expression
rhs.expression.constant.pi = 3.14159
rhs.expression.region0 = "sin(pi*fmod(x,1.0))*sin(pi*fmod(y,1.0))"
rhs.expression.region1 = "0.0"


# laplacian coefficient
model.alpha = 1

solver.verbose = 3
solver.nriters = 1
#solver.fixed_iter = 10
#solver.bottom_max_iter = 10
#solver.max_iter = 100

### UNIAXIAL TENSION ###
bc.type = constant
bc.constant.type.ylo = periodic periodic
bc.constant.type.yhi = periodic periodic
#bc.constant.val.yhi = 1.0 0.0
#bc.constant.val.xloyhi = 1.0 0.0
#bc.constant.val.xhiyhi = 1.0 0.0

print_residual = 1
print_model=1
#solver.bottom_solver=smoother
amr.abort_on_nan = 0