Skip to content

Heated channel with fluid not exiting at outlet #27761

Discussion options

You must be logged in to vote

This is what you need to do for the solution in the first bullet point

...
[AuxVariables]
    ...
    [hydrostatic_pressure]
      type = MooseVariableFVReal
    []
    ...
[]
...
...
[AuxKernels]
    ...
    [populate_hydro_pressure]
      type = ParsedAux
      variable = hydrostatic_pressure
      coupled_variables = T
      use_xyzt = true
      expression = '-${alpha} * ${g} * ${rho} * y * (T - ${reference_temperature}) + ${outlet_pressure}'
      block = 'coolant'
    []
    ...
[]
...
...
[FVBCs]
    ...
    [outlet_p]
      type = INSFVOutletPressureBC
      boundary = 'outlet'
      variable = pressure
      functor = 'hydrostatic_pressure'
    []
    ...
[]
...

This is the pres…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@lindsayad
Comment options

@lindsayad
Comment options

@tanoret
Comment options

@tanoret
Comment options

Answer selected by oh304
@oh304
Comment options

@lindsayad
Comment options

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