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

hydrostatic pressure BC in solidDisplacementFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By ron_OFuser
  • 1 Post By dai_bach
  • 1 Post By dai_bach

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2015, 13:33
Default hydrostatic pressure BC in solidDisplacementFoam
  #1
New Member
 
David Jessop
Join Date: Jul 2013
Posts: 5
Rep Power: 13
dai_bach is on a distinguished road
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);
    }
}

// ************************************************************************* //
dai_bach is offline   Reply With Quote

Old   January 20, 2015, 05:12
Default
  #2
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12
Annier is an unknown quantity at this point
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;
    }
...

 }
You can study this thread related to hydrostatic pressure:
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.
Annier is offline   Reply With Quote

Old   January 20, 2015, 05:35
Default
  #3
Member
 
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12
ron_OFuser is on a distinguished road
Quote:
Originally Posted by dai_bach View Post
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);
    }
}

// ************************************************************************* //

I found document related to your work

http://www.tfd.chalmers.se/~hani/kur...s_reviewed.pdf

Cheers Chalmers!
dai_bach likes this.
ron_OFuser is offline   Reply With Quote

Old   January 20, 2015, 11:29
Default
  #4
New Member
 
David Jessop
Join Date: Jul 2013
Posts: 5
Rep Power: 13
dai_bach is on a distinguished road
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?
ron_OFuser likes this.
dai_bach is offline   Reply With Quote

Old   January 22, 2015, 10:51
Default
  #5
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12
Annier is an unknown quantity at this point
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
Annier is offline   Reply With Quote

Old   January 22, 2015, 13:01
Default
  #6
New Member
 
David Jessop
Join Date: Jul 2013
Posts: 5
Rep Power: 13
dai_bach is on a distinguished road
@Anil: Indeed, but how...?
Annier likes this.
dai_bach is offline   Reply With Quote

Old   January 23, 2015, 04:15
Default
  #7
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12
Annier is an unknown quantity at this point
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); 
      }
The value for traction Force would be zero and that for pressure should be non-zero. The value of pressure specified here represents its gradient if this boundary is defined as a derived type of type name "fixedGradient" in constant/polyMesh/boundary file.


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;
...
}
...
)
So, you have to specify the gradient of pressure in the ... (blank space) for above displacement boundary field (D) file. In this context, i am not sure how we specify the gradient as vertical or horizontal.

-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.
Annier is offline   Reply With Quote

Old   January 23, 2015, 06:35
Default
  #8
Member
 
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12
ron_OFuser is on a distinguished road
Hi ALL, check out the link (copyright chalmer university)

http://www.cfd-online.com/Forums/ope...-chalmers.html
ron_OFuser is offline   Reply With Quote

Reply

Tags
boundary condition, hydrostatic pressure, openfoam, plate bending, simpledisplacementfoam


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
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


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