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

topoSetDict error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2016, 05:38
Default topoSetDict error
  #1
New Member
 
Join Date: Jul 2016
Posts: 13
Rep Power: 10
JohnJohn8 is on a distinguished road
Hello all,

I am a new user of openFoam and I try to construct conjugate heat transfer problems. I have to set different topology with topoSetDict but I get the error:

"--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'actions' on line 19 and ending at line 69"
file: /home/khoi/OpenFOAM/khoi-v3.0+/run/cht_firsttry/system/topoSetDict at line 69.
From function static void Foam::IOerror::SafeFatalIOError(const char*, const char*, int, const Foam::IOstream&, const Foam::string&)
in file lnInclude/IOerror.C at line 131.
"

I have included the topoSetDict file, could some please help me?

Thank you in advance
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v3.0+                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
    // patty
    {
        name    pattyCellSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (20 20 0)(30 30 10);
        }
    }
    {
        name    patty;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set pattyCellSet;
        }
    }
 // surAir is all the other cells
    {
        name    surAirCellSet;
        type    cellSet;
        action  new;
        source  cellToCell;
        sourceInfo
        {
            set pattyCellSet;
        }
    }
    {
        name    surAirCellSet;
        type    cellSet;
        action  invert;
    }
    {
        name    surAir;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set surAirCellSet;
        }
    }
);
// ************************************************************************* //
JohnJohn8 is offline   Reply With Quote

Old   August 3, 2016, 06:20
Default
  #2
New Member
 
Join Date: Jul 2016
Posts: 13
Rep Power: 10
JohnJohn8 is on a distinguished road
Hello all,

I fixed the problem above, but I got a new one. I can run the toposetDict, then when I do splitMeshregions, OF only detects 1 region. The situation as it should be is a patty region in a column of surrounding air.

Can someone help me please?

Thanks in advance

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v3.0+                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
    
    // patty
    {
        name    pattyCellSet;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (20 20 0 )(30 30 10);
        }
    }
    {
        name    patty;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set pattyCellSet;
        }
    }
   
    // surAir is all the other cells
  
    {
        name    surAirCellSet;
        type    cellSet;
        action  new;
        source  cellToCell;
        sourceInfo
        {
            set pattyCellSet;
        }
    }
  
    {
        name    surAirCellSet;
        type    cellSet;
        action  invert;
    }
    {
        name    surAir;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set surAirCellSet;
        }
    }
);
JohnJohn8 is offline   Reply With Quote

Reply

Tags
cht, openfoam, toposet


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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 14:59.