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

simpleFoam BC's not working for interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2017, 14:41
Default simpleFoam BC's not working for interFoam
  #1
Member
 
Ashok
Join Date: Feb 2017
Posts: 31
Rep Power: 9
ashokmoravaneni is on a distinguished road
Good evening everyone,

I have an Assignment to simulate a sliding pipe test. I would like to briefly explain what I am supposed to do.

I have a cylindrical Geometry of 0.126m dia and 0.5m height. Patches are top-atmosphere or can also be considered wall, bottom-wall, sides-movingwall with velocity of 0.667m/s.

This case was done in simpleFOAM and the Results are perfectly accepted by my Professor. Now I was asked to implement this in interFoam where Im facing problem.
I have inputted the same Boundary conditions as i inputted in simplefoam for interfoam too but getting following error.

continuity error cannot be removed by adjusting the outflow. Run potentialfoam to initialize the outflow.

Bc's are as below,

SimpleFOAM case:
P

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

internalField uniform 0;

boundaryField
{
wall
{
type zeroGradient;
}

bottom
{
type zeroGradient;
}
top
{
type zeroGradient;

//If outflow
// type fixedValue;
// value $internalField;


}
}

U:
dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
wall
{
type fixedValue;
value uniform (0 -0.6679 0);
}
bottom
{
type fixedValue;
value uniform (0 0 0);
}
top
{
type fixedValue;
value uniform (0 0 0);
}

}

InterFoam case:
P_rgh

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

internalField uniform 0;

boundaryField
{
movingWall
{
type zeroGradient;
// p0 uniform 0;
}

atmosphere
{
type zeroGradient;

}

bottomWall
{
type zeroGradient;
}


}

U:

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

internalField uniform (0 0 0);

boundaryField
{
movingWall
{
type fixedValue;
value uniform (0 -0.6679 0);
}

atmosphere
{
type fixedValue;
value uniform (0 0 0);
}

bottomWall
{
type fixedValue;
value uniform (0 0 0);
}

}


Could there be any other Reasons for such error.??
Will be looking forward for any kind of suggestions.Thank you
ashokmoravaneni is offline   Reply With Quote

Reply


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
How to setup cyclic BCs in simpleFOAM hhuang84 OpenFOAM Running, Solving & CFD 14 December 8, 2016 12:39
MPI error with simpleFoam blaise OpenFOAM Running, Solving & CFD 0 November 7, 2015 15:01
simpleFoam parallel solver & Fluent polyhedral mesh Zlatko OpenFOAM Running, Solving & CFD 3 September 26, 2014 07:53
Difference between HF and Temperature BCs Catthan FLUENT 0 August 7, 2013 06:59
Dealing with BC's in OF 1.6 vkrastev OpenFOAM Running, Solving & CFD 5 September 4, 2012 12:58


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