CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Parallel inlet condition from files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2017, 07:39
Question Parallel inlet condition from files
  #1
Member
 
Fridrik Magnusson
Join Date: Aug 2017
Location: Denmark
Posts: 34
Rep Power: 8
Fridrik is on a distinguished road
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
Fridrik is offline   Reply With Quote

Old   October 27, 2017, 04:46
Default
  #2
Member
 
Fridrik Magnusson
Join Date: Aug 2017
Location: Denmark
Posts: 34
Rep Power: 8
Fridrik is on a distinguished road
After alot of debugging i found the error.

The error was two different builds of OpenFOAM, where the v1706 uses "center" and the openFOAM dev uses "origin".
Fridrik is offline   Reply With Quote

Reply

Tags
parallel calculation, table inlet


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to define in inlet boundary condition a time-varying and non-uniform condition ahmyaser OpenFOAM 9 June 5, 2017 15:18
Velocity, Pressure or Mass flow inlet condition brwmkprules Main CFD Forum 3 January 6, 2017 11:06
inlet boundary condition for open channel flow yaseen wsu CFX 3 April 7, 2016 18:30
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 18:41.