CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

decomposePartdict in OpenFOAM 2.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2011, 08:28
Default decomposePartdict in OpenFOAM 2.0
  #1
TKE
New Member
 
TKE's Avatar
 
Jozsef Rideg
Join Date: Feb 2011
Location: Budapest, Hungary
Posts: 21
Rep Power: 15
TKE is on a distinguished road
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 ( );


// ************************************************** *********************** //
TKE is offline   Reply With Quote

Old   November 19, 2011, 10:16
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 View Post
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 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 20, 2011, 08:35
Default Thanks
  #3
TKE
New Member
 
TKE's Avatar
 
Jozsef Rideg
Join Date: Feb 2011
Location: Budapest, Hungary
Posts: 21
Rep Power: 15
TKE is on a distinguished road
Thanks for your answer!

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

Regards,
TKE
TKE is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Updating OpenFOAm 1.6 to 2.0 fs82 OpenFOAM 1 May 3, 2012 10:19
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Building a custom solver on OpenFOAM 2.0 wschosta OpenFOAM Programming & Development 1 July 8, 2011 16:07
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56


All times are GMT -4. The time now is 17:36.