|
[Sponsors] |
pressure and velocity in OpenFoam is smaller than Fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 18, 2013, 05:32 |
how I can increase the accuracy of pressure ?
|
#1 |
Senior Member
Join Date: Jun 2011
Posts: 163
Rep Power: 14 |
Hi all
I have simulated flow around a cylinder by OF and FLUENT In both software, I use a high quality and fine structure mesh which lead to y+<5 over walls and use Kw-sst model also the setting for OF and FLUENT is as follow FLUENT BCs: inlet ========> velocity inlet U=7m/sec k=.2 omega=170 outlet=======> pressure outlet FLUENT settigs solver =============> PISO residual=1e-5 In OF I have used pimpleFoam and setting are as follow any help will be appreciated Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0.2; boundaryField { wallup { type kLowReWallFunction; value uniform .2; } outlet { type inletOutlet; inletValue uniform .2; value uniform .2; } inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.02; value uniform .2; } circle { type kLowReWallFunction; value uniform .2; } frontAndBackPlanes { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [ 0 1 -1 0 0 0 0 ]; internalField uniform ( 0 0 0 ); boundaryField { wallup { type fixedValue; value uniform ( 0 0 0 ); } circle { type fixedValue; value uniform ( 0 0 0 ); } inlet { type fixedValue; value uniform ( 7. 0 0 ); } outlet { type inletOutlet; inletValue uniform ( 0 0 0 ); value uniform ( 0 0 0 ); } frontAndBackPlanes { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0; boundaryField { wallup { type zeroGradient; } circle { type zeroGradient; } inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } frontAndBackPlanes { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object omega; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [ 0 0 -1 0 0 0 0 ]; internalField uniform 170; boundaryField { wallup { type omegaWallFunction; value uniform 170; } wallp { type omegaWallFunction; value uniform 170; } outlet { type inletOutlet; inletValue uniform 170; value uniform 170; } inlet { type turbulentMixingLengthFrequencyInlet; mixingLength 0.005; phi phi; k k; value uniform 170; } plate { type omegaWallFunction; value uniform 170; } circle { type omegaWallFunction; value uniform 170; } frontAndBackPlanes { type empty; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object nut; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [ 0 2 -1 0 0 0 0 ]; internalField uniform 0; boundaryField { wallup { type nutUSpaldingWallFunction; value uniform 0; } wallp { type nutUSpaldingWallFunction; value uniform 0; } outlet { type calculated; value uniform 0; } inlet { type calculated; value uniform 0; } plate { type nutUSpaldingWallFunction; value uniform 0; } circle { type nutUSpaldingWallFunction; value uniform 0; } frontAndBackPlanes { type empty; } } // ************************************************************************* // Last edited by mechy; September 20, 2013 at 16:24. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Matching Velocity and Pressure fields Fluent OpenFoam | alimansouri | OpenFOAM Running, Solving & CFD | 0 | January 13, 2009 17:51 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 02:15 |
Variables Definition in CFX Solver 5.6 | R P | CFX | 2 | October 26, 2004 02:13 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |