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

DamBreak tutorial in 3D

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By guin
  • 1 Post By guin
  • 1 Post By guin
  • 1 Post By Kahnbein.Kai
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2020, 02:16
Default DamBreak tutorial in 3D
  #1
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
Hello,

i modified the DamBreak 2D tutorial, an add the third generation. The position of the alpha.phase 1 column i changed also. Here is a picture with three views at the timestep 0.

https://www.imagebanana.com/s/1919/lHbZccfd.html
And here at the timestep 399 (4 sec)
https://www.imagebanana.com/s/1919/Qb68DaA8.html


Why is the "water" collected at the edge of the x axis ? I dont changed the g file the value of the gravity is still 0 -9.81 0.


Usually the water should distribute at the x axis and y axis face ?


Best regards
Kai
Kahnbein.Kai is offline   Reply With Quote

Old   November 1, 2020, 11:12
Default
  #2
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
Hello, nobody post a reply . So i think i have to load up the 0-, Constant- and the Systemfolder. Here is the link: https://we.tl/t-5LygYUke0n Is there anything wrong in my setup ? Best regards Kai
Kahnbein.Kai is offline   Reply With Quote

Old   November 1, 2020, 14:16
Default
  #3
Member
 
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16
guin is on a distinguished road
I didn't download your setup, but I'd suggest you to check whether your case is still using empty boundary conditions for the front and back patches.
Kahnbein.Kai likes this.
guin is offline   Reply With Quote

Old   November 2, 2020, 12:52
Default
  #4
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
Hey guin,
thank you for your reply.


Yes, both of them are empty. In Paraview they are called defaultFaces.
I will try to set a wall boundary aswell and run the case again.


Best regards

Kai


by the way: i have an offtopic question. How you find the right vertices, faces and so on for the blockMeshDict File. I can open the geometry in Paraview, but i dont find a way to display the vertices or face numbers.
Kahnbein.Kai is offline   Reply With Quote

Old   November 2, 2020, 12:55
Default
  #5
Member
 
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16
guin is on a distinguished road
Quote:
Originally Posted by Kahnbein.Kai View Post
by the way: i have an offtopic question. How you find the right vertices, faces and so on for the blockMeshDict File. I can open the geometry in Paraview, but i dont find a way to display the vertices or face numbers.
try
Code:
paraFoam -block
Kahnbein.Kai likes this.
guin is offline   Reply With Quote

Old   November 2, 2020, 13:10
Default
  #6
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
I got this message:

Code:
kai@Kai-Desktop:~/OpenFOAM/kai-7/run/tutorials_of/multiphase/interFoam/laminar/damBreak/damBreak$ paraFoam -block FATAL ERROR: The official reader module for OpenFOAM data does not exist on your system.  This means that the version of ParaView you are using was not compiled with OpenFOAM, or distributed with a packaged version of OpenFOAM.  For information on packaged versions of OpenFOAM/ParaView and compilation of OpenFOAM/ParaView, see https://openfoam.org/download  Alternatively, you might be able to view your OpenFOAM data with the reader module provided with ParaView by running:     paraFoam -builtin
Is there any way to do it with paraview 5.8.1 ? Best regards Kai
Kahnbein.Kai is offline   Reply With Quote

Old   November 3, 2020, 06:36
Default
  #7
Member
 
Rodrigo
Join Date: Mar 2010
Posts: 98
Rep Power: 16
guin is on a distinguished road
Quote:
Originally Posted by Kahnbein.Kai View Post
I got this message:

Code:
kai@Kai-Desktop:~/OpenFOAM/kai-7/run/tutorials_of/multiphase/interFoam/laminar/damBreak/damBreak$ paraFoam -block FATAL ERROR: The official reader module for OpenFOAM data does not exist on your system.  This means that the version of ParaView you are using was not compiled with OpenFOAM, or distributed with a packaged version of OpenFOAM.  For information on packaged versions of OpenFOAM/ParaView and compilation of OpenFOAM/ParaView, see https://openfoam.org/download  Alternatively, you might be able to view your OpenFOAM data with the reader module provided with ParaView by running:     paraFoam -builtin
Is there any way to do it with paraview 5.8.1 ? Best regards Kai
You can either go again over the installation of the ParaView version that comes along with OpenFOAM (*) or take a look here for other alternatives:
https://openfoamwiki.net/index.php/B..._blockMeshDict


(*) It seems to me, you are working with OpenFOAM-7, so look for your relevant scenario:
https://openfoam.org/download/7-source/
https://openfoam.org/download/7-macos/
https://openfoam.org/download/7-linux/
https://openfoam.org/download/7-ubuntu/
Kahnbein.Kai likes this.
guin is offline   Reply With Quote

Old   November 3, 2020, 10:58
Default
  #8
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
Hey guin,

thank you, for your detailed answer. I tried to reinstall openfoam 7 with the code
Code:
sudo apt-get -y install openfoam7
but it dosent install paraview 5.6.0 again ;(


At the begin of the page for ubuntu you mentioned is the name of the paraview pack written down. So i tried
Code:
sudo apt-get -y isntall paraviewopenfoam56
And it works, perfektly



Thank you very much for your help !


https://s1.imagebanana.com/file/201103/p3qpWEvC.png


Best regards
Kai


ps: so i will look at the emtpy patches

guin likes this.
Kahnbein.Kai is offline   Reply With Quote

Old   November 14, 2020, 03:11
Default
  #9
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
Hey guin, yes you are right, i changed the patches (front- and backwall) from "empty" to "wall". In the new run the water distributes "right" on the floor. But why does have the patches so much influence to the alpha1 phase ? What is different in these two simulations ? Best regards Kai
Kahnbein.Kai is offline   Reply With Quote

Old   November 15, 2020, 13:49
Default
  #10
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,198
Rep Power: 27
Yann will become famous soon enough
Hi Kai,

The empty type is meant to be used on 2D cases.
Have a look at the documentation : https://cfd.direct/openfoam/user-guide/v7-boundaries/

Quote:
empty: for solutions in in 2 (or 1) dimensions (2D/1D), the type used on each patch whose plane is normal to the 3rd (and 2nd) dimension for which no solution is required.

Regards,
Yann
Kahnbein.Kai likes this.
Yann 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
OF1912 overInterDyMFoam mass conservation in tutorial and actual case Swift OpenFOAM Running, Solving & CFD 6 August 6, 2020 05:04
[snappyHexMesh] The snappyMultiRegionHeater tutorial does not snap correctly wildfire230 OpenFOAM Meshing & Mesh Conversion 2 May 10, 2019 07:19
fluxRequired OpenFoam Versions SimpleFoam Taylor Couette flow tutorial mörli OpenFOAM Running, Solving & CFD 0 April 9, 2019 12:50
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 04:25
FoamX cannot run tutorial damBreak ahorvat OpenFOAM Bugs 5 July 8, 2008 19:24


All times are GMT -4. The time now is 06:41.