Skip to content

Input spatial data of "alpha" into Van Genuchten capillary model #27911

Discussion options

You must be logged in to vote

So, what I had done is basically what you have here. I copied your code, compiled and ran a test and it seems to work ok.

[Mesh]
  type = GeneratedMesh
  dim = 1
  nx = 100
[]

[GlobalParams]
  PorousFlowDictator = dictator
[]

[Variables]
  [p0]
    initial_condition = 1e6
  []
  [s1]
  []
[]

[AuxVariables]
  [s0aux]
    family = MONOMIAL
    order = CONSTANT
  []
  [s1aux]
    family = MONOMIAL
    order = CONSTANT
  []
  [p0aux]
    family = MONOMIAL
    order = CONSTANT
  []
  [p1aux]
    family = MONOMIAL
    order = CONSTANT
  []
  [alpha]
    family = MONOMIAL
    order = CONSTANT
  []
[]

[AuxKernels]
  [s0]
    type = PorousFlowPropertyAux
    property = saturation
    phase = 0…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@cpgr
Comment options

cpgr Jun 16, 2024
Collaborator

@cpgr
Comment options

cpgr Jun 16, 2024
Collaborator

@zhx999
Comment options

@cpgr
Comment options

cpgr Jun 17, 2024
Collaborator

Answer selected by zhx999
@zhx999
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants