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

UDF for Wave Generation and UDF Compilation Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2016, 01:50
Default UDF for Wave Generation and UDF Compilation Error
  #1
New Member
 
Join Date: Dec 2016
Posts: 1
Rep Power: 0
Engrsdm is on a distinguished road
Hi Guys,

I want to simulate waves in a numerical wave flume. I will use UDF for moving wall for wave generation. I came across the UDF for a moving wall in CFD forums given below.

#include “udf.h”
#include “dynamesh_tools.h”
DEFINE_CG_MOTION(oscillate,dt,vel,omega,time,dtime )
{
Thread *t;
face_t f; /* define the variables */
t = DT_THREAD(dt);
begin_f_loop(f,t) /* loop over each face in the zone to create an array of data */
{
vel[0]=-2;
}
end_f_loop(f,t)
}

I have two main problems.

1) I don't know how to generate waves of desired parameters i.e time period and height using that UDF.

2) The other issue is that when I want to compile UDF in fluent it gives error saying that " The UDF library you are trying to load is not compiled for the 3D on the current platform (ntx86). The system can not find the specified path "


Please guide me in this matter
I am using ANSYS 15.7 (32 bit)

Thanks
Engrsdm is offline   Reply With Quote

Reply


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
entropy generation with UDF mohammadkm Fluent UDF and Scheme Programming 22 June 10, 2020 23:37
Wave Generation via Flapping Wall UDF LenDawg0220 Fluent UDF and Scheme Programming 5 June 26, 2017 17:05
UDF Outputs dont match exactly for volumetric heat generation. nvarma Fluent UDF and Scheme Programming 3 May 23, 2016 18:41
UDF error for Heat Generation mame Fluent UDF and Scheme Programming 4 March 3, 2016 05:22
UDF for heat generation prince_pahariaa FLUENT 4 July 11, 2011 03:58


All times are GMT -4. The time now is 22:30.