|
[Sponsors] |
September 6, 2012, 06:38 |
BC for pressure driven compressor cascade
|
#1 |
New Member
Matthew Wright
Join Date: Sep 2012
Posts: 1
Rep Power: 0 |
Hi. I am currently doing a thesis where I am running a simulation on a cascade of compressor blades in OpenFOAM. The simulation is 2D and consists of 1 blade with cyclic boundaries on the top and bottom of the domain for the cascade effect. I am running a compressible, laminar case. I ran rhoSimplecFoam and adapted my case from the tutorial, and this runs fine with the BCs the same as the tutorial. However, when I try my own BCs it crashes. I want total pressure specified at the inlet and static pressure at the outlet. The velocity is driven by the pressure at and angle of 55deg at the inlet. Total temperature is also specified at the inlet. Here are my p, U and T files. Can someone tell me what I am doing wrong. Thanks.
FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 101300; boundaryField { BC1_on_INLET { type totalPressure; p0 uniform 101300; value uniform 101300; gamma 1.4; } BC1_on_LOWER_PERIODIC { type cyclic; } BC1_on_OUTLET { type fixedValue; value uniform 88131; } BC1_on_PROFILE { type zeroGradient; } BC1_on_SYM1 { type empty; } BC1_on_SYM2 { type empty; } BC1_on_UPPER_PERIODIC { type cyclic; } } // ************************************************** *********************** // FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { BC1_on_INLET { type pressureDirectedInletVelocity; inletDirection uniform (1.428 1 0); value uniform (0 0 0); } BC1_on_LOWER_PERIODIC { type cyclic; } BC1_on_OUTLET { type zeroGradient; } BC1_on_PROFILE { type slip; } BC1_on_SYM1 { type empty; } BC1_on_SYM2 { type empty; } BC1_on_UPPER_PERIODIC { type cyclic; } } // ************************************************** *********************** // FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300; boundaryField { BC1_on_INLET { type totalTemperature; T0 uniform 300; value uniform 300; gamma 1.4; } BC1_on_LOWER_PERIODIC { type cyclic; } BC1_on_OUTLET { type zeroGradient; } BC1_on_PROFILE { type zeroGradient; } BC1_on_SYM1 { type empty; } BC1_on_SYM2 { type empty; } BC1_on_UPPER_PERIODIC { type cyclic; } } // ************************************************** *********************** // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
internal flow BCs: pressure driven versus velocity driven | mihaipruna | OpenFOAM Running, Solving & CFD | 22 | March 6, 2014 10:06 |
Lid Driven Cavity using Ghost Cell Method and in C++ | illuminati5288 | Main CFD Forum | 0 | August 12, 2011 22:05 |
is there any parallel code for the famous Lid Driven Cavity flow? | gholamghar | Main CFD Forum | 0 | August 1, 2010 01:55 |
How to simulate the fan driven by the airflow? | Jason | FLUENT | 2 | April 17, 2008 15:56 |
Practical/Industrial Appications of the Lid Driven | GD | Main CFD Forum | 1 | December 19, 2007 06:30 |