|
[Sponsors] |
Problems when change the boundary conditions in rhoSimplicFoam tutorial example |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 16, 2014, 09:52 |
Problems when change the boundary conditions in rhoSimplicFoam tutorial example
|
#1 | |
New Member
Join Date: Dec 2014
Posts: 10
Rep Power: 12 |
Hello, Foamers;
I just begin to use OpenFOAM to do my thesis. Since my problem is a compressible case, so I'd like to choose the rhoSimplecFoam solver to solve it. In the tutorial example offered in the rhoSimplecFoam solver, it gives a mass flowrate inlet condition and pressure outlet condition. However, in my case, it should be a total pressure inlet condition and pressure outlet condition. Problem comes as I changed the boundary conditions of U and P after 3 iterations. The error messages are as following: Quote:
P Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 100000; boundaryField { Default_Boundary_Region { type zeroGradient; } inlet { type totalPressure; U U; phi phi; rho none; psi none; gamma 1.4; p0 uniform 200000; } outlet { type inletOutlet; phi phi; inletValue uniform 100000; value uniform 100000; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { Default_Boundary_Region { type fixedValue; value uniform (0 0 0); } inlet { type pressureInletVelocity; phi phi; rho rho; value uniform (0 0 0); } outlet { type pressureInletOutletVelocity; phi phi; value uniform (0 0 0); } } Endless appreciation if any foamers can help. Sylvain |
||
December 17, 2014, 16:43 |
|
#2 |
Senior Member
|
Hi Sylvain,
I think you should change your pressure boundary condition for the outlet to either a fixed static pressure or to outletInlet instead of inletOutlet. Look up their differences in the sourcecode! Some hints: Code:
$> cd $FOAM_SRC $> find . -iname *inletoutlet* You may also need to ramp your total pressure at the inlet over several iterations. I think some examples may be found on the forum. Regards, Tom |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 12:12 |
Implementation of boundary conditions for FVM | Tom | Main CFD Forum | 7 | August 26, 2014 06:58 |
Boundary conditions for hassan hemida interFoam tutorial | vishal_s | OpenFOAM Pre-Processing | 0 | August 21, 2013 01:21 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |