|
[Sponsors] |
August 3, 2016, 05:38 |
topoSetDict error
|
#1 |
New Member
Join Date: Jul 2016
Posts: 13
Rep Power: 10 |
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; } } ); // ************************************************************************* // |
|
August 3, 2016, 06:20 |
|
#2 |
New Member
Join Date: Jul 2016
Posts: 13
Rep Power: 10 |
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; } } ); |
|
Tags |
cht, openfoam, toposet |
|
|
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 |