CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF: Value too large for defined data type

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 18, 2015, 16:52
Default UDF: Value too large for defined data type
New Member
Join Date: Nov 2015
Posts: 4
Rep Power: 3
silvi is on a distinguished road
I tried to interpret my inlet profile udf and it occurs an error:

cpp:inlet_profile_6.c: value too large for defined data type
Error:" inlet_profile_6.c" line1: syntax error.
we're using a terminal to launch fluent on a cluster. the version is fluent 13

and the udf is:

#include "udf.h"
#define a0 3573.860361
#define a1 824.1014636
#define b1 848.3188461
#define a2 -72.89079078
#define b2 142.0899859
#define a3 -206.9491044
#define b3 38.05716879
#define a4 -35.63104124
#define b4 6.608799463
#define a5 -42.64628096
#define b5 -30.45040677
#define a6 1.44034143
#define b6 19.22563745

real omega, flow_time, pressure;
face_t f;
flow_time= CURRENT_TIME;
begin_f_loop (f,thread)
F_PROFILE(f,thread,id) = a0+a1*cos(omega*flow_time)+a2*cos(2*omega*flow_tim e)+a3*cos(3*omega*flow_time)+a4*cos(4*omega*flow_t ime)+a5*cos(5*omega*flow_time)+a6*cos(6*omega*flow _time)+b1*sin(omega*flow_time)+b2*sin(2*omega*flow _time)+b3*sin(3*omega*flow_time)+b4*sin(4*omega*fl ow_time)+b5*sin(5*omega*flow_time)+b6*sin(6*omega* flow_time);
end_f_loop (f,thread)
Thank you
silvi is offline   Reply With Quote


error, fluent, supercomputer, udf

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 27 November 2, 2015 18:04
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 4 October 15, 2015 06:19
Boundary Conditions MtnRunBeachBum OpenFOAM Pre-Processing 1 April 30, 2015 16:33
compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 2 August 30, 2013 07:42
Air Conditioned room groovyBC Sebaj OpenFOAM 7 October 31, 2012 15:16

All times are GMT -4. The time now is 00:10.