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.
|
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 |
|
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?. |
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. |
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.
|
Monitor
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.:) |
This is nothing different from what I wrote. Same tool/option.
|
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!!!
|
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. |
It is the height of the wave, the sinusoidal movement. I cant to extract the data but I will try
|
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. |
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!!
|
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. |
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))); } |
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. |
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.
|
thank you for your response.
|
Hi, WSWGg, Can you help me to send your UDF profile, I am in trouble with waves now
Quote:
Thank you in advance! |
Hi, Elahe, can you send me the UDF profile from WSWGg, I appreciate your help.
Quote:
Thank you in advance! |
All times are GMT -4. The time now is 08:38. |