Skip to content

How to Implement Constant Heat Flux with Neumann Boundary Conditions? #321

Answered by mathrack
Pato4184 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Have you tried to run a laminar channel flow in 2D with an imposed heat flux to check your input file ? In your input file, the value selected for the imposed flux is probably incorrect. See https://github.com/mathrack/incompact3d/blob/master/neuma/schemes.f90#L1149. Check the detailed implementation of the boundary condition for implicit time schemes in the current code. I think the code is imposing the outward wall-normal derivative.

If you are not sure to understand what the code is doing, you can try to deactivate the convective term and simply look at the diffusion of the scalar.

Please note that the source code and the input file for the cited paper is available at https://gi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mathrack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants