|
[Sponsors] |
Implement neumann boundary condition for nondimensional energy equation |
|
LinkBack | Thread Tools | Search this Thread | 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: 15 |
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: 6,849
Rep Power: 73 |
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, 14:10 |
|
#3 |
Member
Peter
Join Date: Oct 2011
Posts: 52
Rep Power: 15 |
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: 6,849
Rep Power: 73 |
||
February 27, 2012, 14:44 |
|
#5 |
Member
Peter
Join Date: Oct 2011
Posts: 52
Rep Power: 15 |
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: 211
Rep Power: 18 |
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: 6,849
Rep Power: 73 |
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, 14:41 |
|
#8 |
New Member
Mazhar Iqbal
Join Date: Mar 2009
Posts: 10
Rep Power: 17 |
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: 17 |
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: 15 |
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 12:35. |
|
March 9, 2012, 12:50 |
|
#12 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
your temperature field should be bounded 0<= theta<=1, this is if the correct reference quantities are chosen
|
|
April 23, 2018, 19:52 |
How to deal with non dimensional energy equation?
|
#13 |
New Member
Jing
Join Date: Feb 2013
Posts: 25
Rep Power: 13 |
Hi, peter,
Could you tell me more about how did you deal with non dimensional energy equation? When you set your boundary condition, you set your temperature as a number between 0 and 1? And you talked about using an UDF, what did you use the UDF to define? Boundary condition? Thanks a lot. |
|
May 17, 2018, 10:56 |
|
#14 |
Senior Member
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17 |
... A bit late, but still...
If you normalize the temperature that way, than the (normalized flux) = flux*(Tw-T0)/K. It therefore follows that the dimensional prescribed flux is replace by the normalized BC: (prescribed normalized flux) = d(theta) / dn where n is the normal coordinate. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
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 17:15 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 07:18 |
Boundary Conditions | Jan Ramboer | Main CFD Forum | 11 | August 16, 1999 09:59 |