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

UDF for MATERIAL PROPERTY

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2016, 05:48
Default UDF for MATERIAL PROPERTY
  #1
New Member
 
VO
Join Date: Apr 2015
Posts: 5
Rep Power: 11
Vivek.oswal is on a distinguished road
Can the same single phase UDF be used for Material properties when using Eulerian Multiphase model.?

I am trying to have UDF for Material properties and am using Macro DEFINE_PROPERTY (name,c,t)

Does using an Eulerian Multiphase change the arguments or is DEFINE_PROPERTY macro not valid anymore?

My single phase UDF is this. Works fine until i turn on the Eulerian Multiphase model.


#include "udf.h"

DEFINE_PROPERTY(cell_liq_viscositytrial,c,t)
{
real mu;
real temp = C_T(c,t);
real P= C_P(c,t) + op_pres;
if (temp > 288.)
mu = eqaution;
else
mu = 1.;
return mu;
}

Can anyone help me out?
I would really appreciate all the help i can get.
Thank you
Vivek.oswal is offline   Reply With Quote

Reply

Tags
fluent - udf, material properties, udf and programming


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
FLUENT UDF for Variable Thermo-physical Property Simulation nh.cryo Fluent UDF and Scheme Programming 1 November 1, 2017 01:46
Help with unsteady calculation with source/sink UDF RobV FLUENT 1 November 13, 2016 06:44
udf eror + Define property + density rezvan Fluent UDF and Scheme Programming 10 July 10, 2015 05:30
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 07:12
access to a property in a boundary condition using UDF Negin_Salehi Fluent UDF and Scheme Programming 3 November 16, 2012 17:11


All times are GMT -4. The time now is 16:13.