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

Looking for UDF files of the tutorial "Simulation of Wave Generation in a Tank"

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By like.no.other

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2010, 04:33
Default Looking for UDF files of the tutorial "Simulation of Wave Generation in a Tank"
  #1
New Member
 
Chen
Join Date: Oct 2010
Posts: 4
Rep Power: 16
seucj is on a distinguished road
hello
i have a homework to simulate the liquid slosh in a tank, it's about Moving Wall BC, i have the tutorial "Simulation of Wave Generation in a Tank", but i can't find the files, especially the libudf.c.
can someone help me? if you know where i can get it or you have. please help me out! my email seuchenjian@gmail.com.
thanks again
seucj is offline   Reply With Quote

Old   February 14, 2011, 06:06
Default UDF files
  #2
New Member
 
Md. Minhaj Alam
Join Date: Sep 2010
Posts: 9
Rep Power: 16
minhaj_iut is on a distinguished road
Hi,

Did you manage to get the UDF file for wave generation tank. I am also looking for it. Could you email me if you already get it. minhaj_iut@yahoo.com
minhaj_iut is offline   Reply With Quote

Old   April 8, 2013, 02:48
Default Libudf.c
  #3
New Member
 
Abdol Hosein Nowruzi
Join Date: Dec 2012
Posts: 1
Rep Power: 0
82.hosein@gmail.com is on a distinguished road
Hi,
I am also a master engineer and I am really in need of this file. could you please do me a favor and send it to me?
82.hosein@gmail.com
82.hosein@gmail.com is offline   Reply With Quote

Old   September 15, 2014, 15:33
Default
  #4
Member
 
Amir
Join Date: Sep 2012
Posts: 47
Rep Power: 14
Amir1 is on a distinguished road
hi guys,

Can you send me the UDF file plz?

Thanks, Amir
Amir1 is offline   Reply With Quote

Old   September 25, 2014, 12:25
Default wave_generation_udf
  #5
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
hi,try this

#include "udf.h"

DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime)
{
vel[0]=(0.037098)*((1 - exp(-2.303*time))*7.7528*cos(7.7528*time) + ((2.303*exp(-2.303*time))*sin(7.7528*time)));
}
adi.ptb is offline   Reply With Quote

Old   September 30, 2014, 14:08
Default
  #6
Member
 
Amir
Join Date: Sep 2012
Posts: 47
Rep Power: 14
Amir1 is on a distinguished road
Thanks a lot. Best, Amir
Amir1 is offline   Reply With Quote

Old   June 6, 2015, 04:08
Default Numerical Values Means in UDF
  #7
New Member
 
Mirza Ahsan Baig
Join Date: May 2015
Posts: 7
Rep Power: 11
Engr_AhsanBaig is on a distinguished road
Quote:
Originally Posted by adi.ptb View Post
hi,try this

#include "udf.h"

DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime)
{
vel[0]=(0.037098)*((1 - exp(-2.303*time))*7.7528*cos(7.7528*time) + ((2.303*exp(-2.303*time))*sin(7.7528*time)));
}
Can you explain what these numeric values represent in this udf?
Engr_AhsanBaig is offline   Reply With Quote

Old   June 6, 2015, 04:45
Default UDF of Simulation of Wave Generation in a Tank
  #8
New Member
 
Mirza Ahsan Baig
Join Date: May 2015
Posts: 7
Rep Power: 11
Engr_AhsanBaig is on a distinguished road
Kindly elaborate me this udf posted by adi. I want to know about the function so that i can put my own numeric values.
Engr_AhsanBaig is offline   Reply With Quote

Old   June 24, 2015, 04:26
Default
  #9
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
I dont think that its really matter what this number represent for,its only an example,u have to decide what profile you want to use for motion of the wall,for example you can use sine function or parabolic function for motion of the wall,u just have to modify it to suit your problem
adi.ptb is offline   Reply With Quote

Old   August 5, 2015, 03:41
Default
  #10
Member
 
Mansoor Ahmed
Join Date: Apr 2014
Location: https://t.me/pump_upp
Posts: 47
Rep Power: 12
engrmansoor2534 is on a distinguished road
Send a message via ICQ to engrmansoor2534 Send a message via AIM to engrmansoor2534 Send a message via Yahoo to engrmansoor2534
Quote:
Originally Posted by adi.ptb View Post
I dont think that its really matter what this number represent for,its only an example,u have to decide what profile you want to use for motion of the wall,for example you can use sine function or parabolic function for motion of the wall,u just have to modify it to suit your problem
Dear Adi
I am trying to simulate peristaltic flow in a 2D channel. this includes a UDF which will propagate a sinusoidal wave at the channel wall as a result the wall deforms and accounts for the motion of fluid inside the channel. the problem is that I am not too good in C language I would highly appreciate if you can help me out in this matter.
thank you
Regards
Waiting for your positive feedback
engrmansoor2534 is offline   Reply With Quote

Old   August 5, 2015, 03:47
Default
  #11
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
I think you should better take a look at the Dynamic meshing in UDF manual,
you can start from there, the structure is the same you just have to modify it to your desire,
adi.ptb is offline   Reply With Quote

Old   August 5, 2015, 04:40
Default
  #12
Member
 
Mansoor Ahmed
Join Date: Apr 2014
Location: https://t.me/pump_upp
Posts: 47
Rep Power: 12
engrmansoor2534 is on a distinguished road
Send a message via ICQ to engrmansoor2534 Send a message via AIM to engrmansoor2534 Send a message via Yahoo to engrmansoor2534
thank you Adi... I am working on it and will get back to you If I needed any assistance.
Regards
engrmansoor2534 is offline   Reply With Quote

Old   August 21, 2015, 06:52
Default
  #13
Member
 
like.no.other
Join Date: Sep 2011
Posts: 35
Rep Power: 15
like.no.other is on a distinguished road
Hi seucj

UDF is attached
Attached Files
File Type: c wave.c (194 Bytes, 190 views)
engrmansoor2534 and Meikol like this.
__________________
www.CFDiran.ir
like.no.other 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
Wave generation Dan Main CFD Forum 1 December 1, 2007 12:52
Ocean wave generation & outlet setting- ship FSI lee CFX 0 November 8, 2007 23:10
Help regarding regular wave generation !!!!! Jenifer FLUENT 0 September 27, 2006 07:57
Free surface wave pattern generation sam FLUENT 1 January 2, 2004 17:12
Latest news in mesh generation Robert Schneiders Main CFD Forum 0 March 2, 1999 05:07


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