Boundary condition not respected #3914
-
I am setting up a simple buoyancy driven flow as:
and saving b and ∂z_b files. During post processing, I'm getting ∂z_b values at (x,y,t) (say [25,25,:,t]) as: whereas I should get Qᵇ /κ = 4.79e-4 at the top instead of 0.0 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @Swarnali-D, The algorithm for flux boundary conditions sets the gradient across the boundary to zero and applies the flux as a tendency term in the boundary adjacent cell, so this is the expected behaviour: |
Beta Was this translation helpful? Give feedback.
-
Then what boundary condition do I impose so that I get ∂z_b= 4.79e-4 at the top? |
Beta Was this translation helpful? Give feedback.
Have you tried using
GradientBoundaryCondition(4.79e-4)
?PS please use triple backticks ("```") for code blocks