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

Sample using Zones

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2010, 17:13
Default Sample using Zones
  #1
New Member
 
Adrian Stalder
Join Date: Mar 2010
Posts: 10
Rep Power: 8
Adrian is on a distinguished road
Hi everyone

I am trying to get out some specific data out of my simulation using the sample utility.
I found the option using zones of planes:

Code:
    constantPlane
    {
        type            plane;
        basePoint       (0.0501 0.0501 0.005);
        normalVector    (0.1 0.1 1);

        //- Optional: restrict to a particular zone
        // zoneName        zone1;

        // Optional: whether to leave as faces or triangulate (=default)
        triangulate     false;
    }
but couldnt find out how to use it. What I eventually would like to do is to calculate different properties like the flow in/out of a surface inside my domain.
If anyone has an idea how to use the zones feature, it would be great to get some hint. And any other idea how to filter out the desired data, I would be happy too.

Cheers Adrian
Adrian is offline   Reply With Quote

Old   May 8, 2010, 09:49
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 779
Rep Power: 19
olesen will become famous soon enough
Quote:
Originally Posted by Adrian View Post
Hi everyone

I am trying to get out some specific data out of my simulation using the sample utility.
I found the option using zones of planes:

Code:
    constantPlane
    {
        type            plane;
        basePoint       (0.0501 0.0501 0.005);
        normalVector    (0.1 0.1 1);

        //- Optional: restrict to a particular zone
        // zoneName        zone1;

        // Optional: whether to leave as faces or triangulate (=default)
        triangulate     false;
    }
but couldnt find out how to use it. What I eventually would like to do is to calculate different properties like the flow in/out of a surface inside my domain.
If anyone has an idea how to use the zones feature, it would be great to get some hint. And any other idea how to filter out the desired data, I would be happy too.
As the comment implies, you can specify a zoneName to restrict the plane. Thus instead of an infinite plane, you get one that only cuts through the named cellZone.
olesen is offline   Reply With Quote

Old   May 10, 2010, 03:57
Default
  #3
New Member
 
Adrian Stalder
Join Date: Mar 2010
Posts: 10
Rep Power: 8
Adrian is on a distinguished road
Thank you olsen for your reply.
My problem is how to define these zones and implement it.
Would be great to get some cloues on that.
Thanks
Adrian is offline   Reply With Quote

Old   May 10, 2010, 04:30
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 779
Rep Power: 19
olesen will become famous soon enough
Quote:
Originally Posted by Adrian View Post
Thank you olsen for your reply.
My problem is how to define these zones and implement it.
Would be great to get some cloues on that.
Thanks
cellZones are simply a non-overlapping list of cell numbers. In blockMesh, you can optionally specify separate cellZone names (see, for example, the blockMeshDict for the rhoPorousSimpleFoam tutorials).
If you are converting your mesh from some other format (eg, proSTAR, fluent, ccm, etc) the zones and their names should normally be preserved from the original mesh.
olesen is offline   Reply With Quote

Old   May 12, 2010, 08:15
Default
  #5
New Member
 
Adrian Stalder
Join Date: Mar 2010
Posts: 10
Rep Power: 8
Adrian is on a distinguished road
Thanks a lot for your help, I got most of it now.
I didnt know that you can specify zones in the blockMeshDict before...
Adrian is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
heat conducting in a solid domain Rogerio Fernandes Brito FLUENT 0 March 18, 2008 18:25
heat conducting in a solid domain Rogerio Fernandes Brito NUMECA 0 March 18, 2008 18:24
heat conducting in a solid domain Rogerio Fernandes Brito CD-adapco 0 March 18, 2008 18:23
about my old post Rogerio Fernandes Brito CFX 1 February 8, 2008 20:19
CAE program for heat conducting Rogerio Fernandes Brito FLUENT 0 February 3, 2008 12:22


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