CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Difficulty in selecting the correct Boundary Conditions for an open water channel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2016, 15:09
Smile Difficulty in selecting the correct Boundary Conditions for an open water channel
  #1
New Member
 
Luis Felipe Rojas
Join Date: Aug 2015
Posts: 13
Rep Power: 10
luisfeliperojas95 is on a distinguished road
Good Afternoon , My name is Luis Rojas . I am trying to Configure my boundary Conditions on my mesh , the problem is... I have a openChannel Water open to the atmosphere and I am trying to configure my case just to see the flow and the validation of the Mesh. That's Ok ...

Here I attached the p. File of the 0 conditions
/*--------------------------------*- 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 volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{

entrada
{
type zeroGradient;
}

salida
{
type zeroGradient;
}

muros
{
type zeroGradient;
}

superficielibre
{
type empty;
}
}

// ************************************************** *********************** //
HERE IS THE U. file

/*--------------------------------*- 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 U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
entrada
{
type fixedValue;
value uniform (37.16 0 0);
}


salida
{
type inletOutlet;
value internalField;
inletValue uniform (0 0 0);
}

muros
{
type zeroGradient;
value uniform (0 0 0);
}

superficielibre
{
type empty;
}
}

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

entrada - is inlet , Salida is outlet , Superficie Libre is the top of the channel and muros are the walls of the channel... I just need to configure the boundary conditions to the atmospheric Preassure in the freesurface but i dont know what to change on this.. That's is a empty face... Either the inlet and outlet are patches... I need help to configure the Boundary for the outlet... giving the initial conditions to OpenFoam and this obtain the results of all the channel.
Thanks A lot.
luisfeliperojas95 is offline   Reply With Quote

Reply

Tags
atmosphere, boundary conditions, freesurface, openfoam


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
Open Channel Flow Boundary Conditions TWaung STAR-CCM+ 2 October 7, 2011 00:37
boundary conditions in open rectangular channel surya FLUENT 0 March 5, 2007 00:06


All times are GMT -4. The time now is 01:36.