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

topoSetDict error (for overtopping)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2020, 20:00
Default topoSetDict error (for overtopping)
  #1
New Member
 
deoga Lee
Join Date: Dec 2020
Posts: 2
Rep Power: 0
deoga is on a distinguished road
Hello all,

I am a new user of openFoam and I try to construct overtopping problems. I have to set face zone with topoSetDict but I get the error:
--------------------------------------------------------------------------------------
---> FOAM FATAL IO ERROR:
Entry 'faceSet' not found in dictionary "/scratch/e1252a02/051-075/057/system/topoSetDict.actions.sourceInfo"


file: /scratch/e1252a02/051-075/057/system/topoSetDict.actions.sourceInfo

From function bool Foam::dictionary::readEntry(const Foam::word &, T &, Foam::keyType:ption, bool) const [with T = Foam::word]
in file /apps/applications/OpenFOAM/v1920/intel/18.0.3/impi/18.0.3/x86-skylake/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude/dictionaryTemplates.C at line 334.
--------------------------------------------------------------------------------------

with this error, overtoppingfaceSet(result file) was made in /constant/polyMesh/sets/ but overtopping(other result file) was not made.

I think it has problem in step 'faceZoneSet'.

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

PHP 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
(
//overtopping
    
{
        
name    overtoppingfaceSet;
        
type    faceSet;
        
action  new;
        
source  boxToFace;
        
sourceInfo
        
{
                
box  (37.25 0.2 0) (37.75 0.75 2);
        }
    }

    {
        
name    overtopping;
        
type    faceZoneSet;
        
action  new;
        
source  setToFaceZone;
        
sourceInfo
        
{
                
set overtoppingfaceSet;
        }


//porosity 1

    
{
        
name    poroCellSet1;
        
type    cellSet;
        
action  new;
        
source  rotatedBoxToCell;
        
sourceInfo
        
{
            
origin   (36.92 -0.5 -100);
            
i        (0.225 0.15 0);
            
j        (-0.045 0 0);
            
k        (0 0 200);
        }
    }
    {
        
name    poroCellSet1;
        
type    cellSet;
        
action  add;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (37.1 -0.38 -100)(37.18 -0.35 100);
        }
    }
    {
        
name    porosity1;
        
type    cellZoneSet;
        
action  new;
        
source  setToCellZone;
        
sourceInfo
        
{
            
set  poroCellSet1;
        }
    }


//porosity 2


    
{
        
name    poroCellSet2;
        
type    cellSet;
        
action  new;
        
source  rotatedBoxToCell;
        
sourceInfo
        
{
            
origin   (36.95 -0.5 -100);
            
i        (0.18 0.12 0);
            
j        (-0.03 0 0);
            
k        (0 0 200);
        }
    }
    {
        
name    poroCellSet2;
        
type    cellSet;
        
action  add;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (37.1 -0.4 -100)(37.18 -0.38 100);
        }
    }
    {
        
name    poroCellSet2;
        
type    cellSet;
        
action  add;
        
source  boxToCell;
        
sourceInfo
        
{
            
box (37.26 -0.4 -100)(37.902 -0.35 100);
        }
    }
    {
        
name    poroCellSet2;
        
type    cellSet;
        
action  add;
        
source  rotatedBoxToCell;
        
sourceInfo
        
{
            
origin   (38.127 -0.5 -100);
            
i        (-0.225 0.15 0);
            
j        (-0.075 0 0);
            
k        (0 0 200);
        }
    }
    {
        
name    porosity2;
        
type    cellZoneSet;
        
action  new;
        
source  setToCellZone;
        
sourceInfo
        
{
            
set  poroCellSet2;
        }
    }

deoga is offline   Reply With Quote

Old   January 14, 2021, 22:58
Default missing bracket
  #2
New Member
 
Ethan
Join Date: Feb 2019
Location: Australia
Posts: 5
Rep Power: 7
ethan13 is on a distinguished road
Hi Deoga,

I think you just missed one bracket "}" at the end of the overtopping segment in your topoSetDict.

Code:
    {
        name    overtopping;
        type    faceZoneSet;
        action  new;
        source  setToFaceZone;
        sourceInfo
        {
                set overtoppingfaceSet;
        }
    }
hope you have solved this since it was posted one month ago.

Regards,
Ethan
ethan13 is offline   Reply With Quote

Old   August 21, 2022, 06:24
Default it's faceSet overtoppingfaceSet; not set overtoppingfaceSet;
  #3
New Member
 
Join Date: May 2022
Posts: 29
Rep Power: 3
cfd_saad is on a distinguished road
It's faceSet overtoppingfaceSet; not set overtoppingfaceSet;

Quote:
Originally Posted by ethan13 View Post

Code:
    {
        name    overtopping;
        type    faceZoneSet;
        action  new;
        source  setToFaceZone;
        sourceInfo
        {
                faceSet overtoppingfaceSet;
        }
    }
Here you have an annotated topoSetDict : https://github.com/OpenFOAM/OpenFOAM...poSetDict#L248

Cheers,
cfd_saad 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
Creating an Angled, Smooth Wall with topoSetDict JakeAC OpenFOAM Pre-Processing 1 July 25, 2020 21:37
topoSetDict samiam1000 OpenFOAM 5 July 23, 2019 11:45
The sampled data is not restricted to the defined zone in topoSetDict jiaodanuma OpenFOAM Post-Processing 1 August 14, 2018 07:25
topoSetDict error JohnJohn8 OpenFOAM Pre-Processing 1 August 3, 2016 05:20
Introducing changeDictionaryDict and topoSetDict files in chtMultiRegionFoam fracasce OpenFOAM Pre-Processing 8 October 28, 2015 04:25


All times are GMT -4. The time now is 16:23.