CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Please help to urgent for UDF (https://www.cfd-online.com/Forums/fluent-udf/91076-please-help-urgent-udf.html)

P9408 July 29, 2011 10:48

Please help to urgent for UDF
 
I use FLUENT 13 and Visual studio 10
I found as below error
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++
1 file(s) copied.
(system "copy "c:\PROGRA~1\ANSYSI~1\v130\fluent"\fluent13.0.0\sr c\makefile_nt.udf "libudf\win64\2d\makefile" ")
1 file(s) copied.
(chdir "libudf")()
(chdir "win64\2d")()
# Generating ud_io1.h
boiling.c
# Generating udf_names.c because of makefile boiling.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj boiling.obj
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library libudf.lib and object libudf.exp
boiling.obj : error LNK2019: unresolved external symbol __imp__Free_Storage_Vars referenced in function _area_density
boiling.obj : error LNK2019: unresolved external symbol __imp__T_derivatives referenced in function _area_density
boiling.obj : error LNK2019: unresolved external symbol __imp__Scalar_Derivatives referenced in function _area_density
boiling.obj : error LNK2019: unresolved external symbol __imp__Vof_Deriv_Accumulate referenced in function _area_density
boiling.obj : error LNK2019: unresolved external symbol __imp__Scalar_Reconstruction referenced in function _area_density
boiling.obj : error LNK2019: unresolved external symbol __imp__Alloc_Storage_Vars referenced in function _area_density
libudf.dll : fatal error LNK1120: 6 unresolved externals
Done.

johnwinter August 12, 2011 03:23

This may be due to wrong usage of variables i guess

niravtm007 August 29, 2011 02:32

velocity inlet udf
 
iii friends i am entirely new to using udf's in fluent. I have a cubical geometry, with two inlets on perpendicular adjacent faces. i have to implement udf to only one of the conditions.
i have two cases
1) parabolic velocity inlet ( space varient)
2) sinusodial velocity velocity inlet ( time variant)
can any one pls send me the udf ( code

niravtm007 August 31, 2011 00:51

Hii john i tried that link but didnt really have my kind of problem. i have worked out with 2d udf for parabolic velocity inlet.
please help me how this code will change with 3d. i wanna know how will be the equation considering 3rd dimmension.
as in 2d we have V(x)=Vmax- y^2/(disatnce from centre in y direction )^2 * Vmax.
please help me.
also give suggestion how to work out on sinusoidal inlet udf.
thanks in advance


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