|
[Sponsors] |
How to create a free surface application in Openfoam ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 12, 2011, 10:19 |
|
#21 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
In your test case, have you made the top surface a wall or a constant pressure outlet patch? Sounds like that is what you want. That will help keep the 'outlet' behaving physically.
|
|
September 12, 2011, 10:35 |
|
#22 |
Member
|
Hi Nima
I've changed the type of outlet pressure to buoyantPressure but the following error obtained: --> FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow. Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 1e-300 Specified mass inflow : 1.27e-05 Specified mass outflow : 0 Adjustable mass outflow : 0 From function adjustPhi(surfaceScalarField& phi, const volVectorField& U,const volScalarField& p in file cfdTools/general/adjustPhi/adjustPhi.C at line 115. FOAM exiting I try to implement groovybc and tell you the result. |
|
September 12, 2011, 13:47 |
Outlet Pressure
|
#23 | |
Member
|
Quote:
What do u mean exactly by constant pressure outlet patch. could u please check my file for this case? I don't know how to consider constant pressure above the surafce and hydrostatic pressure below the surface. |
||
September 13, 2011, 14:23 |
|
#24 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
Mohammad,
I took at your 0 BCs. You have a boundary in p_rgh called atmosphere which is not used. Anyway, your outlet patch is not set up correctly. You will want to use inletOutlet for alpha1, totalPressure for p_rgh and pressureInletOutletVelocity for U on your outlet patch. If you had not set up the inlet as you have done with a partial patch of alpha1, I think in order to get this to solve and not blow up you would have also had to make the upperWall an 'outlet' boundary with all the same BC types as your named outlet patch. Attached is a 0 directory with the changes that work for me. Here is an animation through 1s. Please take a close look through the BCs and make sure it is clear what I have changed so you can do it yourself in the future. Hope this helps! -Kent |
|
September 14, 2011, 14:28 |
new case
|
#25 |
Member
|
Hi Kwardle,
Thanks a lot for your attention. I did what you said and the results obtained was the same as yours. In order to model my case, I built a model and implement the required changes. It's result is a little strange. I reallly couldn't explain what happen. Here is my file: http://www.4shared.com/file/4k8mRux_/D13T.html Thanksgod, You really made me hopefull for learning openFoam better. |
|
September 14, 2011, 14:32 |
|
#26 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
Please post the file here directly. I cannot get the file from your link.
|
|
September 14, 2011, 14:46 |
flow on step new case
|
#27 |
Member
|
really thanks Kwardle, Mesh file is bigger than the uploading limit. what shoul I do? could u please give me your email.
|
|
September 14, 2011, 14:51 |
|
#28 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
Hi,
Is it generated from blockMesh? If so, just upload the blockMeshDict only without the mesh. -Kent |
|
September 21, 2011, 03:35 |
|
#29 |
New Member
Jindo
Join Date: Mar 2011
Location: Germany
Posts: 25
Rep Power: 15 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Surface Ship Flow | timfranke | OpenFOAM Running, Solving & CFD | 322 | March 3, 2021 09:04 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
free surface around a ship hull | Stephy | OpenFOAM Running, Solving & CFD | 12 | April 24, 2012 01:12 |
Porous media in free surface application | chiggins | OpenFOAM Running, Solving & CFD | 0 | July 3, 2008 11:25 |
Modeling Free Surface Flows | Elliot Schwartz | Main CFD Forum | 5 | August 25, 1998 21:03 |