|
[Sponsors] |
April 26, 2017, 05:16 |
DPMFoam pressure problems
|
#1 |
Member
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 13 |
Hello
I'm running a submerged jet impingement test using DPMFoam (3.0.x), and although in the log file it says that the pressure is solving (GAMG: Solving for p, Initial residual = 0.006891, Final residual = 5.435e-05, No Iterations 3), and that it converges, when I open a time directory, the whole field is a uniform 1e5 which is my outlet BC. Here is my p file in my 0 directory: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 1e5; boundaryField { inlet { type zeroGradient; } walls { type zeroGradient; } pOutTop { type totalPressure; p0 1e+05; U U.water; phi phi.water; rho none; psi none; gamma 1; value uniform 1e+05; /* type fixedValue; value 100000;*/ } bottomOutlet { type totalPressure; p0 1e+05; U U.water; phi phi.water; rho none; psi none; gamma 1; value uniform 1e+05; /* type fixedValue; value 100000;*/ } impingement { type zeroGradient; } symmetry { type symmetry; } } // ************************************************************************* // Ali |
|
April 26, 2017, 12:47 |
|
#2 |
Member
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 13 |
Hi All
I realised that if I change the initial p file then the solver runs fine. The problem was that I was confusing gauge pressure and absolute. Here is the p file that works, in case it will help anyone else in the future: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0;//1e5; boundaryField { inlet { type zeroGradient; } walls { type zeroGradient; } pOutTop { type totalPressure; p0 0;//1e+05; U U.water; phi phi.water; rho none; psi none; gamma 1; value uniform 0;//1e+05; /* type fixedValue; value 100000;*/ } bottomOutlet { type totalPressure; p0 0;//1e+05; U U.water; phi phi.water; rho none; psi none; gamma 1; value uniform 0;//1e+05; /* type fixedValue; value 100000;*/ } impingement { type zeroGradient; } symmetry { type symmetry; } } // ************************************************************************* // |
|
Tags |
dpmfoam, field, pressure |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Inlet Boundary Conditions | Mr.Goodcat | FLUENT | 5 | June 20, 2019 02:47 |
Pressure loss Velocity coupling | CFXMUFFIN | CFX | 1 | February 6, 2016 05:43 |
Pulsatile pressure inlet with pressure outlet | a.lynchy | FLUENT | 3 | March 23, 2012 14:45 |
Pressure Boundary Problems | Chris | Siemens | 2 | June 21, 2005 09:20 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |