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

Beginner error: Entry 'freestreamValue' not found in dictionary

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By DeadLee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2020, 11:57
Default Beginner error: Entry 'freestreamValue' not found in dictionary
  #1
New Member
 
Join Date: Jul 2020
Posts: 25
Rep Power: 6
DeadLee is on a distinguished road
Hi,


SOLVED:


freesteamPressure conditions are now defined as such:

farfield
{
type freestreamPressure;
freestreamValue $internalField;

}



I'm trying to run the below 2D wind turbine case, it was made in 2014 so I'm updating it for OF 2006. I've corrected quite a few errors due to version changes but I'm stuck on something that I think is easy to fix.



Case

https://github.com/traviscarrigan/OpenFOAM-2D-VAWT/tree/master/0





The full error:

Code:
PIMPLE: Operating solver in PISO mode

Reading field p


--> FOAM FATAL IO ERROR: 
Entry 'freestreamValue' not found in dictionary "/home/lee/Documents/OpenFoam/01_tests/OpenFOAM-2D-VAWT-master/0/p.boundaryField.farfield"

file: /home/lee/Documents/OpenFoam/01_tests/OpenFOAM-2D-VAWT-master/0/p.boundaryField.farfield at line 31 to 32.

    From const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, Foam::keyType::option) const
    in file db/dictionary/dictionary.C at line 413.

FOAM exiting
Contents of my /0/p file

I tried to give a value to the farfield, uniform 1 ; but it didn't work either so I commented it (it's not how it's supposed to work, but I'm just trying stuff).


Thanks



Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    blades
    {
        type            zeroGradient;
    }
    farfield
    {
       
        type            freestreamPressure;
        //value           uniform 1;    
    }
    ext_interface
    {
        type            cyclicAMI;
        value           uniform 0;
    }
    int_interface
    {
        type            cyclicAMI;
        value           uniform 0;
    }
    sides
    {
        type            empty;
    }
}
pavlossemelides and HHK_1702 like this.

Last edited by DeadLee; July 21, 2020 at 15:41.
DeadLee 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
Two phase flow in porous medium Milaad OpenFOAM 7 July 1, 2024 06:08
[RapidCFD] Discussion thread on how to install and use RapidCFD newoscar OpenFOAM Community Contributions 88 May 17, 2024 10:39
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 07:55
[Other] Compiling hacFoam (Ubuntu 10.04)(OF2.0.0)(LAMMPS13Jul2010)) Henrik_E OpenFOAM Installation 3 September 29, 2016 17:16
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


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