Skip to content
Discussion options

You must be logged in to vote

Can I use ADMatDiffusion kernel for the second order space derivatives. I have written a simple code for a problem attached here. Can you please guide me if this is a correct usage or not?

[Mesh]
    type = GeneratedMesh
    dim = 1
    nx = 60 
    xmax = 30
[]
[Variables]
    [u]
    []
    [v]
    []
[]

[Kernels]
  [1_diff_u]
    type = ADMatDiffusion
    diffusivity = 1
    variable = u
  []
  [1_diff_v]
    type = ADMatDiffusion
    diffusivity = 2
    variable = u
    v = v
  []
  [2_diff_u]
    type = ADMatDiffusion
    diffusivity = 3
    variable = v
    v = u
  []
  [2_diff_v]
    type = ADMatDiffusion
    diffusivity = 4
    variable = v
  []
[]

[BCs]
  [left_u]
    type = D…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@GiudGiud
Comment options

Answer selected by GiudGiud
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants