CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Issue with topoSetDict file

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ingraban

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2019, 11:56
Default Issue with topoSetDict file
  #1
New Member
 
MarineAiry's Avatar
 
Berin
Join Date: Aug 2019
Posts: 3
Rep Power: 7
MarineAiry is on a distinguished road
Dear All,

I am facing an issue with the topoSetDict file, as I currently don't know how to edit properly this file.
It is shown below:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

actions
(
    {
        name    c0;
        type    cellSet;
        action  new;
        source  boxToCell;
        sourceInfo
        {
            box (-20 -15 -0.4) (13 0 5);
        }
    }
);

// ************************************************************************* //
When I try to type this command:

Code:
$ topoSet -dict system/topoSetDict.1
I get this error:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : D:/PROGRAMMI/blueCFD-Core-2017/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/topoSet.exe -dict system/topoSetDict.1
Date   : Sep 01 2019
Time   : 16:41:34
Host   : "DESKTOP-8DN55BA"
PID    : 48568
I/O    : uncollated
Case   : D:/PROGRAMMI/blueCFD-Core-2017/ofuser-of5/run/IWWTC_Model
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create polyMesh for time = 0

Reading topoSetDict



--> FOAM FATAL ERROR:
cannot find file "D:/PROGRAMMI/blueCFD-Core-2017/ofuser-of5/run/IWWTC_Model/system/topoSetDict.1"

    From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 522.

FOAM exiting
What is wrong ?

Thank you all for any help you might be able to provide,

Berin
MarineAiry is offline   Reply With Quote

Old   September 2, 2019, 05:22
Default
  #2
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7
ingraban is on a distinguished road
From the error message, I conclude that topoSet is unable to find the topoSetDict.1 you specified. Either the path or the filename are incorrect. I have to admit, I only use the file standard filename topoSetDict in the system folder. Consequently, I don't need the -dict option.
MarineAiry likes this.
ingraban is offline   Reply With Quote

Old   September 4, 2019, 14:13
Default
  #3
New Member
 
MarineAiry's Avatar
 
Berin
Join Date: Aug 2019
Posts: 3
Rep Power: 7
MarineAiry is on a distinguished road
@ingraban Thank you for your response.

It helped me because I made a really banal mistake by ignoring the real name of the TopoSet file, which was "topoSetDict.1.1", because I didn't see the extension file.
I use a text editor which sometimes implies changes in the extension file, e.g. add a number to my file's name.

Thank you a lot !!
MarineAiry is offline   Reply With Quote

Reply


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
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 04:50
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 17:18
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57


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