CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   decomposePartdict in OpenFOAM 2.0 (http://www.cfd-online.com/Forums/openfoam-pre-processing/94565-decomposepartdict-openfoam-2-0-a.html)

TKE November 19, 2011 08:28

decomposePartdict in OpenFOAM 2.0
 
Hi,

I have the following message:
--> FOAM FATAL IO ERROR:
Expected a ')' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 24 the label 2

file: /home/xy/OpenFOAM/xy-2.0.x/run/26LES_2D_Gauss_linearUpwind_leastSquares__GAMG_GAM G/system/decomposeParDict::simpleCoeffs::n at line 24.

From function Istream::readEnd(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 111.

FOAM exiting

I do not understand, what is the problem. I used the same file for dividing into 4 domains, without any problem. Maybe it's trivial, but I do not see the syntax error. Any idea?
Thanks in advance!

Regards,
TKE



/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 8;

method simple;

simpleCoeffs
{
n ( 2 2 2 2 2 2 2 1 );
delta 0.001;
}

hierarchicalCoeffs
{
n ( 1 1 1 );
delta 0.001;
order xyz;
}

manualCoeffs
{
dataFile "";
}

distributed no;

roots ( );


// ************************************************** *********************** //

wyldckat November 19, 2011 10:16

Greetings TKE,

Soooo you want to solve the case in 8 dimensions!? ;)
You're meant to specify the number of divisions over each dimension, not the number of divisions per parallel process :)

And please use the Code tag for pasting code (the button with "#" on it in advanced edit mode).
Quote:

Originally Posted by TKE (Post 332767)
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.0.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    location    "system";
    object      decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 8;

method          simple;

simpleCoeffs
{
    n              ( 2 2 2 );
    delta          0.001;
}

hierarchicalCoeffs
{
    n              ( 1 1 1 );
    delta          0.001;
    order          xyz;
}

manualCoeffs
{
    dataFile        "";
}

distributed    no;

roots          ( );


// ************************************************************************* //


Best regards,
Bruno

TKE November 20, 2011 08:35

Thanks
 
Thanks for your answer! :)

Maybe the state of physics today is not ready yet for my 8-dimensional calculations...;)

Regards,
TKE


All times are GMT -4. The time now is 00:52.