# Implement neumann boundary condition for nondimensional energy equation

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 24, 2012, 16:29 Implement neumann boundary condition for nondimensional energy equation #1 Member   Peter Join Date: Oct 2011 Posts: 52 Rep Power: 4 I have written a code to solve the non dimensional temperature distribution in a 2D plane for a given velocity field. I have defined the non dimensional temperature as: T_w = wall temperature T(x,y) = temperature T_0 = Inlet temperature I have successfully simulated dirichlet boundary conditions. However I am not sure how to implement neumann boundary conditions for a constant heat flux. If someone could offer some pointers I would appreciate it. Thanks

 February 24, 2012, 17:59 #2 Senior Member   Filippo Maria Denaro Join Date: Jul 2010 Posts: 1,155 Rep Power: 16 Consider the Neumann condition (dimensional) q = -k dT/dn, at a surface with n unit normal outward to surface, then from your definition you simply get: q = k (Tw-To) dTheta/dn The quantity q /k (Tw -To) is a known term of your problem so you have hust to discretize the derivative at the surface

 February 25, 2012, 13:10 #3 Member   Peter Join Date: Oct 2011 Posts: 52 Rep Power: 4 How would I know Tw? The only thing that I have defined at the boundaries is q.

February 25, 2012, 13:40
#4
Senior Member

Filippo Maria Denaro
Join Date: Jul 2010
Posts: 1,155
Rep Power: 16
Quote:
 Originally Posted by new_at_this How would I know Tw? The only thing that I have defined at the boundaries is q.

you have to know (Tw -To) from data of your physical problem

 February 27, 2012, 13:44 #5 Member   Peter Join Date: Oct 2011 Posts: 52 Rep Power: 4 So i'm missing something. Say i'm solving for a flow through parallel plates. The initial condition is that theta is 1 everywehere. If I am solving for a constant wall temperature, then I can set the boundary conditions for theta to be 0 at the surface of the plates. I haven't used Tw or To anywhere. So for the constant heat flux case, shouldn't I be able to do the same by defining some boundary condition on the wall that does not involve dimensional values? Also Tw will change as the flow progresses, shouldn't I be solving for this in the code instead of inputing it?

 February 27, 2012, 15:56 #6 Senior Member   Andrew Join Date: Mar 2009 Location: Washington, DC Posts: 192 Rep Power: 7 Can you define Tin? I'll check when I get a chance, but I think I solved your model knowing Tin and then backing out the Tw based on the q..It's been a long time. But, I do think you will have to have a temp defined somewhere

 February 27, 2012, 16:49 #7 Senior Member   Filippo Maria Denaro Join Date: Jul 2010 Posts: 1,155 Rep Power: 16 the quantity q /k (Tw -To) is substantially the Nusselt number, therefore you can fix an arbitrary Nusselt value for your numerical purposes without taking care of your physical values. Of course you cannot say what is the physical problem until you specify (Tw-To) ...

 February 29, 2012, 13:41 #8 New Member   Mazhar Iqbal Join Date: Mar 2009 Posts: 10 Rep Power: 7 Energy equation is an elliptic differential equation. Therefore, you will not be able to solve by defining neuman conditions on all boundaries.

 February 29, 2012, 16:01 #9 Senior Member     Paolo Lampitella Join Date: Mar 2009 Location: Italy Posts: 434 Blog Entries: 13 Rep Power: 14 I guess his T0 at inlet is used in a Dirichlet sense

 February 29, 2012, 20:19 #10 New Member   Mazhar Iqbal Join Date: Mar 2009 Posts: 10 Rep Power: 7 Then he must be solving a thermally developing flow

 March 9, 2012, 11:15 #11 Member   Peter Join Date: Oct 2011 Posts: 52 Rep Power: 4 So I am able to define Tin, however I am trying to find the nusselt number for this particular flow. Therefore I can't define the temperature at the wall but only the gradient. I have made some progress but I am getting kinda stuck. I have redefined my non dimensional temperature to be Where T_L is the the temperature at the end of the heated section calculated by q=m*c_p*(T_L-Tin). As a result I find that This way I should be able to define a neumann condition at the boundary. This logically makes sense however I think that my dimensionless temperature field should be roughly bounded by 0, however my code seems to run to negative theta which is confusing me at the moment. Alternately I have seen some texts define theta as When I work out the boundary condition with this definition it is strange because the gradient no longer becomes dependent on q'' so I am confused. Could someone perhaps verify that the first formulation I have for theta is correct and that my code is just doing something wrong? Last edited by new_at_this; March 9, 2012 at 11:35.

 March 9, 2012, 11:50 #12 Senior Member   Filippo Maria Denaro Join Date: Jul 2010 Posts: 1,155 Rep Power: 16 your temperature field should be bounded 0<= theta<=1, this is if the correct reference quantities are chosen

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Saturn CFX 32 October 8, 2013 07:53 Rich Main CFD Forum 0 December 16, 2009 14:01 zhou1 FLUENT 1 June 3, 2004 16:15 Tudor Miron CFX 15 April 2, 2004 05:18 Jan Ramboer Main CFD Forum 11 August 16, 1999 08:59

All times are GMT -4. The time now is 21:03.