View Issue Details

IDProjectCategoryView StatusLast Update
0000607OpenFOAMBugpublic2012-08-01 09:19
Reporterwyldckat Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000607: Unable to use the time varying "polynomial" option
DescriptionUsing the example from http://www.openfoam.org/version2.1.0/boundary-conditions.php and adapting it in the tutorial "tutorials/incompressible/pimpleFoam/TJunction", the following error message appears:

--> FOAM FATAL ERROR:
Unknown DataEntry type polynomial for DataEntry pressure

Valid DataEntry types are:

5
(
CompatibilityConstant
constant
csvFile
table
tableFile
)
Steps To Reproduce--- ../OpenFOAM-2.1.x/tutorials/incompressible/pimpleFoam/TJunction/0/p 2012-01-21 15:25:08.407023475 +0000
+++ 0/p 2012-07-31 22:26:41.329345352 +0100
@@ -23,11 +23,12 @@
     inlet
     {
         type uniformTotalPressure;
- pressure table
- (
- (0 10)
- (1 40)
- );
+ pressure polynomial // y = 0.1 + 1.3x^2 + 2.7x^3
+(
+ (0.1 0)
+ (1.3 2.0)
+ (2.7 3.0)
+);
         p0 40; // only used for restarts
         U U;
         phi phi;
Additional InformationMaybe this is limited to only a couple of BCs, but the feature page [1] implies that it's valid for all of the listed ones.

[1] http://www.openfoam.org/version2.1.0/boundary-conditions.php
TagsNo tags attached.

Activities

user2

2012-08-01 09:19

  ~0001520

Thanks for the report - the polynomial option should now be available - see commit 238fc24

Issue History

Date Modified Username Field Change
2012-07-31 22:36 wyldckat New Issue
2012-08-01 09:19 user2 Note Added: 0001520
2012-08-01 09:19 user2 Status new => resolved
2012-08-01 09:19 user2 Fixed in Version => 2.1.x
2012-08-01 09:19 user2 Resolution open => fixed
2012-08-01 09:19 user2 Assigned To => user2