|
[Sponsors] |
April 11, 2012, 07:49 |
topoSetDict
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
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 } } ); // ************************************************************************* // Code:
topoSet 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$ Thanks for any help, Samuele |
|
April 11, 2012, 08:17 |
|
#2 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
The error means it needs 'name' instead of 'set'.
Martin |
|
August 23, 2013, 03:55 |
|
#3 |
Member
vishal
Join Date: Mar 2013
Posts: 73
Rep Power: 13 |
Hello Samuele Z, can you kindly tell me what is the command to run the "toposet dict file"??
|
|
August 23, 2013, 09:39 |
|
#4 |
Senior Member
|
hi just type topoSet
|
|
February 1, 2018, 08:11 |
toposet
|
#5 |
New Member
mohan
Join Date: Jun 2011
Posts: 1
Rep Power: 0 |
Hi Samuele
Can you find any solution? Only changing name it will work or not?. I am also having same issue. Thanks for help Mohan |
|
July 23, 2019, 12:45 |
|
#6 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi,
I hope you guys have found your answer. If yes please share. to elaborate more on what Martin said, the problem is the keyword 'set', I checked the topoSetDict file at github and it should be 'name'. When using zoneToCell the sourceInfo entity requires not to provide set but rather name of the zone. https://github.com/OpenFOAM/OpenFOAM...et/topoSetDict Hope it helped anyone. If you had found an alternate solutions share as well. If you think I am incorrect please mention it too. =) OS |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
topoSetDict in simpleFOAM | Goutam | OpenFOAM Running, Solving & CFD | 2 | August 13, 2012 08:47 |