|
[Sponsors] |
December 11, 2008, 12:51 |
Sorry for a stupid question, b
|
#1 |
Member
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17 |
Sorry for a stupid question, but could someone point out whats wrong in my syntax when I try to set a nonuniform inlet velocity manually?
This is the boundary: ===================== /0/U: ===================== inlet { type fixedValue; value nonuniform List<vector> 10 ( (0 0 0) (0 0 0) // This is the line 41 (0 0 0) (0 0 0) (0 1 0) (0 1 0) (0 0 0) (0 0 0) (0 0 0) (0 0 0) ) ; } =================== And this is the error message I get when I start a solver: =================== Expected a ')' while reading binaryBlock, found on line 41 an error file: /home/peltol20/OpenFOAM/peltol20-1.5/run/bed4/0/Ub at line 41. From function Istream::readEnd(const char*) in file db/IOstreams/IOstreams/Istream.C at line 111. ================== I've copied the syntax from boundaries written by OpenFOAM and looked at samples on the forum, but I can't see what could be wrong. I'm using the 1.5 version. |
|
December 11, 2008, 17:13 |
Ahem... Sorry about that. I ju
|
#2 |
Member
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17 |
Ahem... Sorry about that. I just noticed there's a
FoamFile { ... format binary; ... } on the top of the U-file. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with nonuniform boundary conditions | qtian | OpenFOAM Pre-Processing | 4 | January 12, 2018 16:03 |
Specifying nonuniform boundary condition | maka | OpenFOAM Running, Solving & CFD | 59 | October 22, 2014 15:52 |
Set nonuniform boundary values | nikwin | OpenFOAM Running, Solving & CFD | 1 | November 30, 2008 08:12 |
FixedValue nonuniform BC | dmoroian | OpenFOAM Running, Solving & CFD | 1 | November 3, 2006 05:26 |
Nonuniform gradient boundary condition | ankgupta8um | OpenFOAM Running, Solving & CFD | 1 | March 14, 2006 02:34 |