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

Sample using Zones

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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: 16
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: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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: 16
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


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
heat conducting in a solid domain Rogerio Fernandes Brito FLUENT 0 March 18, 2008 17:25
heat conducting in a solid domain Rogerio Fernandes Brito Fidelity CFD 0 March 18, 2008 17:24
heat conducting in a solid domain Rogerio Fernandes Brito Siemens 0 March 18, 2008 17:23
about my old post Rogerio Fernandes Brito CFX 1 February 8, 2008 19:19
CAE program for heat conducting Rogerio Fernandes Brito FLUENT 0 February 3, 2008 11:22


All times are GMT -4. The time now is 08:01.