September 8, 2016, 12:12
|
sampleDict not working (undefined keyword origin)
|
#1
|
New Member
Max Vorstadt
Join Date: May 2016
Posts: 24
Rep Power: 6
|
Hi!
This is my sampleDict:
Code:
interpolationScheme cellPoint;
setFormat raw;
fields ( UMean );
sets
(
sample_U
{
type array;
axis xyz;
coordinateSystem
{
e1 (1 0 0);
e2 (0 1 0);
origin ( -0.6 0 0 );
}
pointsDensity (100 100 0);
spanBox (0.6 0 0);
}
);
I try to run it by:
Code:
sampleDict -dict system/sampleDict -latestTime
But it gives me the following error:
Code:
--> FOAM FATAL IO ERROR:
keyword origin is undefined in dictionary "case/system/sampleDict.sets"
file: case/system/sampleDict.sets from line 30 to line 39.
From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 439.
FOAM exiting
I've tried: - Adding origin out of the function as well
- Changing xyz to y, to x, to xy, ...
But the error is still the same, and ORIGIN is there! Does anyone know why it does not work?
Thanks!
|
|
|