|
[Sponsors] |
December 18, 2007, 12:39 |
UDF error
|
#1 |
Guest
Posts: n/a
|
Hello I have a code same as described in UDF real gas for Redlich-Kwong equation. When compiling it in luet 6.3.26 ir gives the following errors: Welcome to Fluent 6.3.26
Copyright 2006 Fluent Inc. All Rights Reserved Loading "c:\fluent.inc\fluent6.3.26\lib\fl_s1119.dmp" Done. > 1 file(s) copied. (system "copy c:\fluent.inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. (chdir "libudf")() (chdir "ntx86\2ddp")() realgas.c c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdout' c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(161) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(159) : see previous definition of 'stdin' ..\..\src\realgas.c(48) : warning C4005: 'T_REF' : macro redefinition c:\fluent.inc\fluent6.3.26\src\prop.h(116) : see previous definition of 'T_REF' ..\..\src\realgas.c(94) : warning C4133: '=' : incompatible types - from 'void (*)(char *,...)' to 'int (*)(char *,...)' ..\..\src\realgas.c(390) : warning C4028: formal parameter 3 different from declaration # Generating udf_names.c because of makefile realgas.obj udf_names.c c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdout' c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(161) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(159) : see previous definition of 'stdin' # Linking libudf.dll because of makefile user_nt.udf udf_names.obj realgas.obj Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. Creating library libudf.lib and object libudf.exp Done. Does any one knows what is the source of the error and how to fix it? Many thanks REgards EDUARDO |
|
December 19, 2007, 05:25 |
Re: UDF error
|
#2 |
Guest
Posts: n/a
|
If you write the code in the form of user define function? When you install the visual c++,if you had set the environment variable?
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with UDF compiling for kTkLW model | Wantami | FLUENT | 0 | July 18, 2011 06:11 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Accessing phi from a fvPatchField at same patch | johndeas | OpenFOAM | 1 | September 13, 2010 21:23 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |