|
[Sponsors] |
How to calculate entropy generation in (W/mK) in CFD-Post? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 28, 2017, 04:54 |
How to calculate entropy generation in (W/mK) in CFD-Post?
|
#1 |
Senior Member
|
Dear all,
Hello. Hope all are well. My question is simple. How can I calculate entropy or entropy generation in CFD-Post for flow (incompressible) in pipe from fluid flow and heat transfer fields (i.e. solving momentum and energy equations)? I didn't find much in ANSYS documentation except a formula "s-s_ref=c_p*log*(T/T_ref)" for constant density and specific heat flow. Would I be making an expression or anything else? Also, I know static entropy variable cannot be used as the fluid is flowing and not static (and even in compressible flow for isentropic conditions there is not distinction between entropy and static entropy). Would be grateful for guidance. Thanks. |
|
September 28, 2017, 12:04 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Based on the formula shown, you can define your entropy field (set an arbitrary s_ref and T_ref), evaluate
Then, compute some kind of average at the inlet and outlet. Say EntropyChange = massFlowAve(MyEntropyField)@Outlet - massFlowAve(MyEntropyField)@Inlet In ANSYS CFX, Static Entropy is just entropy (just a name).; therefore, you can just EntropyChange = massFlowAve(Static Entropy)@Outlet - massFlowAve(Static Entropy)@Inlet. Keep in mind if the flow is isothermal, the entropy change is 0 by definition of an incompressible fluid. |
|
September 28, 2017, 14:35 |
|
#3 |
Senior Member
|
Thanks Opaque. What value should I use for s_ref and T_ref? Also what is "MyEntropyField" and where do I get it from? Moreover, the problem with static entropy is that it gave me units of m^2s^-2K^-1 whereas units of entropy generation per unit volume is W/m^3K. Why is that? Thanks.
|
|
September 29, 2017, 09:55 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Several questions.. Let us take one at a time.
For s_ref, T_ref, they are arbitrary values. For simplicity, just make them 0 [J kg^-1 K^-1], and 1 [K] In CFD-Post, you can create your own variables and use expressions to evaluate them. Create one named MyEntropyField and go from there. Please read the documentation for further functionality. Dimensions of specific entropy (or static entropy) are energy per unit mass per unit temperature. In SI, that is [ J kg^-1 K^-1] that expanded on basic units is [m^2 s^-2 K^-1] Entropy generation per unit volume is mass flow times the change of specific entropy in the system. You can just replace the massFlowAve( ) operation by massFlowInt( ) operation and you should be good. |
|
October 3, 2017, 07:20 |
|
#5 |
Senior Member
|
Thanks a lot
|
|
October 10, 2017, 02:33 |
|
#6 |
Senior Member
|
Dear all,
Hello. Hope all are well. I have used two methods to calculate entropy generation. First the Bejan correlation (((Wall Heat Flux[W/m^2])^2*3.142*(D[m])^2)/(Thermal Conductivity[W m^-1 K^-1]*(Average T)^2*Average Nu))+((32*(Average MFR)^3*Average FFF)/(3.142^2*(Density[kg/m^3])^2*Average T*(D[m])^5)) where D is the diameter Average T is the average temperature, Average Nu is the average Nu number, Average MFR is the average mass flow rate, and Average FFF is the average Fanning friction factor is giving me a value of around 0.3 Wm^-1K^-1 Second I have defined MyEntropyField s_ref=c_p*log*(T/T_ref) where s_ref is 0 [J kg^-1 K^-1] and (checked from CFX-Pre) T_ref is 298 K (checked from CFX-Pre) Applying massFlowInt(Entropy Field)@Outlet - massFlowInt(Entropy Field)@Inlet This gives me a value of -0.55626 Wm^-1K^-1 The two values are entirely different. I think the first one is more realistic as its positive and less than 1. Entropy shouldn't be negative, right? As the entropy of a system always increases and thus comes the concept of entropy creation. My question is what method should I follow and what can be the reason of such a big discrepancy? Would be grateful if some could help me out. Thanks. |
|
October 10, 2017, 07:38 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Entropy is relative to a reference value. So yes, entropy can be negative.
You are comparing two different values as the averaging is different in both cases. For the Bejan correlation you average the input variables, but for the massflowInt() calculation you average the entropy field. |
|
October 22, 2017, 03:20 |
|
#8 |
Senior Member
|
Dear all,
Hope all are well. I know this has become a relatively old post but as my question is related to the topic I thought to post it here. I want to find volumetric entropy generated as a continuous variable in units of [J K^-1 m^-3] an not the entropy generation rate in [W m^-1 K^-1]. Currently, I am using Bejan correlation and a defined entropy field. Would be grateful for help on this matter. Thanks. |
|
October 22, 2017, 04:36 |
|
#9 |
Senior Member
|
Got it by defining gradients But now that I have got a numerically calculated variable entropy field, the question still remains to find it in units of J m^-3 K^-1. Can anyone please help me. Thanks.
|
|
October 22, 2017, 06:04 |
|
#10 |
Senior Member
|
Would really appreciate some help from experienced professionals. Glenn and Opaque maybe you guys have come across this question. Thanks.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Displaying solid domains in CFD Post without meshing them. | hda | ANSYS Meshing & Geometry | 5 | October 24, 2016 10:26 |
Not able to calculate wall heat flux in cfd post | vikasy123 | FLUENT | 1 | November 21, 2015 01:44 |
Separate Convective and Radiative heat transfer in CFD post using fluent as a solver | Lemanes | FLUENT | 1 | July 6, 2015 11:31 |
Problem regarding producing streamlines from surfaces in Ansys CFD post | gauthamnarayan | ANSYS | 6 | June 8, 2015 08:33 |
Entropy Generation in compressible flow | Dave | FLUENT | 0 | January 5, 2004 08:12 |