|
[Sponsors] |
Problems to sample a plane (X-Y-Plane) through the Fluid |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 20, 2012, 09:40 |
Problems to sample a plane (X-Y-Plane) through the Fluid
|
#1 |
Senior Member
Sören
Join Date: Mar 2012
Posts: 102
Rep Power: 14 |
Hi,
I've tried the sample utility to get some pictures of the flow (magU) but I always get the error massage that something is wrong within the "surfaces" code. Here is my sampleDict file: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object sampleSurfaceDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; surfaceFormat vtk; surfaces ( firstSegment { basePoint ( -6 6 7 ); normalVector ( 0 0 1 ); interpolate false ; } ); fields ( magU ); // ************************************************** *********************** // and here is the error-message: --> FOAM FATAL IO ERROR: keyword type is undefined in dictionary "/apistemp/sm1/ss/Meshs/Test_2_Umlenkplatten_65_Grad/system/sampleDict::surfaces" file: /apistemp/sm1/ss/Meshs/Test_2_Umlenkplatten_65_Grad/system/sampleDict::surfaces from line 27 to line 29. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. FOAM exiting Kind regards |
|
July 21, 2012, 12:57 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The keyword "type" is undefined in your dictionary named surfaces in your file "/apistemp/sm1/ss/Meshs/Test_2_Umlenkplatten_65_Grad/system/sampleDict" (but I think Hemingway would have preferred the way OpenFOAM say it) |
||
July 21, 2012, 13:15 |
|
#3 |
New Member
Mike Jaworski
Join Date: Jul 2012
Location: New Jersey
Posts: 6
Rep Power: 13 |
Here's another hint:
Look in the tutorial for the plateHole stress analysis. A sampleDict and sampleSurfaceDict are both available. look for your missing keyword in the sampleDict file and see what you need to do. |
|
July 21, 2012, 20:00 |
|
#4 |
Senior Member
Sören
Join Date: Mar 2012
Posts: 102
Rep Power: 14 |
I've looked in the plateHole tutorial, that's where I copied my sampleDict from - more or less. I also tried to "name a type" like the error-message says but it doesn't work...
Last edited by despaired student; July 23, 2012 at 11:40. |
|
September 27, 2013, 06:35 |
|
#5 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15 |
Hi Soren
in sampleSurfaceDict is an error. There should not be word "name" but "type" and not "plate" but "plane". You can see correct sampleDict file in $FOAM_UTILITIES/postProcessing/sampling/sample Of course you have to change sampleSurfaceDict on sampleDict before you execute sample command. best |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample utility problems | msrinath80 | OpenFOAM Running, Solving & CFD | 12 | December 21, 2012 05:51 |
How to choose the mean diameter value for dispersed fluid? | creddy_trddc | CFX | 1 | October 30, 2011 04:30 |
How to use / How to find IPMT? | camoesas | CFX | 2 | November 23, 2010 06:36 |
heat conducting in a solid domain | Rogerio Fernandes Brito | Fidelity CFD | 0 | March 18, 2008 17:24 |
Intl Conf Computational Methods in Fluid Power | Jacek Stecki | Main CFD Forum | 0 | November 10, 2002 05:49 |