CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

temperature dependent density of water in fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2019, 10:00
Default temperature dependent density of water in fluent
  #1
New Member
 
sahar mohammadi
Join Date: Nov 2019
Posts: 1
Rep Power: 0
sahar.mh is on a distinguished road
Hi
I want to search on a fluid with variable properties, I used UDFs, but i have problem in initialize. I interpreted the following code with no error but as I wanted to initialize the project I faced an ERROR :

"the mesh component in mesh requires user input before it can be updated.for instruction on how to address the cell in its current state, click blue triangle in the lower right corner of the cell."

what is my mistake?


#my code:

#include "udf.h"
/* profile for density */
DEFINE_PROPERTY(Cell_density, c, t)
{
real rof;
real temp = C_T(c, t);
rof = 1130 * exp((-0.0004173)*temp);

return rof;
}
sahar.mh is offline   Reply With Quote

Reply


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
No liquid water exist in my Fuel Cell simulation fatchang FLUENT 19 October 15, 2018 14:27
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 01:27
HELP!:CFD modelling using FLUENT in swimming pool Tee Main CFD Forum 0 September 7, 2005 20:48
uptodate water distribution network fredius,magige,tanzanian,(e.a) Main CFD Forum 0 January 27, 2002 07:10


All times are GMT -4. The time now is 19:34.