|
[Sponsors] |
July 27, 2016, 05:48 |
UDF for MATERIAL PROPERTY
|
#1 |
New Member
VO
Join Date: Apr 2015
Posts: 5
Rep Power: 11 |
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 |
|
Tags |
fluent - udf, material properties, udf and programming |
|
|
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 |