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

topoSet plane with one cell in width

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2015, 07:49
Default topoSet plane with one cell in width
  #1
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 13
hxaxtma is on a distinguished road
Hi guys,

just a simple question, i want to create in my internal field a surface of one cell in width (length x and width y are the base coordinates, z is height) over the whole domain. Therefore I used following topoSetDict code:
Code:
actions
(
    {
        name    vortex;
        type    faceSet;
        action  new;
        source  boxToFace;
        sourceInfo
        {
            box (0.5 0 0)(0.6 1 0.5);
        }
    }

    {
        name    vortexZone;
        type    faceZoneSet;
        action  new;
        source  setToFaceZone;
        sourceInfo
        {
            faceSet vortex;
        }
    }
);
So far it is working, the only problem I see that I have to adapt the box coordinates in relation to my spatial mesh resolution. Is there a more "handy" way to catch just "one" cell over height z?

Thanks in advance
hxaxtma is offline   Reply With Quote

Old   June 9, 2015, 06:42
Default
  #2
Member
 
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 12
Howard is on a distinguished road
Quote:
Originally Posted by hxaxtma View Post
Hi guys,

just a simple question, i want to create in my internal field a surface of one cell in width (length x and width y are the base coordinates, z is height) over the whole domain. Therefore I used following topoSetDict code:
Code:
actions
(
    {
        name    vortex;
        type    faceSet;
        action  new;
        source  boxToFace;
        sourceInfo
        {
            box (0.5 0 0)(0.6 1 0.5);
        }
    }
 
    {
        name    vortexZone;
        type    faceZoneSet;
        action  new;
        source  setToFaceZone;
        sourceInfo
        {
            faceSet vortex;
        }
    }
);
So far it is working, the only problem I see that I have to adapt the box coordinates in relation to my spatial mesh resolution. Is there a more "handy" way to catch just "one" cell over height z?

Thanks in advance
Friend, I would like to ask what 'box (0.5 0 0)(0.6 1 0.5)' stand for exactly, are they two points or vectors?
Howard is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Using a Plane id in Fluent UDF cdf_user Fluent UDF and Scheme Programming 13 October 17, 2023 00:06
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
Warning 097- AB Siemens 6 November 15, 2004 04:41
monitoring cell Jane Siemens 2 March 4, 2004 21:01
cell to cell relation CMB Siemens 1 December 4, 2003 04:05


All times are GMT -4. The time now is 09:28.