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

Error with freestream BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2016, 07:21
Default Error with freestream BC
  #1
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Hi,

i want to model an aerated tank with a degassing outlet. I read in the forum that this can be achieved by using the freestream BC, however if i specify in U.air the outlet patch as :

outlet
{
type freestream;
}

i get the error message "keyword freestreamValue is undefined in dictionary /xxx/0/U.air.boundaryField.outlet" when using twoPhaseEulerFoam solver.

What does this mean? I'm using OF 3.0.1.

Thanks a lot!
BlnPhoenix is offline   Reply With Quote

Old   April 19, 2016, 15:33
Default
  #2
Member
 
Join Date: Apr 2016
Posts: 39
Rep Power: 10
ss32 is on a distinguished road
Bumping this, I'm running into a similar error. It looks like there was a variable change from 2.X->3.0 but I'm not sure what the correction is

edit: Passing it both freestreamValue and value worked. This is my nut file but U is similar.

Code:
boundaryField
{
    airfoil
    {
        type            fixedValue;
        value            uniform 0.014;
    }
    frontback
    {
        type            empty;
    }
    inlet
    {
        type            freestream;
        freestreamValue    uniform 0.014;
        value           uniform 0.014;

    }
    outlet
    {
        type            freestream;
        freestreamValue    uniform 0.014;
        value    uniform 0.014;
    }
    topbottom
    {
        type            freestream;
        freestreamValue    uniform 0.014;
        value             uniform 0.014;
    }
}
ss32 is offline   Reply With Quote

Old   April 21, 2016, 10:11
Default
  #3
New Member
 
jp279
Join Date: Jul 2015
Posts: 9
Rep Power: 10
jp279 is on a distinguished road
Send a message via Skype™ to jp279
Hi ss32,

I am also trying degassing outlet. Can simply use Slip BC for the liquid and pressureInletOutletVelocity BC for the gas at the degassing patch?
jp279 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
multi-species plasma test case jentink SU2 6 August 5, 2016 02:04
SU2 cfg file and runtime problems hedley SU2 19 January 26, 2016 04:17
parallel code samiam1000 SU2 3 March 25, 2013 04:55
singularity? mihaipruna OpenFOAM Running, Solving & CFD 5 April 24, 2012 17:18
modeling freestream in an big Volume with gravity Raambi STAR-CCM+ 1 May 10, 2011 07:04


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