[BCs]
[./Periodic]
[./top]
variable = u
primary = top
secondary = bottom
translation ='0 0 -15'
[../]
[../]
[]velc = 2.0#vel = 1.0
[Mesh] type = FileMesh file = flow_test.e parallel_type = distributed[]
[Variables] [./dnp_lo] #block = 'core up out' family = L2_LAGRANGE order = FIRST [../] []
[ICs] [./ic_up] type = ConstantIC variable = dnp_lo block = 'middle' value = 10 [../] [./ic_out] type = ConstantIC variable = dnp_lo block = 'bottom top' value = 5.0 [../][]
[BCs] [./Periodic] [./top] variable = dnp_lo primary = top secondary = bottom translation = '0 0 -15' [../] [../] [./bc_out] type = AdvectionBC variable = dnp_lo boundary = top velocity_vector = '0 0 ${velc}' [../]# [./bc_in] type = AdvectionBC variable = dnp_lo boundary = bottom velocity_vector = '0 0 ${velc}' outflow = False [../][]
[Kernels]
[./dotlo] type = TimeDerivative variable = dnp_lo [../]
[./dnp_flow] type = ConservativeAdvection variable = dnp_lo velocity = '0 0 ${velc}' [../] []
[DGKernels] [./DGdnp_flow] type = DGConvection variable = dnp_lo velocity = '0 0 ${velc}' [../]
[]
[Executioner] type = Transient start_time = 0.0 end_time = 5.0 #num_steps = 3 dt = 0.1 nl_abs_tol = 1e-6 solve_type = NEWTON# petsc_options_iname = '-pc_type -pc_hypre_type -ksp_gmres_restart'# petsc_options_value = 'hypre boomeramg 100' l_tol = 1e-1[]
[Outputs] exodus = true csv = true #perf_graph = true[]
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/af4c3aa1-699a-44d7-a25c-c4a3a9262297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you pull down a recent moose, you can find an example of using mortar of periodic boundary conditions (admittedly for a continuous variable) here.
On Wed, May 29, 2019 at 10:11 AM Alexander Lindsay <alexlin...@gmail.com> wrote:
How recent is your moose? Mortar just underwent a total overhaul in https://github.com/idaholab/moose/pull/13056
To unsubscribe from this group and stop receiving emails from it, send an email to moose...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/7163b62d-0436-475f-baa8-896a26115acf%40googlegroups.com.