CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Benchmark

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2017, 13:49
Default Benchmark
  #1
New Member
 
Livia Adinolfi
Join Date: May 2017
Posts: 15
Rep Power: 9
liviaadi is on a distinguished road
Dear all,

I am simulating in OpenFoam an open channel flow in laminar condition with the solver interFoam.
The purpose is to explore and try to understand the physical meaning of the boundary conditions. I am considering a large time step for the analysis in order to reach te steady state and I am running in laminar condition.
I have played a little bit with it and now I would like to verify my numerical results.
I was wondering if somebody has already made something like this and how was validated.

I used the same approach for a flow in a pipe (Poiseuille flow), but in that case was simpler because it was not a multiphase problem and the analytical solution was very easy to find.

I hope that someone can help, I am using these it for the first time.

Thanks !
liviaadi is offline   Reply With Quote

Old   August 31, 2017, 13:57
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
You are simulating in practice two laminar boundary layers evolving spatially on the upper and lower walls until they merge in a fully developed laminar profile (Poiseuille). Therefore, you can use the BL exact solution to check your numerical results. Of course, avoid to check the solution in the singularity point x=0.
FMDenaro is offline   Reply With Quote

Old   September 1, 2017, 06:42
Default
  #3
New Member
 
Livia Adinolfi
Join Date: May 2017
Posts: 15
Rep Power: 9
liviaadi is on a distinguished road
Hi FMDenaro,

thanks a lot for your answer.
Probably my post was not clear.
I simulated and validated analytically the case of the laminar flow between two walls (Poiseuille flow). I found this in many tutorials so I did not have problems and it was a good training.

Now I am treating a multiphase problem, water/air. So it is an open channel.
I have set the bottom as a wall, the left side as inlet, the right side as outlet and the top as atmosphere.

I need to compare the free surface elevation provided by OF and the one calculated theoretically. The problem is that in open flow problems, the uniform conditions that I want to simulate is solved using the "empirical" Chezy equations, which is for turbulent flow and not for laminar. In addition the most used form is the Manning equation, which requires the definition of the Manning coefficient and I do not know hoe to introduce this in the turbulence model.

Sorry for the long post and thanks for the help.
liviaadi is offline   Reply With Quote

Old   September 5, 2017, 09:16
Default
  #4
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
To verify your fluid flow you can compare the vel. profile from paraview with the theoretical profile of a laminar flow (Stigler, 2014). The theoretical law is for a tube flow (Link) but you can use e.g. Matlab to ensure it is representing your plate flow. Here is what i did for my simulation:

Code:
y = -0.5:0.01:0; %distance from the wall. note that my array goes from -0.5 to 0
R = 0.5; %height of my channel
v=max(U0)*(1-(y/R).^2); %theoretical law. see paper and link

% shift data to reseble the plate bounded flow
yabs = abs(y)
yadd = y+0.5;

% make axial value dimensionless
v=v/max(U0);
U=U0/max(U0);
Points2=Points2/0.5;
Stigler ANALYTICAL VELOCITY PROFILE IN TUBE FOR LAMINAR AND TURBULENT FLOW Engineering MECHANICS, Vol. 21, 2014, No. 6, p. 371–379
Attached Images
File Type: jpg LaminarProfile_Validation.jpg (53.9 KB, 8 views)
RobertHB is offline   Reply With Quote

Old   September 5, 2017, 10:35
Default
  #5
New Member
 
Livia Adinolfi
Join Date: May 2017
Posts: 15
Rep Power: 9
liviaadi is on a distinguished road
Dear Robert,
many thanks for your explanations. But is this valid for an open channel as well, or just for the circular pipe ?
I have to compare the results from interFoam solver, which uses the VOF method with a LAMINAR OPEN FLOW. It is a different situation because I have the interface water/air. I think that the comparison is the free surface height in this case.

Thank you anyway!
liviaadi 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
How to test openfoam benchmark ? jbmvictory OpenFOAM 5 August 11, 2017 00:45
Benchmark Commannd Line eRzBeNgEl STAR-CCM+ 2 February 17, 2013 16:27
Euler3d Benchmark Verdi Hardware 2 May 26, 2011 07:21
SIG HPC Benchmark jens_klostermann OpenFOAM 0 October 1, 2009 19:20
Benchmark example for 3D radiation modeling! Klaus-Peter Helbig Main CFD Forum 3 October 25, 1999 03:40


All times are GMT -4. The time now is 23:56.