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 Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By DeadLee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2020, 10:57
Default Beginner error: Entry 'freestreamValue' not found in dictionary
  #1
New Member
 
Join Date: Jul 2020
Posts: 25
Rep Power: 5
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 14:41.
DeadLee is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT -4. The time now is 15:08.