CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Tracking Volume Surface dam break problem (https://www.cfd-online.com/Forums/paraview/61098-tracking-volume-surface-dam-break-problem.html)

sega April 20, 2008 09:49

Tracking Volume Surface dam break problem
 
Hello.

I'm currently working on the basic dam-break-problem. To compare my results with the experiment (Martin & Moyce, 1951) I need to "track" the flood front traveling along the bottom of the case geometry.

Unfortunately the user guide does not give an overview about how to plot data over time.
Actually the user guide is rather "thin" about post-processing at all.

I think the flood-front is simply the volume surface given by gamma=0.5 (or some value between 0 and 1).
All I have to do is to compute the position of gamma=0.5 at the bottom of the case-geometry and plot it over time.

Does anybody have an idea how this could be done?

Thanks.

pbohorquez April 20, 2008 13:33

Get the value of gamma in the
 
Get the value of gamma in the cells at the bottom bed by using the sampleDict utility:

http://www.opencfd.co.uk/openfoam/do...#x39-2100007.5

Thus the "samples" directory is generated, where you will find (at every instant of time) the value of gamma along the bottom bed.

You can then load the data with the software you best and find out the cells where the transition gamma=1 to gamma=0 occurs.

Best wishes, Patricio

sega April 30, 2008 11:12

I have done this. It works pr
 
I have done this.
It works pretty well.

But I have figured out an easier way.

I created a contour-filter for the gamma-field using an intermediate value of gamma=0.5

In the Information-Tabular you can read the values of gamma=0.5 in the bounds-box.

Therefore you don't have to do sampling and have to look up in the sample files!

sega October 20, 2008 06:34

I did a quick review of my dam
 
I did a quick review of my dam break case.

The last time I did the calculation I did it the way Patricio suggested.
Looking up the transition zones in the sample directories for each timestep.

Is there a way of doing this automatically for each timestep?

I can remember there has been a similar question in one of the forum, but I can't find it at the moment.

mechovator July 14, 2009 08:41

working in the same field
 
hi

I have just started working in the same field. I have to model a flow simulation across a dam. Can you send me electronic thesis or any related data please. My email id is

mechovator@yahoo.com


regards


All times are GMT -4. The time now is 10:03.