CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   problems with flowRateInletVelocity (http://www.cfd-online.com/Forums/openfoam-pre-processing/119583-problems-flowrateinletvelocity.html)

Hale June 20, 2013 04:22

problems with flowRateInletVelocity
 
Hi,



I'm trying to define constant flow through the inlet of my model. Below is my boundary coditions for inlet and outlet.
  • inlet
    • U: type flowRateInletVelocity;
      volumetricFlowRate 0.012;
      value uniform (0 0 0);
    • p: type zeroGradient
  • outlet
    • U: type zeroGradient
    • p: type fixedValue;
      uniform 0;
But I get following error message when I run it

--> FOAM FATAL IO ERROR:
keyword flowRate is undefined in dictionary "/zhome/ee/1/36788/OpenFOAM/experiment_newGeo/0/U::boundaryField::waterFlow"
file: /zhome/ee/1/36788/OpenFOAM/experiment_newGeo/0/U::boundaryField::waterFlow from line 47 to line 49.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 400.
FOAM exiting


Anybody who knows how to solve this problem?

Thanks

billie June 20, 2013 09:42

Quote:

Originally Posted by Hale (Post 434984)
--> FOAM FATAL IO ERROR:
keyword flowRate is undefined in dictionary "/zhome/ee/1/36788/OpenFOAM/experiment_newGeo/0/U::boundaryField::waterFlow"
file: /zhome/ee/1/36788/OpenFOAM/experiment_newGeo/0/U::boundaryField::waterFlow from line 47 to line 49.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 400.
FOAM exiting

Please post your U file.

Hale June 20, 2013 09:47

Sorry, there was a typo in my U-file that now is fixed. I wrote volumetricFlowRate instead of flowRate. It could therefore not recognize the value for flowRate.

billie June 20, 2013 09:52

Quote:

Originally Posted by Hale (Post 435056)
Sorry, there was a typo in my U-file that now is fixed. I wrote volumetricFlowRate instead of flowRate. It could therefore not recognize the value for flowRate.

I expected something like this, thus I requested you to post your U file. Good to hear it is working now.


All times are GMT -4. The time now is 05:09.