|
[Sponsors] |
September 25, 2009, 15:49 |
patching the inlet field from a file
|
#1 |
Member
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17 |
Hi,
I had posted a thread this morning regarding the same..but I am not sure if I explained myself clearly.. I ran a simpleFoam simulation on a rectangular channel. the flow is laminar.. I was able to include a file sampleDict in the system folder, which basically saved the velocity fields at the outlet of the channel. I am including that for the reference.. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // interpolationScheme cellPoint; setFormat raw; surfaceFormat foamFile; sets (); surfaces ( _left { type patch; patchName outlet_left; /*name plate; basePoint (0 0 0.25); normalVector (0 0 1);*/ } ); fields ( U ); // ************************************************************************* // Regards, vishwa |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 11:46 |
[OpenFOAM] ParaView 33 canbt open OpenFoam file | hariya03 | ParaView | 7 | September 25, 2008 17:33 |
gcc and executable file from Mac to Linux | simone Marras | Main CFD Forum | 0 | April 8, 2007 15:49 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |