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

topoSetDict

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

Like Tree1Likes
  • 1 Post By latvietis

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2012, 06:49
Default topoSetDict
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear All,

I am working with topoSet. I have a cellZone file (generated with the fluent3DMeshToFoam) and I have this topoSetDict file:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  dev                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}

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

actions
(
    {
        name    door_and_roof;
        type    cellZoneSet;
        action  new;
        source  zoneToCell;
        sourceInfo
        {
            set door;           // name of cellSet
        }
    }

    {
        name    door_and_roof;
        type    cellZoneSet;
        action  add;
        source  zoneToCell;
        sourceInfo
        {
            set roof;           // name of cellSet
        }
    }

    {
        name    internal_air;
        type    cellZoneSet;
        action  new;
        source  zoneToCell;
        sourceInfo
        {
            set internal_air;           // name of cellSet
        }
    }

    {
        name    external_air;
        type    cellZoneSet;
        action  new;
        source  zoneToCell;
        sourceInfo
        {
            set external_air;           // name of cellSet
        }
    }

    {
        name    external_air;
        type    cellZoneSet;
        action  add;
        source  zoneToCell;
        sourceInfo
        {
            set infinite_air;           // name of cellSet
        }
    }

);

// ************************************************************************* //
When I try to give the command
Code:
topoSet
I get this error:
Code:
lab@lab-laptop:~/Documenti/cases_OF/OF_case11_test$ topoSet 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec   : topoSet
Date   : Apr 11 2012
Time   : 12:43:34
Host   : "lab-laptop"
PID    : 6253
Case   : /home/lab/Documenti/cases_OF/OF_case11_test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh for time = 0

Reading topoSetDict

Time = 0
    mesh not changed.
Created set door_and_roof
    Applying source zoneToCell


--> FOAM FATAL IO ERROR: 
keyword name is undefined in dictionary "/home/lab/Documenti/cases_OF/OF_case11_test/system/topoSetDict::actions::sourceInfo"

file: /home/lab/Documenti/cases_OF/OF_case11_test/system/topoSetDict::actions::sourceInfo from line 27 to line 27.

    From function dictionary::lookupEntry(const word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 400.

FOAM exiting

lab@lab-laptop:~/Documenti/cases_OF/OF_case11_test$
What's wrong?

Thanks for any help,

Samuele
samiam1000 is offline   Reply With Quote

Old   April 11, 2012, 07:17
Default
  #2
Member
 
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 5
latvietis is on a distinguished road
The error means it needs 'name' instead of 'set'.

Martin
wyldckat likes this.
latvietis is offline   Reply With Quote

Old   August 23, 2013, 02:55
Default
  #3
Member
 
vishal
Join Date: Mar 2013
Posts: 54
Rep Power: 4
vishal_s is on a distinguished road
Hello Samuele Z, can you kindly tell me what is the command to run the "toposet dict file"??
vishal_s is offline   Reply With Quote

Old   August 23, 2013, 08:39
Default
  #4
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: Cape Town - South Africa
Posts: 186
Rep Power: 8
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
hi just type topoSet
sivakumar is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
topoSetDict in simpleFOAM Goutam OpenFOAM Running, Solving & CFD 2 August 13, 2012 07:47


All times are GMT -4. The time now is 11:37.