On 4/9/19 10:01 AM, Muhammad Mashhood wrote: > I want to apply the heat flux BC on one of the edge instead i.e. *dU(t, x, > y=1)/dy* at top. For this so far I could only find a method to make a heat > source using the already present function as follows:
I don't know how you use the class you implement, but I would try to avoid all confusion by naming the class RightHandSide: This is the name we generally use for forcing terms of the differential equation, and not for the right hand side of boundary conditions. Just like for your previous question, it is not correct to "convert" the right hand side of a boundary condition into a right hand side of the equation. This is mathematically not correct and will not lead to the correct solution. Have you looked at step-7? This program deals with Neumann boundary conditions and may have exactly what you are looking for. Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
