Skip to content
Permalink
Browse files

Merge pull request #13056 from lindsayad/mortar-devel

Mortar deuce
  • Loading branch information...
permcody committed May 8, 2019
2 parents 2438af0 + 6fe74d0 commit f41007fea14e3bddb29a469e1141a0ebe7682a78
Showing with 13,520 additions and 6,728 deletions.
  1. +0 −14 framework/doc/content/source/actions/AddMortarInterfaceAction.md
  2. +1 −1 framework/doc/content/source/bcs/DiffusionFluxBC.md
  3. +18 −0 framework/doc/content/source/bcs/FunctionGradientNeumannBC.md
  4. +7 −6 framework/doc/content/source/constraints/EqualGradientConstraint.md
  5. +6 −6 framework/doc/content/source/constraints/EqualValueConstraint.md
  6. +18 −0 framework/doc/content/source/constraints/OldEqualValueConstraint.md
  7. +42 −3 framework/doc/content/syntax/Constraints/index.md
  8. +0 −10 framework/doc/content/syntax/Mesh/MortarInterfaces/index.md
  9. +0 −2 framework/doc/hidden.yml
  10. +0 −29 framework/include/actions/AddMortarInterfaceAction.h
  11. +4 −4 framework/include/auxkernels/AuxKernel.h
  12. +1 −1 framework/include/auxkernels/GapValueAux.h
  13. +1 −1 framework/include/auxkernels/NearestNodeValueAux.h
  14. +389 −153 framework/include/base/Assembly.h
  15. +2 −1 framework/include/base/Attributes.h
  16. +11 −0 framework/include/base/Moose.h
  17. +3 −29 framework/include/base/TheWarehouse.h
  18. +1 −1 framework/include/bcs/ADNodalBC.h
  19. +35 −0 framework/include/bcs/FunctionGradientNeumannBC.h
  20. +4 −4 framework/include/bcs/IntegratedBCBase.h
  21. +1 −1 framework/include/bcs/NodalBC.h
  22. +1 −1 framework/include/bcs/VectorNodalBC.h
  23. +75 −0 framework/include/constraints/ADMortarConstraint.h
  24. +268 −0 framework/include/constraints/AutomaticMortarGeneration.h
  25. +9 −8 framework/include/constraints/Constraint.h
  26. +14 −8 framework/include/constraints/ConstraintWarehouse.h
  27. +9 −2 framework/include/constraints/ElemElemConstraint.h
  28. +8 −8 framework/include/constraints/EqualGradientConstraint.h
  29. +8 −8 framework/include/constraints/EqualValueConstraint.h
  30. +6 −6 framework/include/constraints/FaceFaceConstraint.h
  31. +39 −123 framework/include/constraints/MortarConstraint.h
  32. +168 −0 framework/include/constraints/MortarConstraintBase.h
  33. +115 −0 framework/include/constraints/MortarData.h
  34. +73 −0 framework/include/constraints/MortarSegmentInfo.h
  35. +209 −0 framework/include/constraints/NanoflannMeshAdaptor.h
  36. +7 −0 framework/include/constraints/NodalConstraint.h
  37. +10 −3 framework/include/constraints/NodeElemConstraint.h
  38. +10 −3 framework/include/constraints/NodeFaceConstraint.h
  39. +31 −0 framework/include/constraints/OldEqualValueConstraint.h
  40. +3 −3 framework/include/dampers/ElementDamper.h
  41. +2 −2 framework/include/dampers/NodalDamper.h
  42. +4 −4 framework/include/dgkernels/DGKernelBase.h
  43. +2 −2 framework/include/dirackernels/DiracKernel.h
  44. +0 −38 framework/include/geomsearch/GeometricSearchData.h
  45. +0 −21 framework/include/geomsearch/GeometricSearchInterface.h
  46. +1 −1 framework/include/ics/InitialConditionTempl.h
  47. +2 −2 framework/include/indicators/ElementIndicator.h
  48. +5 −5 framework/include/indicators/InternalSideIndicator.h
  49. +5 −5 framework/include/interfacekernels/InterfaceKernel.h
  50. +29 −0 framework/include/interfaces/TaggingInterface.h
  51. +2 −2 framework/include/kernels/KernelBase.h
  52. +73 −0 framework/include/loops/ComputeMortarFunctor.h
  53. +1 −1 framework/include/markers/Marker.h
  54. +1 −1 framework/include/markers/QuadraturePointMarker.h
  55. +3 −3 framework/include/materials/Material.h
  56. +4 −4 framework/include/materials/MaterialPropertyStorage.h
  57. +1 −34 framework/include/mesh/MooseMesh.h
  58. +1 −1 framework/include/nodalkernels/NodalKernel.h
  59. +11 −3 framework/include/problems/DisplacedProblem.h
  60. +36 −1 framework/include/problems/FEProblemBase.h
  61. +72 −9 framework/include/problems/SubProblem.h
  62. +78 −0 framework/include/relationshipmanagers/AugmentSparsityOnInterface.h
  63. +24 −16 framework/include/systems/AuxiliarySystem.h
  64. +53 −21 framework/include/systems/DisplacedSystem.h
  65. +7 −2 framework/include/systems/DumpObjectsNonlinearSystem.h
  66. +6 −2 framework/include/systems/NonlinearEigenSystem.h
  67. +4 −2 framework/include/systems/NonlinearSystem.h
  68. +50 −10 framework/include/systems/NonlinearSystemBase.h
  69. +49 −7 framework/include/systems/SystemBase.h
  70. +3 −3 framework/include/timeintegrators/AStableDirk4.h
  71. +3 −3 framework/include/timeintegrators/ActuallyExplicitEuler.h
  72. +7 −3 framework/include/timeintegrators/BDF2.h
  73. +3 −3 framework/include/timeintegrators/CrankNicolson.h
  74. +3 −3 framework/include/timeintegrators/ExplicitEuler.h
  75. +3 −3 framework/include/timeintegrators/ExplicitRK2.h
  76. +3 −3 framework/include/timeintegrators/ExplicitTVDRK2.h
  77. +3 −3 framework/include/timeintegrators/ImplicitEuler.h
  78. +3 −3 framework/include/timeintegrators/ImplicitMidpoint.h
  79. +3 −3 framework/include/timeintegrators/LStableDirk2.h
  80. +4 −3 framework/include/timeintegrators/LStableDirk3.h
  81. +4 −3 framework/include/timeintegrators/LStableDirk4.h
  82. +8 −4 framework/include/timeintegrators/NewmarkBeta.h
  83. +2 −2 framework/include/timeintegrators/TimeIntegrator.h
  84. +2 −3 framework/include/userobject/ElementUserObject.h
  85. +5 −5 framework/include/userobject/InterfaceUserObject.h
  86. +5 −5 framework/include/userobject/InternalSideUserObject.h
  87. +1 −1 framework/include/userobject/NodalUserObject.h
  88. +4 −4 framework/include/userobject/SideUserObject.h
  89. +2 −0 framework/include/userobject/UserObjectInterface.h
  90. +17 −0 framework/include/utils/InputParameters.h
  91. +60 −0 framework/include/utils/MooseHashing.h
  92. +119 −0 framework/include/utils/MooseLagrangeHelpers.h
  93. +20 −1 framework/include/utils/MooseTypes.h
  94. +2 −2 framework/include/utils/RandomInterface.h
  95. +2 −5 framework/include/variables/MooseVariableBase.h
  96. +0 −3 framework/include/variables/MooseVariableConstMonomial.h
  97. +897 −0 framework/include/variables/MooseVariableData.h
  98. +212 −853 framework/include/variables/MooseVariableFE.h
  99. +36 −11 framework/include/variables/MooseVariableFEBase.h
  100. +1 −1 framework/include/vectorpostprocessors/LineMaterialSamplerBase.h
  101. +8 −1 framework/src/actions/AddConstraintAction.C
  102. +0 −48 framework/src/actions/AddMortarInterfaceAction.C
  103. +685 −160 framework/src/base/Assembly.C
  104. +17 −1 framework/src/base/Moose.C
  105. +1 −1 framework/src/bcs/ADPresetNodalBC.C
  106. +39 −0 framework/src/bcs/FunctionGradientNeumannBC.C
  107. +1 −1 framework/src/bcs/IntegratedBC.C
  108. +1 −1 framework/src/bcs/NodalBC.C
  109. +1 −1 framework/src/bcs/PresetNodalBC.C
  110. +1 −1 framework/src/bcs/VectorIntegratedBC.C
  111. +179 −0 framework/src/constraints/ADMortarConstraint.C
  112. +1,046 −0 framework/src/constraints/AutomaticMortarGeneration.C
  113. +2 −4 framework/src/constraints/Constraint.C
  114. +72 −27 framework/src/constraints/ConstraintWarehouse.C
  115. +6 −0 framework/src/constraints/CoupledTiedValueConstraint.C
  116. +3 −0 framework/src/constraints/ElemElemConstraint.C
  117. +22 −43 framework/src/constraints/EqualGradientConstraint.C
  118. +3 −0 framework/src/constraints/EqualValueBoundaryConstraint.C
  119. +18 −40 framework/src/constraints/EqualValueConstraint.C
  120. +8 −0 framework/src/constraints/EqualValueEmbeddedConstraint.C
  121. +1 −6 framework/src/constraints/FaceFaceConstraint.C
  122. +9 −7 framework/src/constraints/LinearNodalConstraint.C
  123. +112 −203 framework/src/constraints/MortarConstraint.C
  124. +144 −0 framework/src/constraints/MortarConstraintBase.C
  125. +109 −0 framework/src/constraints/MortarData.C
  126. +122 −0 framework/src/constraints/MortarSegmentInfo.C
  127. +3 −0 framework/src/constraints/NodalConstraint.C
  128. +4 −1 framework/src/constraints/NodeElemConstraint.C
  129. +4 −1 framework/src/constraints/NodeFaceConstraint.C
  130. +81 −0 framework/src/constraints/OldEqualValueConstraint.C
  131. +3 −0 framework/src/constraints/TiedValueConstraint.C
  132. +1 −1 framework/src/dgkernels/ADDGKernel.C
  133. +1 −1 framework/src/dgkernels/DGKernel.C
  134. +1 −1 framework/src/dgkernels/DGKernelBase.C
  135. +0 −150 framework/src/geomsearch/GeometricSearchData.C
  136. +0 −17 framework/src/geomsearch/GeometricSearchInterface.C
  137. +1 −1 framework/src/indicators/InternalSideIndicator.C
  138. +1 −1 framework/src/interfacekernels/InterfaceKernel.C
  139. +29 −0 framework/src/interfaces/TaggingInterface.C
  140. +196 −0 framework/src/loops/ComputeMortarFunctor.C
  141. +2 −2 framework/src/loops/ComputeUserObjectsThread.C
  142. +4 −4 framework/src/materials/MaterialPropertyStorage.C
  143. +4 −61 framework/src/mesh/MooseMesh.C
  144. +1 −1 framework/src/nodalkernels/NodalKernel.C
  145. +1 −1 framework/src/nodalkernels/TimeNodalKernel.C
  146. +2 −2 framework/src/problems/DisplacedProblem.C
  147. +95 −11 framework/src/problems/FEProblemBase.C
  148. +97 −8 framework/src/problems/SubProblem.C
  149. +152 −0 framework/src/relationshipmanagers/AugmentSparsityOnInterface.C
  150. +1 −1 framework/src/systems/ComputeFDResidualFunctor.C
  151. +2 −2 framework/src/systems/ComputeResidualFunctor.C
  152. +12 −0 framework/src/systems/DisplacedSystem.C
  153. +126 −96 framework/src/systems/NonlinearSystemBase.C
  154. +43 −4 framework/src/systems/SystemBase.C
  155. +1 −1 framework/src/timeintegrators/AStableDirk4.C
  156. +1 −1 framework/src/timeintegrators/ActuallyExplicitEuler.C
  157. +1 −1 framework/src/timeintegrators/BDF2.C
  158. +1 −1 framework/src/timeintegrators/CrankNicolson.C
  159. +1 −1 framework/src/timeintegrators/ExplicitEuler.C
  160. +1 −1 framework/src/timeintegrators/ExplicitRK2.C
  161. +1 −1 framework/src/timeintegrators/ExplicitTVDRK2.C
  162. +1 −1 framework/src/timeintegrators/ImplicitEuler.C
  163. +1 −1 framework/src/timeintegrators/ImplicitMidpoint.C
  164. +1 −1 framework/src/timeintegrators/LStableDirk2.C
  165. +1 −1 framework/src/timeintegrators/LStableDirk3.C
  166. +1 −1 framework/src/timeintegrators/LStableDirk4.C
  167. +1 −1 framework/src/timeintegrators/NewmarkBeta.C
  168. +1 −1 framework/src/transfers/MultiAppPostprocessorToAuxScalarTransfer.C
  169. +2 −2 framework/src/transfers/MultiAppScalarToAuxScalarTransfer.C
  170. +8 −399 framework/src/variables/MooseVariableConstMonomial.C
  171. +1,923 −0 framework/src/variables/MooseVariableData.C
  172. +277 −2,191 framework/src/variables/MooseVariableFE.C
  173. +81 −39 modules/combined/examples/mortar/eigenstrain.i
  174. +3 −4 modules/combined/examples/mortar/eigenstrain_action.i
  175. +55 −26 modules/combined/examples/mortar/mortar_gradient.i
  176. +24 −10 modules/combined/test/tests/gap_heat_transfer_mortar/gap_heat_transfer_mortar.i
  177. +25 −17 modules/combined/test/tests/gap_heat_transfer_mortar/gap_heat_transfer_mortar_displaced.i
  178. +6 −0 modules/combined/test/tests/gap_heat_transfer_mortar/one-variable-temp.cmp
  179. +11 −3 modules/combined/test/tests/gap_heat_transfer_mortar/tests
  180. +1 −10 modules/combined/test/tests/sliding_block/in_and_out/constraint/frictionless_penalty.i
  181. +6 −0 modules/contact/src/GluedContactConstraint.C
  182. +6 −0 modules/contact/src/MechanicalContactConstraint.C
  183. +3 −0 modules/contact/src/MultiDContactConstraint.C
  184. +2 −0 modules/contact/src/OneDContactConstraint.C
  185. +9 −10 modules/heat_conduction/doc/content/source/constraints/GapConductanceConstraint.md
  186. +9 −38 modules/heat_conduction/include/constraints/GapConductanceConstraint.h
  187. +1 −2 modules/heat_conduction/include/materials/GapConductance.h
  188. +27 −58 modules/heat_conduction/src/constraints/GapConductanceConstraint.C
  189. +2 −2 modules/navier_stokes/src/bcs/MomentumFreeSlipBC.C
  190. +0 −16 modules/phase_field/doc/content/source/mesh/MortarPeriodicMesh.md
  191. +0 −2 modules/phase_field/doc/content/syntax/Modules/PhaseField/MortarPeriodicity/index.md
  192. +3 −0 modules/phase_field/include/action/MortarPeriodicAction.h
  193. +0 −47 modules/phase_field/include/mesh/MortarPeriodicMesh.h
  194. +1 −1 modules/phase_field/include/postprocessors/AverageGrainVolume.h
  195. +2 −3 modules/phase_field/include/vectorpostprocessors/FeatureVolumeVectorPostprocessor.h
  196. +86 −46 modules/phase_field/src/action/MortarPeriodicAction.C
  197. +0 −89 modules/phase_field/src/mesh/MortarPeriodicMesh.C
  198. BIN modules/phase_field/test/tests/mesh/gold/mortarperiodic_hex27.e
  199. BIN modules/phase_field/test/tests/mesh/gold/mortarperiodic_hex8.e
  200. BIN modules/phase_field/test/tests/mesh/gold/sphere_in.e
  201. +0 −42 modules/phase_field/test/tests/mesh/mortarperiodic.i
  202. +0 −16 modules/phase_field/test/tests/mesh/sphere.i
  203. +0 −32 modules/phase_field/test/tests/mesh/tests
  204. +1 −2 modules/rdg/include/userobjects/ElementLoopUserObject.h
  205. +4 −5 modules/rdg/include/userobjects/SlopeLimitingBase.h
  206. +4 −5 modules/rdg/include/userobjects/SlopeReconstructionBase.h
  207. +2 −2 modules/richards/src/materials/RichardsMaterial.C
  208. +1 −2 modules/solid_mechanics/include/materials/SolidModel.h
  209. +3 −4 modules/solid_mechanics/src/postprocessors/InteractionIntegralSM.C
  210. +1 −2 modules/tensor_mechanics/include/dampers/ElementJacobianDamper.h
  211. +3 −4 modules/tensor_mechanics/src/postprocessors/InteractionIntegral.C
  212. +1 −1 modules/tensor_mechanics/src/postprocessors/JIntegral.C
  213. +1 −1 modules/xfem/src/materials/ComputeCrackTipEnrichmentSmallStrain.C
  214. +12 −1 python/TestHarness/testers/Exodiff.py
  215. +31 −0 test/include/constraints/GapHeatConductanceTest.h
  216. +29 −0 test/include/constraints/MechanicalContactLMTest.h
  217. +31 −0 test/include/constraints/MechanicalContactTest.h
  218. +1 −1 test/include/indicators/MaterialTestIndicator.h
  219. +2 −1 test/src/auxkernels/FluxAverageAux.C
  220. +3 −2 test/src/constraints/EqualValueNodalConstraint.C
  221. +56 −0 test/src/constraints/GapHeatConductanceTest.C
  222. +50 −0 test/src/constraints/MechanicalContactLMTest.C
  223. +54 −0 test/src/constraints/MechanicalContactTest.C
  224. BIN test/tests/mortar/2d/2blk-conf.e
  225. BIN test/tests/mortar/2d/non-conf-coarse-2nd.e
  226. BIN test/tests/mortar/2d/non-conf-coarse.e
  227. +0 −62 test/tests/mortar/2d/non-conf-coarse.jou
  228. +0 −93 test/tests/mortar/2d/non-conforming-2nd-order.i
  229. +0 −93 test/tests/mortar/2d/non-conforming.i
  230. +0 −53 test/tests/mortar/2d/tests
  231. BIN test/tests/mortar/3d/3d-conf-2nd.e
  232. +0 −53 test/tests/mortar/3d/3d-conf-2nd.jou
  233. BIN test/tests/mortar/3d/3d-conf.e
  234. +0 −53 test/tests/mortar/3d/3d-conf.jou
  235. BIN test/tests/mortar/3d/3d-non-conf-2nd.e
  236. +0 −208 test/tests/mortar/3d/3d-non-conf-2nd.jou
  237. BIN test/tests/mortar/3d/3d-non-conf.e
  238. +0 −94 test/tests/mortar/3d/conforming-2nd-order.i
  239. +0 −95 test/tests/mortar/3d/conforming.i
  240. BIN test/tests/mortar/3d/gold/conforming-2nd-order_out.e
  241. BIN test/tests/mortar/3d/gold/conforming_out.e
  242. BIN test/tests/mortar/3d/gold/non-conforming-2nd-order_out.e
  243. BIN test/tests/mortar/3d/gold/non-conforming_out.e
  244. +0 −95 test/tests/mortar/3d/non-conforming-2nd-order.i
  245. +0 −95 test/tests/mortar/3d/non-conforming.i
  246. +0 −37 test/tests/mortar/3d/tests
  247. BIN test/tests/mortar/{2d → continuity-2d-conforming}/2blk-conf-2nd.e
  248. BIN test/tests/mortar/continuity-2d-conforming/2blk-conf.e
  249. +1 −12 test/tests/mortar/{2d → continuity-2d-conforming}/2blk-conf.jou
  250. +24 −10 test/tests/mortar/{2d → continuity-2d-conforming}/conforming-2nd-order.i
  251. +20 −10 test/tests/mortar/{2d → continuity-2d-conforming}/conforming.i
  252. +26 −13 test/tests/mortar/{2d → continuity-2d-conforming}/conforming_two_var.i
  253. +26 −13 test/tests/mortar/{2d → continuity-2d-conforming}/equalgradient.i
  254. BIN test/tests/mortar/{2d → continuity-2d-conforming}/gold/conforming-2nd-order_out.e
  255. BIN test/tests/mortar/{2d → continuity-2d-conforming}/gold/conforming_out.e
  256. BIN test/tests/mortar/{2d → continuity-2d-conforming}/gold/conforming_two_var_out.e
  257. BIN test/tests/mortar/{2d → continuity-2d-conforming}/gold/equalgradient_out.e
  258. BIN test/tests/mortar/{2d → continuity-2d-conforming}/gold/non-conforming-2nd-order_out.e
  259. BIN test/tests/mortar/{2d → continuity-2d-conforming}/gold/non-conforming_out.e
  260. +6 −0 test/tests/mortar/continuity-2d-conforming/one-variable-u.cmp
  261. +55 −0 test/tests/mortar/continuity-2d-conforming/tests
  262. +7 −0 test/tests/mortar/continuity-2d-conforming/two-variable-uv.cmp
  263. BIN test/tests/mortar/continuity-2d-non-conforming/gold/soln-continuity-fine_out.e
  264. BIN test/tests/mortar/continuity-2d-non-conforming/gold/soln-continuity_out.e
  265. BIN test/tests/mortar/continuity-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap.e
  266. BIN test/tests/mortar/continuity-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap_fine.e
  267. +82 −0 test/tests/mortar/continuity-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap_fine.jou
  268. +108 −0 test/tests/mortar/continuity-2d-non-conforming/soln-continuity.i
  269. +27 −0 test/tests/mortar/continuity-2d-non-conforming/tests
  270. +122 −0 test/tests/mortar/displaced-gap-conductance-2d-non-conforming/gap-conductance.i
  271. BIN test/tests/mortar/displaced-gap-conductance-2d-non-conforming/gold/gap-conductance-fine_out.e
  272. BIN test/tests/mortar/displaced-gap-conductance-2d-non-conforming/gold/gap-conductance_out.e
  273. BIN test/tests/mortar/displaced-gap-conductance-2d-non-conforming/gold/linear-verification_out.e
  274. BIN ...ts/mortar/displaced-gap-conductance-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap.e
  275. BIN ...rtar/displaced-gap-conductance-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap_fine.e
  276. +82 −0 ...ar/displaced-gap-conductance-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap_fine.jou
  277. +35 −0 test/tests/mortar/displaced-gap-conductance-2d-non-conforming/tests
  278. +106 −0 test/tests/mortar/gap-conductance-2d-non-conforming/gap-conductance.i
  279. BIN test/tests/mortar/gap-conductance-2d-non-conforming/gold/gap-conductance-fine_out.e
  280. BIN test/tests/mortar/gap-conductance-2d-non-conforming/gold/gap-conductance_out.e
  281. BIN test/tests/mortar/gap-conductance-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap.e
  282. BIN test/tests/mortar/gap-conductance-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap_fine.e
  283. +82 −0 ...tests/mortar/gap-conductance-2d-non-conforming/nodal_normals_test_offset_nonmatching_gap_fine.jou
  284. +27 −0 test/tests/mortar/gap-conductance-2d-non-conforming/tests
  285. BIN test/tests/mortar/mechanical-small-problem/gold/mortar-mech_out.e
  286. BIN test/tests/mortar/mechanical-small-problem/gold/soln-continuity-fine_out.e
  287. BIN test/tests/mortar/mechanical-small-problem/gold/soln-continuity_out.e
  288. BIN test/tests/mortar/mechanical-small-problem/mesh.e
  289. +87 −0 test/tests/mortar/mechanical-small-problem/mesh.jou
  290. +143 −0 test/tests/mortar/mechanical-small-problem/mortar-mech.i
  291. +11 −0 test/tests/mortar/mechanical-small-problem/tests
  292. BIN test/tests/mortar/periodic-value/gold/periodic_out.e
  293. +79 −0 test/tests/mortar/periodic-value/periodic.i
  294. +72 −0 test/tests/mortar/periodic-value/square.cpp
  295. +2,101 −0 test/tests/mortar/periodic-value/square.msh
  296. +72 −0 test/tests/mortar/periodic-value/square_coarse.cpp
  297. +173 −0 test/tests/mortar/periodic-value/square_coarse.msh
  298. +20 −0 test/tests/mortar/periodic-value/tests
  299. +2 −1 unit/src/TheWarehouseTests.C

This file was deleted.

Oops, something went wrong.
@@ -48,7 +48,7 @@ class would then be used to compute the last term in [weakform].

## Example Input Syntax

!listing test/tests/mortar/2d/equalgradient.i start=[./all] end=[../] include-end=true
!listing test/tests/mortar/continuity-2d-conforming/equalgradient.i start=[./all] end=[../] include-end=true

!syntax parameters /BCs/DiffusionFluxBC

@@ -0,0 +1,18 @@
# FunctionGradientNeumannBC

`FunctionGradientNeumannBC` adds the weak form contribution:
$\langle -\psi_i, \vec{n} \cdot k \nabla f \rangle$ where $\vec{n}$ is the
unit normal vector at the boundary, $k$ is a coefficient (corresponding to
thermal conductivity or diffusivity), and $f$ is a function of space and time
that is specified in the input file through the parameter `exact_solution`. As
the parameter name suggests, the `FunctionGradientNeumannBC` object can be
useful for specifying a Neumann condition when the exact solution to the PDE is
known.

!syntax description /BCs/FunctionGradientNeumannBC

!syntax parameters /BCs/FunctionGradientNeumannBC

!syntax inputs /BCs/FunctionGradientNeumannBC

!syntax children /BCs/FunctionGradientNeumannBC
@@ -1,11 +1,12 @@
<!-- MOOSE Documentation Stub: Remove this when content is added. -->

# EqualGradientConstraint

!alert construction title=Undocumented Class
The EqualGradientConstraint has not been documented. The content contained on this page includes the
typical automatic documentation associated with a MooseObject; however, what is contained is
ultimately determined by what is necessary to make the documentation clear for users.
The `EqualGradientConstraint` class is used to enforce continuity of a component
of a variable gradient across a mortar interface or in a periodic boundary
condition. The gradient component to be matched is specified using the unsigned
parameter `component`. The variable is specified using the `master_variable`
parameter. If the gradients to be matched are between different variables, the
`slave_variable` parameter can also be supplied. Lagrange multipliers are used
to perform the constraint enforcement.

!syntax description /Constraints/EqualGradientConstraint

@@ -1,11 +1,11 @@
<!-- MOOSE Documentation Stub: Remove this when content is added. -->

# EqualValueConstraint

!alert construction title=Undocumented Class
The EqualValueConstraint has not been documented. The content contained on this page includes the
typical automatic documentation associated with a MooseObject; however, what is contained is
ultimately determined by what is necessary to make the documentation clear for users.
The `EqualValueConstraint` class is used to enforce continuity of a
variable across a mortar interface or in a periodic boundary
condition. The variable is specified using the `master_variable`
parameter. If the solution values to be matched are between different variables, the
`slave_variable` parameter can also be supplied. Lagrange multipliers are used
to perform the constraint enforcement.

!syntax description /Constraints/EqualValueConstraint

@@ -0,0 +1,18 @@
# OldEqualValueConstraint

The `OldEqualValueConstraint` class is used to enforce continuity of a
variable across a mortar interface or in a periodic boundary
condition. The variable is specified using the `master_variable`
parameter. If the solution values to be matched are between different variables, the
`slave_variable` parameter can also be supplied. Lagrange multipliers are used
to perform the constraint enforcement.

!syntax description /Constraints/OldEqualValueConstraint

!syntax parameters /Constraints/OldEqualValueConstraint

!syntax inputs /Constraints/OldEqualValueConstraint

!syntax children /Constraints/OldEqualValueConstraint

!bibtex bibliography
@@ -1,10 +1,49 @@
<!-- MOOSE Documentation Stub: Remove this when content is added. -->

# Constraints System

## MortarConstraints

An excellent overview of the conservative mortar constraint implementation in
MOOSE is given in
[this technical report](https://www.osti.gov/biblio/1468630/). There are five
required parameters the user will always have to supply for a constraint derived
from `MortarConstraint`:

- `master_boundary_id`: the boundary ID assigned to the master side of the
mortar interface
- `slave_boundary_id`: the boundary ID assigned to the slave side of the
mortar interface
- `master_subdomain_id`: the subdomain ID assigned to the lower-dimesional
block on the master side of the mortar interface
- `slave_boundary_id`: the subdomain ID assigned to the lower-dimensional
block on the slave side of the mortar interface
- `variable`: the name of the primal variable that is mortar constraint will
operate on

As suggested by the above required parameters, the user must do some mesh work
before they can use a `MortarConstraint` object. The easiest way to prepare
the mesh is to assign boundary IDs to the slave and master sides of the
interface when creating the mesh in their 3rd-party meshing software (e.g. Cubit
or Gmsh). If these boundary IDs exist, then the lower dimensional blocks can be
generated automatically using the `LowerDBlockFromSideset` mesh modifiers as
shown in the below input file snippet:

```
[MeshModifiers]
[./master]
type = LowerDBlockFromSideset
sidesets = '2'
new_block_id = '20'
[../]
[./slave]
type = LowerDBlockFromSideset
sidesets = '1'
new_block_id = '10'
[../]
[]
```

!syntax list /Constraints objects=True actions=False subsystems=False

!syntax list /Constraints objects=False actions=False subsystems=True

!syntax list /Constraints objects=False actions=True subsystems=False

This file was deleted.

Oops, something went wrong.
@@ -157,8 +157,6 @@
- /Mesh/CreateDisplacedProblemAction
- /Mesh/SetupMeshAction
- /Mesh/SetupMeshCompleteAction
- /Mesh/MortarInterfaces
- /Mesh/MortarInterfaces/AddMortarInterfaceAction
- /Mesh/Partitioner
- /Mesh/Partitioner/PartitionerAction
- /Mesh/Partitioner/LibmeshPartitioner

This file was deleted.

Oops, something went wrong.
@@ -194,23 +194,23 @@ class AuxKernelTempl : public MooseObject,
/// Active quadrature points
const MooseArray<Point> & _q_point;
/// Quadrature rule being used
QBase *& _qrule;
const QBase * const & _qrule;
/// Transformed Jacobian weights
const MooseArray<Real> & _JxW;
const MooseArray<Real> & _coord;

/// Current element (valid only for elemental kernels)
const Elem *& _current_elem;
const Elem * const & _current_elem;
/// current side of the current element
unsigned int & _current_side;
const unsigned int & _current_side;

/// Volume of the current element
const Real & _current_elem_volume;
/// Volume of the current side
const Real & _current_side_volume;

/// Current node (valid only for nodal kernels)
const Node *& _current_node;
const Node * const & _current_node;

/// reference to the solution vector of auxiliary system
NumericVector<Number> & _solution;
@@ -30,7 +30,7 @@ class GapValueAux : public AuxKernel

MooseVariable & _moose_var;

const NumericVector<Number> *& _serialized_solution;
const NumericVector<Number> * const & _serialized_solution;

const DofMap & _dof_map;

@@ -32,7 +32,7 @@ class NearestNodeValueAux : public AuxKernel

NearestNodeLocator & _nearest_node;

const NumericVector<Number> *& _serialized_solution;
const NumericVector<Number> * const & _serialized_solution;

unsigned int _paired_variable;
};
Oops, something went wrong.

0 comments on commit f41007f

Please sign in to comment.
You can’t perform that action at this time.