CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Accessing node value

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2014, 11:30
Smile Accessing node value
  #1
Senior Member
 
sunilpatil's Avatar
 
sunil
Join Date: Jul 2012
Location: Bangalore
Posts: 179
Rep Power: 14
sunilpatil is on a distinguished road
Hello Sir,
In my transient analysis, at present i am calculating convection losses from a surface with the help of CEL. Where i am considering Average temperature of wall (Please refer figure). Based on which i am updating my applied boundary conditions. Is it possible to calculate convection loss for each node instead of considering Average temperature (please refer figure).

http://postimg.org/image/vhb68y2ph/

Thank you
Suneel
sunilpatil is offline   Reply With Quote

Old   November 21, 2014, 11:36
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
You do not need to, it does work as you described on the second figure.

A CEL expression is evaluated at each node; therefore, if you write an equation for q = h * (T - 25 [C]), it is evaluated at every node in the boundary as

q_node = h_node * (T_node - 25 [C]).

h_node can also be an expression; therefore, it can also be node based.
Opaque is offline   Reply With Quote

Old   November 21, 2014, 13:09
Smile node value
  #3
Senior Member
 
sunilpatil's Avatar
 
sunil
Join Date: Jul 2012
Location: Bangalore
Posts: 179
Rep Power: 14
sunilpatil is on a distinguished road
Hello Sir,
Thank you for your quick reply. I want some clarification in this. whether we need to define it as T@WALL or (T)@WALL. I want to access temperature of particular wall to update boundary conditions.

Thank you
Suneel
sunilpatil is offline   Reply With Quote

Old   November 21, 2014, 13:47
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Are you saying that the wall heat flux, q, at say Wall1 is a function of the temperature of another wall, say Wall2 ? I hope that is not your case since it is not trivial in any code since both walls could have different mesh topologies.

If you need q_node_wall1 = h_node * (T_node_wall1 - 25 [C])

you still do not need to specify the wall for the temperature since it is implied by context. The expression is evaluated at wall1, and all the variables used will be evaluated at wall1.
Opaque is offline   Reply With Quote

Old   November 21, 2014, 14:23
Smile
  #5
Senior Member
 
sunilpatil's Avatar
 
sunil
Join Date: Jul 2012
Location: Bangalore
Posts: 179
Rep Power: 14
sunilpatil is on a distinguished road
Wall out side heat flux is a function of surrounding air temperature (Ex: Ambient air) and presently not modeled. The method you suggested is works well in CFD post but Sir i want it in CFX-pre.
sunilpatil is offline   Reply With Quote

Old   November 21, 2014, 17:28
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
What you seem to be describing is a well supported boundary condition; therefore, I do not understand what you are trying to do.

What is wrong with the Heat Transfer Coefficient boundary condition already available in the software. It does exactly what you have described so far. You must specify the external heat transfer coefficient, and the external temperature and the heat flux is computed as q_node = h_node * (T_node - T_outside)

If the above is not what you need, could you please describe what you are trying to model first, then how you are trying to approach with the available functionality ? The more detailed the explanation, the easier for the forum members to help you.
Opaque is offline   Reply With Quote

Old   November 22, 2014, 09:00
Smile
  #7
Senior Member
 
sunilpatil's Avatar
 
sunil
Join Date: Jul 2012
Location: Bangalore
Posts: 179
Rep Power: 14
sunilpatil is on a distinguished road
Hello Sir,
At present i am calculating convection loss(Please refer figure) as follows
Q_convection = h (T_wall - T_ambient) where
T_wall_1 = areaAve(T)@Wall (Average temp of wall) and i am having ambient temperature data.
I want to calculate convection losses for each node for example
Q_convection_i = h(T_wall_i - T_ambient) where i is for different nodes on the WALL_1.

Thank you

http://s26.postimg.org/pujv8l6ih/2_question.png
sunilpatil is offline   Reply With Quote

Old   November 22, 2014, 14:31
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Based on your description, I stand by what I said earlier. That is what the Heat Transfer Coefficient boundary condition does. No need to rewrite the implementation you already paid for. More likely, you would not get the same robustness/convergence behavior provided by the ANSYS CFX solver.

The Convection heat loss can be later recomputed in CFD-Post using

Q_convection = External Wall Heat Transfer Coefficient * (Temperature - T_ambient)

By using expressions, you do not need to know the nodes, nor loop over them either. If you still need to see the nodal distribution associated with each node, you can export a User Defined variable representing the expression above for the boundary you are interested in.
sunilpatil likes this.
Opaque is offline   Reply With Quote

Reply

Tags
cell values, node value


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Error in mesh writing helios ANSYS Meshing & Geometry 21 August 19, 2021 15:18
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 16:03
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 UDS_rambler FLUENT 2 November 22, 2011 10:46
Accessing node values using a UDF Nico FLUENT 2 December 20, 2007 03:50


All times are GMT -4. The time now is 17:53.