
[Sponsors] 
Implement neumann boundary condition for nondimensional energy equation 

LinkBack  Thread Tools  Display Modes 
February 24, 2012, 17:29 
Implement neumann boundary condition for nondimensional energy equation

#1 
Member
Peter
Join Date: Oct 2011
Posts: 52
Rep Power: 7 
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, 18:59 

#2 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,347
Rep Power: 37 
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 (TwTo) 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, 14:10 

#3 
Member
Peter
Join Date: Oct 2011
Posts: 52
Rep Power: 7 
How would I know Tw? The only thing that I have defined at the boundaries is q.


February 25, 2012, 14:40 

#4 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,347
Rep Power: 37 

February 27, 2012, 14:44 

#5 
Member
Peter
Join Date: Oct 2011
Posts: 52
Rep Power: 7 
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, 16:56 

#6 
Senior Member
Andrew
Join Date: Mar 2009
Location: Washington, DC
Posts: 195
Rep Power: 10 
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, 17:49 

#7 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,347
Rep Power: 37 
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 (TwTo) ... 

February 29, 2012, 14:41 

#8 
New Member
Mazhar Iqbal
Join Date: Mar 2009
Posts: 10
Rep Power: 10 
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, 21:19 

#10 
New Member
Mazhar Iqbal
Join Date: Mar 2009
Posts: 10
Rep Power: 10 
Then he must be solving a thermally developing flow


March 9, 2012, 12:15 

#11 
Member
Peter
Join Date: Oct 2011
Posts: 52
Rep Power: 7 
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_LTin). 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 12:35. 

March 9, 2012, 12:50 

#12 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,347
Rep Power: 37 
your temperature field should be bounded 0<= theta<=1, this is if the correct reference quantities are chosen


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Wind turbine simulation  Saturn  CFX  45  February 8, 2016 05:42 
Viscosity and the Energy Equation  Rich  Main CFD Forum  0  December 16, 2009 15:01 
boundary condition for species equation  zhou1  FLUENT  1  June 3, 2004 16:15 
New topic on same subject  Flow around race car  Tudor Miron  CFX  15  April 2, 2004 06:18 
Boundary Conditions  Jan Ramboer  Main CFD Forum  11  August 16, 1999 08:59 