Fridrik |
October 26, 2017 07:39 |
Parallel inlet condition from files
Hallo everyone
I have specified an velocity inlet from a table file with:
Code:
inlet_outer_n
{
type cylindricalInletVelocity;
centre (x y z);
axis (x y z);
axialVelocity constant 0;
radialVelocity tableFile;
radialVelocityCoeffs
{
file "$FOAM_CASE/VelocityInlet_outer_2.txt";
}
rpm constant 0;
value nonuniform 0();
}
When i do decomposePar the processor folders appear.
an when i execute
Code:
mpirun -np 16 rhoPimpleFoam -parallel > log
i get the following error
Code:
--> FOAM FATAL IO ERROR:
[10] keyword origin is undefined in dictionary "/work1/s127834/25_basecell_tothinlinc/processor10/0/U.boundaryField.inlet_outer_1"
[10]
[10] file: /work1/s127834/25_basecell_tothinlinc/processor10/0/U.boundaryField.inlet_outer_1 from line 27 to line 37.
[10]
[10] From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
[10] in file db/dictionary/dictionary.C at line 566.[13]
i think it is because the $FOAM_CASE becomes the processor0 folder, but how should i refer to the file when they are in the original case folder
|