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

Simple plane sample not working

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2010, 16:31
Default Simple plane sample not working
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I don't get it. When I use the "basePoint" / "normal" to specify a plane, it fails silently whenever the Y-coordinate of "normal" is zero. That is, it runs, reports all the times, and completes, but there are no files in the surfaces/[time]/ directories. Here's my sampleDict:

setFormat raw;
surfaceFormat raw;

interpolationScheme cellPointFace;

fields
(
U
);

sets
(
);

surfaces
(
newPlane
{
type plane;
basePoint (5 2.5 5);
normalVector (0 0 1);
interpolate true;
triangulate true;
}
);

This produces no output. If I change the normalVector to:

normalVector (0 0.00001 1);

it succeeds.

Does anyone have any idea what is going on here?

(OpenFOAM 1.5-dev)
marupio is offline   Reply With Quote

Old   May 17, 2010, 02:48
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 marupio View Post
I don't get it. When I use the "basePoint" / "normal" to specify a plane, it fails silently whenever the Y-coordinate of "normal" is zero.

...
This produces no output. If I change the normalVector to:
normalVector (0 0.00001 1);
it succeeds.
Does anyone have any idea what is going on here?
(OpenFOAM 1.5-dev)
The 1.6.x version has some code to handle cases where the cuttingPlane aligned fairly closely to a cell face (where the normal cell cutting algorithm would otherwise fail horribly) -- this is what the zeroish and positive local variables are about.
I don't know if the sourceforge svn version has this, do you experience the same problem in 1.6.x?
olesen is offline   Reply With Quote

Old   May 18, 2010, 13:23
Default
  #3
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
That's the problem! Thanks Mark. I tried it in 1.6 and it works fine. So when I'm using 1.5-dev I'll just misalign the plane ever so slightly.

-Dave
marupio 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
Understanding the coordinates of sample utility vishwa OpenFOAM Post-Processing 4 March 25, 2010 12:51
sample MAPLE code for SIMPLE algorithm mia Main CFD Forum 0 February 27, 2009 23:22
heat conducting in a solid domain Rogerio Fernandes Brito CFX 0 March 18, 2008 17:20
about my old post Rogerio Fernandes Brito CFX 1 February 8, 2008 19:19
Looking for a simple way to mesh my sample Winnie FLUENT 5 July 29, 2005 05:32


All times are GMT -4. The time now is 00:27.