|
[Sponsors] |
April 17, 2013, 22:53 |
Question on sampleDict
|
#1 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Dear all:
Using sampleDict, I am trying to obtain pressure for the left and rightwall in a rectangular tank. The walls are called leftWall and rightWall in blockMesh. However sampleDict gives me reading for one wall only. How can I get it to read both walls? Any advice will be greatly appreciated. /*--------------------------------*- 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 cell; fields (alpha1 p); surfaces ( wallPressure { type patch; patches (leftWall); interpolate true; triangulate false; } ); surfaces ( wallPressure { type patch; patches (rightWall); interpolate true; triangulate false; } ); |
|
Tags |
sampledict, wallpressure |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
small question about the functionalities of topological changes in OpenFoam | ngj | OpenFOAM Running, Solving & CFD | 2 | February 28, 2013 10:02 |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 13:51 |
question on sampleDict | gorgon | OpenFOAM | 2 | December 8, 2011 19:07 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 15:26 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 04:37 |