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

Use of (conservative) velocities at the wall in CEL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2015, 11:07
Default Use of (conservative) velocities at the wall in CEL
  #1
New Member
 
Jesus Contreras Espada
Join Date: Aug 2011
Location: Switzerland
Posts: 12
Rep Power: 15
jcespada is on a distinguished road
Hello everybody,

I am trying to set a heat transfer coefficient which is a function of the tangential velocities at the wall.

In order to try on an easy example, i made a simple duct with a given temperature at the wall and a heat transfer coefficient given by

100[W/m^2/K] + Velocity u * 10 [W/m^3/K * s]

The fluid is water with a velocity (Velocity u) of 1 [m/s]

When I postprocess the results I see that the HTC is equal to 100 [W/m^2/K] everywhere although Velocity u (conservative) isn't. I've read everywhere that CEL expressions make use of conservative values. Is this wrong or am I missing anything?

Thank's in advance!
jcespada is offline   Reply With Quote

Old   March 9, 2015, 11:19
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
You said you set up an expression for HTC, and I assume you meant an external heat transfer coefficient since there is no parameter name Heat Transfer Coefficient for the internal (as in heat transfer between the fluid and the wall). Correct ?

You also indicated the results for the "External" HTC on the boundary remained 100 [W m^-2 K] ; therefore, you assume the code used a Velocity u of 0 [m s^-1] in your expression instead of the velocity associated to control volume at the boundary. correct ?

If both of the above are correct, the CEL is using the hybrid value of Velocity u, i.e. 0 [m s^-1] for a stationary wall, and not the "conservative value" you seem to be expecting.

Do you need the expression to the conservative value instead ?
Opaque is offline   Reply With Quote

Old   March 9, 2015, 11:23
Default
  #3
New Member
 
Jesus Contreras Espada
Join Date: Aug 2011
Location: Switzerland
Posts: 12
Rep Power: 15
jcespada is on a distinguished road
You are right. I'm talking about the Wall External Heat Transfer Coefficient.

It is also right that the code uses a Velocity u of 0 [m s^-1].

I was expecting the code to use the conservative value. I'd be very thankful if anybody would provide me the expression.
jcespada is offline   Reply With Quote

Old   March 9, 2015, 14:44
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
The default behavior of CEL at boundaries may be open to debate. For example, if I set a boundary to a fixed velocity of 0 [m s^-1] and temperature of 300 [K], I would expect that expression evaluated at such boundary use those numbers.

However, I may also want to access the control volume value in some circumstances (depending of numerics details). How could you access such value ? First, you must understand that for most cases, the evaluation at boundary faces are evaluation at the integration points of those faces (read theory doc for i.p and faces details), and values can be associated to those location by interpolating control volume values using the element shape functions, or assigning it the closest (topologically speaking) control volume value.

For shape function interpolation, you can use Velocity u.trilin

For nearest control volume (topologically speaking), you can use Velocity u.linlin.

Hope the above helps,
Opaque is offline   Reply With Quote

Old   March 10, 2015, 07:08
Default
  #5
New Member
 
Jesus Contreras Espada
Join Date: Aug 2011
Location: Switzerland
Posts: 12
Rep Power: 15
jcespada is on a distinguished road
Thanks for your help. It is exactly the control volume values that I want to Access, but both the .linlin and the .trilin options make the solver crash.


----------------------------------
Error in subroutine GETCORE :
LIN-LIN is an operator on boundary conditions.
GETVAR originally called by subroutine CAL_FLX_BCS

+----------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |

| Message: |
| Stopped in routine GV_ERROR |
| |
| |
| |
| |
| |
+----------------------------------------------------------+

+----------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. |
| No results file has been created. |
+----------------------------------------------------------+


The error occurs when I use the expression

Alpha = 100[W/m^2/K] + Velocity u * 10 [W/m^3/K * s]

and set Alpha as value for "external" Heat Transfer coefficient at the Wall

but also when I set 100[W/m^2/K] + Velocity u * 10 [W/m^3/K * s] inside the field "Heat Trans. Coeff.".

Any idea?
jcespada is offline   Reply With Quote

Old   March 10, 2015, 07:37
Default
  #6
New Member
 
Jesus Contreras Espada
Join Date: Aug 2011
Location: Switzerland
Posts: 12
Rep Power: 15
jcespada is on a distinguished road
...of course i use Velocity u.trilin and Velocity u.linlin instead of Velocity u
jcespada is offline   Reply With Quote

Reply

Tags
cel expression, conservative vs hybrid


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Enhanced Wall Treatment paduchev FLUENT 24 January 8, 2018 12:55
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
Is wall ajacent temperature equal to conservative temperature of the wall? shenying0710 CFX 8 January 4, 2013 05:03
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


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