|
[Sponsors] |
July 18, 2011, 06:21 |
|
#21 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
You can sample results along the line using 'Probe' option in one of the menus. Then, you are allowed to select a point, line or rake. Line and rake is essentially the same, if I remember well the only think which separates line and rake is sample point distribution along the sample line. Check in the documentation, I am not using Fluent anymore.
|
|
July 18, 2011, 08:56 |
|
#22 | |
Member
|
Quote:
Thanks for your response. What do you mean for "Probe' option in one of the menus? Can you describe more detailed your ideas in FLUENT S/W? Best regard |
||
May 28, 2012, 17:32 |
|
#23 |
New Member
ali toorani
Join Date: May 2012
Posts: 1
Rep Power: 0 |
||
October 22, 2012, 14:35 |
|
#24 |
Member
pedro gonzalez
Join Date: Aug 2010
Location: Barcelona, Venezuela
Posts: 35
Rep Power: 16 |
Any help would be appreciated:
I am using FLUENT to model a regular wave tank with linear theory and dynamic mesh in 2D. I am using a VOF multiphase model (water and air), with transitory regime. The length of the water tank is 200m, from th mobile wall, with 16 m depth. I want to measure the magnitude (amplitude) of the wave at at position x = 20 m from the mobile wall, through of the time, in the free surface (depth= 0m), . How to measure the magnitude (amplitude) in that distance?. |
|
October 22, 2012, 15:18 |
|
#25 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
You have an option in Fluent to sample data using LINE or RAKE option with specified sampling point density along the chosen sampling path.
Unfortunately, to my knowledge, Fluent doesn't allow you to sample your data by default with such a detail as to track free-surface movement. If anyone thinks I'm mistaken, please correct me. The other option is your own UDF. Try to google. Maybe by some chance someone posted a similar solution. Regards and good luck. |
|
October 22, 2012, 15:19 |
|
#26 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
The other observation, Fluent is not the most efficient tool to use with VoF, i.e. computation time is much more significant than other available open-source software.
|
|
October 22, 2012, 15:31 |
Monitor
|
#27 |
Member
Pranab N Jha
Join Date: Nov 2009
Location: Houston, TX
Posts: 86
Rep Power: 17 |
Maybe you can use a monitor.
Create a line at the x-location that you need. Then set the monitor for a liquid phase volume fraction. You might be able to get the (approximate) highest point of the wave at a certain time on that line. This might do the trick. |
|
October 22, 2012, 15:33 |
|
#28 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
This is nothing different from what I wrote. Same tool/option.
|
|
October 22, 2012, 16:27 |
|
#29 |
Member
pedro gonzalez
Join Date: Aug 2010
Location: Barcelona, Venezuela
Posts: 35
Rep Power: 16 |
Thanks you. I will consider your suggestions. I have tried using a line, but not in the same way. With UDF it could get the magnitud of the wave, although in this moment, I dont have much knowledge how to create the file. Regards!!!
|
|
October 22, 2012, 16:29 |
|
#30 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
What do you mean by 'magnitude of the wave'?
Do you mean velocity? Wave height? You can extract all this data using line/rake option. |
|
October 22, 2012, 16:39 |
|
#31 |
Member
pedro gonzalez
Join Date: Aug 2010
Location: Barcelona, Venezuela
Posts: 35
Rep Power: 16 |
It is the height of the wave, the sinusoidal movement. I cant to extract the data but I will try
|
|
October 22, 2012, 16:49 |
|
#32 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
AFAIK, you set a rake/line to a Volume of Fluid. This way it will output the 0/1 volume of fluid with the line location on x-axis versus the height of the flow on y-axis. The tool unfortunately is not perfect and I am afraid you can only get visual representation. In order to dump actual data in form of numbers I'm afraid you will need to write your own UDFs. It is quite a bit of time I used Fluent, but I don't expect they added this kind of functionality.
(again, for UDF, Google might be your best friend here) BTW. If you have your own wave paddle routine (must be UDF), you know the function you are using. Assuming your wave generating function (UDF) is coded correctly and your mesh resolution is appropriate for the problem you are trying to solve, for the same boundary conditions along the path of wave travel, the results should be the same as input values. In short, wave generating function should equal generated wave characteristics at location along the travel path, i.e. smooth flow bedding, constant depth, the same BC, gravity, etc. |
|
October 22, 2012, 17:20 |
|
#33 |
Member
pedro gonzalez
Join Date: Aug 2010
Location: Barcelona, Venezuela
Posts: 35
Rep Power: 16 |
Ok. In the simulations, the sinusoidal movement only Its seen in X=0, from the mobile wall, but with X>0, the movement is zero, there is not height of the wave. I will try with both methods and I will view the results. Thanks you for your suggestions. Best Regards!!
|
|
October 22, 2012, 17:27 |
|
#34 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Note that when you read the data at x=0 you read it for the function you provided at BC. You cannot expect this output will give you full domain answer.
From what you said, I understand you did not apply/use line/rake, therefore you cannot read any data for your domian. For X>0 you must use line/rake tool. For the moving BC, i.e. moving wall, the function which drives the wall must be a displacement or velocity function (this is how UDF is defined). Whatever you are going to read AT the wall MUST be EXACTLY the same as the function you provide. Take also a note that if you define a rake/line close to the moving boundary i.e. in the first column of finite volume elements, i.e. along the height of moving boundary, you might not get exactly the same readings since the values are approximated. The smaller the cells and closer to the wall the more accurate answer you will get. |
|
October 22, 2012, 17:34 |
|
#35 |
Member
pedro gonzalez
Join Date: Aug 2010
Location: Barcelona, Venezuela
Posts: 35
Rep Power: 16 |
This is the UDF file of the mobile wall:
#include "udf.h" DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime) { vel[0]=(0.30823)*((1 - exp(-0.417*time))*1.0472*cos(1.0472*time) + ((0.417*exp(-0.417*time))*sin(1.0472*time))); } |
|
October 23, 2012, 10:05 |
|
#36 |
New Member
Join Date: Dec 2011
Posts: 6
Rep Power: 15 |
Hi Pedrin
My problem is to introduce a moving wall with sinusoidal motion in a channel, did I have to write your udf or just I define the velocity like vel[0]= 2 sin (0.5 t) for example. thank you. |
|
October 23, 2012, 16:45 |
|
#37 |
Member
pedro gonzalez
Join Date: Aug 2010
Location: Barcelona, Venezuela
Posts: 35
Rep Power: 16 |
The movement of mobile wall is made according to the characteristics of the wave (sinusoidal motion). The velocity condition to the piston (mobile wall) is a function of the time, period and frequency of the wave, according with the Wave Linear Theory.
|
|
October 24, 2012, 04:02 |
|
#38 |
New Member
Join Date: Dec 2011
Posts: 6
Rep Power: 15 |
thank you for your response.
|
|
October 24, 2012, 13:24 |
Hi, WSWGg, Can you help me to send your UDF profile, I am in trouble with waves now
|
#39 | |
New Member
guoji xu
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
Quote:
Thank you in advance! |
||
October 24, 2012, 13:34 |
Hi, Elahe, can you send me the UDF profile from WSWGg, I appreciate your help.
|
#40 |
New Member
guoji xu
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wave generation in fluent | Harry | FLUENT | 3 | August 26, 2013 01:32 |
Wave in Fluent. | Sham | FLUENT | 0 | December 21, 2004 00:43 |
how to generate a long annulus then run in FLUENT | zhu chen | Main CFD Forum | 0 | March 27, 2004 19:42 |
Generate solution (fluent) | Nic | FLUENT | 6 | February 27, 2002 12:00 |
fluent and shock wave | huong | FLUENT | 3 | March 19, 2001 11:44 |