|
[Sponsors] |
UDF for a 3D inlet velocity profile with wave motion |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 13, 2013, 07:39 |
UDF for a 3D inlet velocity profile with wave motion
|
#1 |
New Member
Kai Ling
Join Date: Sep 2013
Posts: 8
Rep Power: 13 |
Hi,
I am a new user of FLUENT. I am required to do a 3D simulation a immersing a box into the sea. For testing sake, I have came out with a UDF code for a 3d inlet velocity profile with wave motion in the x-direction with a moving object in the water. For modelling, I built a small box and a big box encasing it, hoping to be able to simulate the dropping of the small box into the waters (2 phase fluid in the big box). The model was a 3D model. However, I have encountered this error "The UDF library you are trying to load is not compiled for 3D on the current platform (win64). \libudf\win64\3d\libudf.dll" Could anyone tell me what went wrong? Would really appreciate it! Thank you |
|
September 13, 2013, 09:00 |
|
#2 |
New Member
Giuseppe Tescione
Join Date: Sep 2013
Posts: 2
Rep Power: 0 |
Hello,
this is my first time on this forum, please, forgive my ignorance and my poor English. my problem is basically the same as kailingkk The question that I propose has already been addressed, I read and followed the discussions but have not been able to solve the problem. I'm trying to perform an application / tutorial "heave and pitch simulation of ship hull moving through head sea waves." I Use ansys 14.5 on windows 8 with Visual Sudio 2012, and are also installed Visual C++ 2005 2008 2010 (all x64) The problem concerns the Compiled UDFs. In the tutorial I provided the mesh, the source file (six_dof_property.c) and some case and data. I put everything in a folder ( C:\Users\giuseppe\Desktop\ansys fluent ship motions) I load fluent and follow the instructions. 3D, double precision and set the working directory: C:\Users\giuseppe\Desktop\ansys fluent ship motions (the same of .c) Read mesh Set the models file (multiphase and viscous) Define >> user-defined >> function >> compiled In the source file add the .c file and build the libduf (defoult librery name) In the same folder of .c is create the folder libduf But in the Console messages me an error Copied C:\Users\giuseppe\Desktop\ansys fluent ship motions/C:\Users\giuseppe\Desktop\ansys fluent ship motions\six_dof_property.c to libudf\src udf_names.c file in 3ddp is upto date. (system "copy "C:\Program Files\ANSYS Inc\v145\fluent"\fluent14.5.0\src\makefile_nt.udf "libudf\win64\3ddp\makefile" ") 1 file copiati. (chdir "libudf")() (chdir "win64\3ddp")() "nmake" non Š riconosciuto come comando interno o esterno, un programma eseguibile o un file batch. (("nmake" Š not recognized as an internal or external command, operable program or batch file.)) Done. And if load: Opening library "C:\Users\giuseppe\Desktop\ansys fluent ship motions\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 3ddp on the current platform (win64). Impossibile trovare il file specificato. ((Can not find the file specified.)) C:\Users\giuseppe\Desktop\ansys fluent ship motions\libudf\win64\3ddp\libudf.dll Error Object: #f Why? where is the error ? thank you |
|
September 13, 2013, 11:38 |
|
#3 |
Member
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 14 |
Did you try the SDK for compiling UDF?
__________________
Best, Rexxar |
|
September 13, 2013, 12:52 |
|
#4 |
New Member
Giuseppe Tescione
Join Date: Sep 2013
Posts: 2
Rep Power: 0 |
solution found!
I used VS2012 x64 cross tools command prompt for launch Fluent is now in run calculation and it seems that is going well ... i tell you if there are problems ... note: the windows software developement kit for windows8 is installed, probably SDK compiling automatically UDF if i start Fluent from VS command prompt...right? thanks |
|
September 15, 2013, 01:01 |
|
#5 |
New Member
Kai Ling
Join Date: Sep 2013
Posts: 8
Rep Power: 13 |
Hi, I am still very much stuck with my UDF code. Would really appreciate it if anybody could take a look at my attached c file and tell me what went wrong!
|
|
June 16, 2014, 05:50 |
FLUENT UDF compilaton
|
#6 |
New Member
Join Date: Oct 2012
Posts: 4
Rep Power: 14 |
I am telling you follow these steps and very easy to set up
install MSVC 2010 Express edition install windows sdk7.1 and load fluent from sdk command prompt by navigating to you file location and type the casename.cas it worked for me after spending 4 fucking days...... take care lads |
|
June 25, 2014, 10:52 |
well same problem as you guy
|
#7 |
New Member
hannecart
Join Date: Jun 2014
Posts: 16
Rep Power: 12 |
only two and a half day on it but still no solution ...
i install Visual studio 2010 than 2013 on my computer as well as SDK 7.0 .i run fluent from cmd shell and compiled but still this error : The UDF library you are trying to load (libudf) is not compiled for 3d on the current platform (win64). Le fichier spécifié est introuvable. |
|
August 4, 2017, 15:39 |
six dof property in UDF (ship hull simulation
|
#8 |
New Member
Prasanna Ramanathan
Join Date: Nov 2016
Posts: 2
Rep Power: 0 |
hello,
can anyone send me the six_dof_property.c file mentioned in the ship hull tutorial for fluent. thanks and regards, Prasanna Ramanathan |
|
January 5, 2019, 08:16 |
|
#9 |
New Member
Tough Luck
Join Date: Oct 2016
Posts: 14
Rep Power: 10 |
If anyone still has them, can I have the files needed for the heave tutorial please? My email is kinsasa04@gmail.com. Thank you in advance.
|
|
May 26, 2021, 08:33 |
|
#10 |
New Member
Join Date: May 2021
Posts: 1
Rep Power: 0 |
Hi, Prasanna Ramanathan
Did you receive any reply regarding the six_dof_property.c file? Mind sharing it? Thanks Regards, whkhor3 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
(ask) how to create UDF for inlet velocity profile | sincity | Fluent UDF and Scheme Programming | 83 | May 16, 2022 14:04 |
UDF paraboloid velocity inlet | rosco | FLUENT | 10 | June 2, 2017 09:01 |
unsteady inlet velocity udf | jill | FLUENT | 8 | February 10, 2015 07:04 |
How to make a UDF to have a velocity profile in a square channel | Gigis | Fluent UDF and Scheme Programming | 8 | January 13, 2013 23:20 |
Velocity inlet boundary condition for porous medium | Chander | CFX | 3 | March 11, 2012 22:18 |