|
[Sponsors] |
October 16, 2013, 07:37 |
Error running a flow past square cylinder
|
#1 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi
Please look at the snapshot attache with this past . And guide me where i am doing mistake |
|
October 17, 2013, 01:00 |
Error due to probe usage in controlDict
|
#2 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
I have run the case without forces and force co-efficients in controlDict. It worked all fine I modifies to get Cd and Cl as follows
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application icoFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 300; deltaT 0.02; writeControl timeStep; writeInterval 50; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { probes { // Where to load it from functionObjectLibs ( "libsampling.so" ); type probes; // Name of the directory for probe data name probes; // Write at same frequency as fields outputControl timeStep; outputInterval 1; // Fields to be probed fields ( U ); probeLocations ( (10 0 0) ); } } functions { forces { type forces; functionObjectLibs ("libforces.so"); patches (cube); pName p; UName U; rhoName rhoInf; rhoInf 1.225; // Reference density, fluid CofR (0 0 0); // Origin for moment calculations } probes { // Where to load it from functionObjectLibs ( "libsampling.so" ); type probes; // Name of the directory for probe data name probes; // Write at same frequency as fields outputControl timeStep; outputInterval 1; // Fields to be probed fields ( U ); probeLocations ( (10 0 0 ) ); } forceCoeffs1 { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl outputTime; log yes; patches (cube); pName P; UName U; rhoName rohInf; log true; rhoInf 1.125; liftDir (0 1 0); dragDir (1 0 0); CofR (0 0 0); pitchAxis (0 1 0); magUInf 1; lRef 1; Aref 1; } // ************************************************** *********************** // Please look in to the error and please help me . |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flow past a cylinder, Reynolds No: 100, Tracking strouhal Number. | Karan | FLUENT | 11 | November 14, 2016 04:49 |
Flow past a cylinder. Help needed | Lurapa | Main CFD Forum | 1 | August 18, 2013 11:25 |
free surface flow past cylinder | vineet | FLUENT | 1 | February 21, 2011 23:11 |
Flow past 2 smooth circular cylinder | slip | FLUENT | 0 | July 8, 2010 18:45 |
incompressible free surface flow past cylinder | vineet | FLUENT | 2 | April 1, 2002 05:56 |