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

Problem with topoSet

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 25, 2015, 22:00
Question Problem with topoSet
  #1
New Member
 
wangtianjian
Join Date: Dec 2014
Location: Beijing, China
Posts: 13
Rep Power: 11
wtjhaha is on a distinguished road
Hi all,
I am meshing a tube with a glass cover outside the tube, and I use the topoSetDIct to set the region of the air and the tube.But there is a bug when running topoSet.


Code:
--> FOAM FATAL IO ERROR: 
attempt to read beyond EOF

file: /home/wtj/OpenFOAM/wtj-2.3.1/run/tube1/system/topoSetDict.actions at line 34.
And this is my topoSetDict
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      topoSetDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

actions
(
    // Air
    {
        name    air;
        type    cellSet;
        action  new;
        source  cylinderToCell;
        sourceInfo
        {
            p1(0 0 0);
	    p2(0 0 0.5);
            radius 0.017;
        }
    }
    {
        name    air;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set air;
            
        }
    }
    

    // Tube
   
    {
        name    tube;
        type    cellZoneSet;
        action  clear;
        
    }

    
    {
        name    tube;
        type    cellSet;
        action  add;
        source  cellToCell;
	sourceInfo
	{
		set air;
	}
        
    }
    {
        name    tube;
        type    cellZoneSet;
        action  new;
        source  setToCellZone;
        sourceInfo
        {
            set tube;
           
        }
    }
);

// ************************************************************************* //
Anybody can help me with this problem? I am stuck in it for several weeks and I really need help!
wtjhaha is offline   Reply With Quote

 


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 06:54.