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

sampleDict - Problems with distanceSurface

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2011, 11:16
Default sampleDict - Problems with distanceSurface
  #1
New Member
 
Taylorreihe
Join Date: Dec 2010
Posts: 4
Rep Power: 6
Taylorreihe is on a distinguished road
Hi,

I try to sample my velocity data with distanceSurface (using OF 201) and getting this error:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.0.1-51f1de99a4bc
Exec   : sample -latestTime
Date   : Sep 20 2011
Time   : 16:41:39
Host   : ThinkPad-X40
PID    : 3895
Case   : /home/kiro/OpenFOAM/kiro-2.0.1/run/askervein_hill/ask_mesh1_2sphere_SST
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 10203

Reading surface description:
    topology_askervein.stl

Time = 10203


--> FOAM FATAL ERROR: 
getVolumeType failure, neither INSIDE or OUTSIDE

    From function void Foam::distanceSurface::createGeometry()
    in file sampledSurface/distanceSurface/distanceSurface.C at line 168.

FOAM exiting
Have anyone an idea what's wrong?

Because when I try to sample the same case with OF17 it runs fine (without any errors), but the results are verry weird!

Here are my sampleDict:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.6                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/                              
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

setFormat raw;
surfaceFormat   raw;

interpolationScheme cellPointFace;

fields
(
    U
);

sets
(
);

surfaces
(
    topology_askervein.stl
    {
        type              distanceSurface;
        surfaceType    triSurfaceMesh;
        distance        10;
        signed           true;
    }
); 


// ************************************************************************* //
Thanks in advance,
Kris
Taylorreihe is offline   Reply With Quote

Old   December 13, 2011, 06:56
Default did you ever get a reply?
  #2
New Member
 
Hanan Einav-Levy
Join Date: May 2011
Posts: 10
Rep Power: 6
hananfoam is on a distinguished road
Hi Kris,

I'm trying to use distanceSurface to sample at specific heights above my surface, for flow simulation in the atmospheric boundary layer - exactly what you are doing (according to the name of you stl file).

Did you ever solve your problem?

I have some additional questions , but first thing first, hope you answer.

Hanan.
hananfoam is offline   Reply With Quote

Reply

Tags
sampledict, sampling

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
problems with midPoint set sampling grandgo OpenFOAM Bugs 6 December 13, 2011 10:34
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 12:13
Some problems with Star CD Micha CD-adapco 0 August 6, 2003 13:55
unstructured grid sreekanth Main CFD Forum 1 August 6, 2001 15:09


All times are GMT -4. The time now is 20:19.