|
[Sponsors] |
hydrostatic pressure BC in solidDisplacementFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 19, 2015, 13:33 |
hydrostatic pressure BC in solidDisplacementFoam
|
#1 |
New Member
David Jessop
Join Date: Jul 2013
Posts: 5
Rep Power: 13 |
Hi,
I'm running an initial test case using the solidDisplacementFoam solver. The problem is a rectangular plate, clamped on three sides and free on the fourth and subject to a hydrostatic pressure on one side. My question is how do I write the boundary conditions for this kind of non-uniform distribution? My sample 0/D file is included below. Thanks for all your suggestions and help. Dai Code:
/*--------------------------------* - C++ - *----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object D; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 0 0 0 0 0]; internalField uniform (0 0 0); boundaryField { left { type tractionDisplacement; traction uniform ( 0 0 0 ); pressure uniform 0; value uniform (0 0 0); } right { type tractionDisplacement; traction uniform ( 0 0 0 ); pressure uniform 0; value uniform (0 0 0); } down { type tractionDisplacement; traction uniform ( 0 0 0 ); pressure uniform 0; value uniform (0 0 0); } up { type empty; } front { type tractionDisplacement; traction ( 0 0 0 ); pressure uniform 1e5; value uniform 0; } back { type tractionDisplacement; traction uniform ( 0 0 0 ); pressure uniform 0; value uniform (0 0 0); } } // ************************************************************************* // |
|
January 20, 2015, 05:12 |
|
#2 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Hi David,
The code you have presented above is the boundary condition for displacement Field (D). You have to make a new file for pressure field (p) or buoyantPressure field(p_rhogh) within the 0 directory and write a boundary condition on the wall something like this: Code:
{ .... class volScalarField; object p_rhogh; } dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { ... Walls { type buoyantPressure; value uniform 0; } ... } http://www.cfd-online.com/Forums/ope...sure-cube.html Since, solidDisplacementFoam won't be using pressure field and so i guess significant workouts and solver modifications have to be accomplished for this solver. Some concepts related to "fan boundary condition" are given in the following thread to describe the pressure jump: http://www.cfd-online.com/Forums/ope...interfoam.html Yours Anil Kunwar Last edited by Annier; January 20, 2015 at 09:05. |
|
January 20, 2015, 05:35 |
|
#3 | |
Member
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12 |
Quote:
I found document related to your work http://www.tfd.chalmers.se/~hani/kur...s_reviewed.pdf Cheers Chalmers! |
||
January 20, 2015, 11:29 |
|
#4 |
New Member
David Jessop
Join Date: Jul 2013
Posts: 5
Rep Power: 13 |
Hi,
Thank you both for your prompt replies. @Anil: is adding a pressure field consistent with solidDisplacementFoam? Looking at the .C definition file, only the displacement field, D, is resolved. My question was motivated by how a hydrostatic-like pressure could be applied to one of the front/back walls. Obviously, this is equivalent to a stress normal to the wall that increases linearly with depth and there are both pressure and traction fields in the 0/D file so surely there's some way of including this in the initial/boundary conditions? |
|
January 22, 2015, 10:51 |
|
#5 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Hi David,
-You are correct in mentioning that the plate analysis is related to displacement field variable with Pressure at BC only. So, pressure field cannot be defined for this domain. -So, I guess that you have to define the value of pressure gradient in the boundary which increases along the depth of the required boundary wall. Yours Anil Kunwar |
|
January 22, 2015, 13:01 |
|
#6 |
New Member
David Jessop
Join Date: Jul 2013
Posts: 5
Rep Power: 13 |
@Anil: Indeed, but how...?
|
|
January 23, 2015, 04:15 |
|
#7 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Hi David,
-please refer to page 8 of this tutorial prepared by Tian Tang: http://www.tfd.chalmers.se/~hani/kur...erReviewed.pdf http://www.tfd.chalmers.se/~hani/kur...s_TianTang.pdf - The initial description of the hydrostatic bc at the solid domain would be setting the following: a) In 0/D file Code:
boundaryField { Wall { type tractionDisplacement; traction uniform ( 0 0 0 ); pressure ...; value uniform (0 0 0); } b) Thus,it might be necessary to use derived boundary type for the corresponding boundary than the base (patch) type. i.e., in constant/polyMesh/boundary file Code:
{ ... object boundary; } ... ( Wall { type fixedGradient; ... } ... ) -For more details, please refer OpenFOAM User Guide, Chapter 5 (Mesh Generation and Conversion) and see therein the Boundaries. Yours Anil Kunwar Last edited by Annier; January 23, 2015 at 10:03. |
|
January 23, 2015, 06:35 |
|
#8 |
Member
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12 |
Hi ALL, check out the link (copyright chalmer university)
http://www.cfd-online.com/Forums/ope...-chalmers.html |
|
Tags |
boundary condition, hydrostatic pressure, openfoam, plate bending, simpledisplacementfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hydrostatic Pressure in Vertical Monophasic Pipe | wagnerqb | FLUENT | 7 | January 30, 2013 20:32 |
Hydrostatic Pressure in a cube | andreas | OpenFOAM | 2 | November 26, 2012 04:42 |
vof + hydrostatic pressure | ariorus | FLUENT | 0 | August 7, 2009 11:57 |
Does star cd takes reference pressure? | monica | Siemens | 1 | April 19, 2007 12:26 |
hydrostatic pressure in bouyant flow | Atit | CFX | 3 | May 31, 2006 08:38 |