|
[Sponsors] |
sampleDict not working (undefined keyword origin) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 8, 2016, 11:12 |
sampleDict not working (undefined keyword origin)
|
#1 |
New Member
Max Vorstadt
Join Date: May 2016
Posts: 28
Rep Power: 10 |
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); } ); Code:
sampleDict -dict system/sampleDict -latestTime 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
But the error is still the same, and ORIGIN is there! Does anyone know why it does not work? Thanks! |
|
May 25, 2022, 08:44 |
array sampling problems!
|
#2 |
New Member
David Pavilons
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
I was able to make it work!
sets ( array_V { // Sample 'pointsDensity' points in a box with origin at 'origin' // plus the vector 'spanBox' type array; axis xyz; coordinateSystem { e1 (1 0 0); e2 (0 1 0); origin ( 0 0 0 ); } origin (639 0 4); coordinateRotation { type none; } pointsDensity (10 1 40); spanBox (2 -1 8); } ); but i get strange coordinates for my spanbox. I specified my spanbox having a length of 2 meters but i get data points way beyond 641 in x direction. Does somebody know what is going wrong? i'm using openfoamV1812 639.182 -0.5 4.19512 7.94671e-06 639.727 -0.5 4.19512 2.29941e-06 640.636 -0.5 4.19512 1.27209e-06 643.545 -0.5 4.19512 9.44759e-14 645.545 -0.5 4.19512 2.44529e-11 647.909 -0.5 4.19512 2.52633e-10 650.636 -0.5 4.19512 5.80289e-06 |
|
Tags |
origin, post-processing, raw, sample, sampledict |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
[OpenFOAM.org] OpenFOAM 2.3.0 on CentOS 6.5 | entropies | OpenFOAM Installation | 33 | January 4, 2017 05:01 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
OpenFOAM-2.1.x on fedora 16 x86_64 | anand_30 | OpenFOAM Installation | 3 | December 26, 2011 02:09 |
OpenFoam-1.7.x on Suse 11.2 (64bit) does not compile | val46 | OpenFOAM Installation | 4 | August 27, 2010 03:43 |