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

first time posting: UDF problem for solving a tank

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 23, 2016, 09:18
Question first time posting: UDF problem for solving a tank
  #1
New Member
 
louis
Join Date: Aug 2016
Posts: 3
Rep Power: 9
weirdsda is on a distinguished road
Hi everyone,

this is my first time here in CFD, I am working on a thixotropic UDF for my stirring tank model in Fluent. Here is my code:
Code:
#include "udf.h"

DEFINE_PROPERTY(mu_yahourt,c,tc)
{
real g_dot=C_STRAIN_RATE_MAG(c,tc);
real t;
real mu=1000.;

if ((g_dot>1.)||(C_UDSI(c,tc,0)>1e-1))
{
 t=MIN(CURRENT_TIME,C_UDSI(c,tc,0));
 mu=MIN(1000.,2313./30.*pow(g_dot,-1.5)*pow(MAX(t,1e-2),(-0.95*pow(g_dot,-0.31))));
}

return mu;

}
However, I cannot run this UDF in Fluent, the error message is:

999999: mpt_read: error: read failed trying to read 8 bytes: No such file or directory The fl process could not be started.

some times it says 8 bytes and some times 4 bytes.

I am really stuck here, So I hope anyone could help me!

Best,

Louis
weirdsda is offline   Reply With Quote

 


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
a problem with convergence in buoyantSimpleFoam skuznet OpenFOAM Running, Solving & CFD 6 November 15, 2017 12:12
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09


All times are GMT -4. The time now is 21:33.