|
[Sponsors] |
February 9, 2013, 15:10 |
damBreak case 2D->3D using Gmsh
|
#1 | ||
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Hi all,
I have build up a box with the leftwall, rightwall, lowerwall, frontwall, and backwall using Gmsh, Then in the damBreak folder, I modify the alpha1.org file by adding frontwall and backwall and change the type of defaultFaces from "empty" to "patch" as follows. Also, I did this to 0/p_rgh , 0/U and system/polymesh/boundary files as well. Quote:
But the error comes when I execute setFields , the errors are: Quote:
Thanks James |
|||
February 10, 2013, 06:22 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings James,
Although you added the new patches in the necessary files, you forgot to remove the patch "defaultFaces"! Best regards, Bruno
__________________
|
|
February 10, 2013, 15:31 |
|
#3 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
Thanks for the reply. I follow your suggestion and the program works! But one very interesting phenomena is that the fluid(water) ultimate leaks out from one of the wall. I want to keep the water in the tank rather than letting it go? Do you have some suggestion for that? Best regards, James |
||
February 10, 2013, 21:06 |
|
#4 |
Senior Member
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16 |
Hi Guifan,
are the side faces of the tank wall? In that case try with static contact angle boundary condition. See the capillary tutorial for the syntax of the boundary condition |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
[Gmsh] gmsh and boundary layers | kanuk | OpenFOAM Meshing & Mesh Conversion | 11 | August 14, 2015 12:35 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Runing InterFoam for 3 D damBreak case Patch issue | nishant_hull | OpenFOAM Running, Solving & CFD | 5 | February 18, 2009 00:32 |
Turbulent Flat Plate Validation Case | Jonas Larsson | Main CFD Forum | 0 | April 2, 2004 10:25 |