|
[Sponsors] |
Divergent with rhoSimpleFoam and the boundary condition problems |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 17, 2016, 21:31 |
Divergent with rhoSimpleFoam and the boundary condition problems
|
#1 |
Member
Janry
Join Date: Oct 2015
Posts: 46
Rep Power: 11 |
Hi Foamers,
I'm fresh man in OpenFoam. When I try to adding the temperature field into an 1/12 cylinder mesh, the problems occuring. The following picture is my mesh: In the right side is inlet, letf side is outlet. the other sides are wall. The middle one is ggi interface. Here's my p: Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0 ]; internalField uniform 0.98e5; boundaryField { OF_inlet_00 { //type zeroGradient; type fixedValue; value uniform 1.0e5; } OF_outlet_00 { type ggi; } OF_wall_00 { type cyclicGgi; } OF_wall_01 { type cyclicGgi; } OF_wall_02 { type zeroGradient; } OF_wall_03 { type zeroGradient; } OF_inlet_10 { type ggi; } OF_outlet_10 { type zeroGradient; //type fixedValue; //value uniform 9900; } OF_wall_10 { type cyclicGgi; } OF_wall_11 { type cyclicGgi; } OF_wall_12 { type zeroGradient; } OF_wall_13 { type zeroGradient; } } // ************************************************************************* // Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300.0; boundaryField { OF_inlet_00 { //type totalTemperature; //T0 uniform 300.0; //gamma 1.4; type fixedValue; //value uniform 300; value $internalField; } OF_outlet_00 { type ggi; } OF_wall_00 { type cyclicGgi; //value uniform (0 0 0); } OF_wall_01 { type cyclicGgi; // value uniform (0 0 0); } OF_wall_02 { type zeroGradient; } OF_wall_03 { type zeroGradient; } OF_inlet_10 { type ggi; } OF_outlet_10 { type inletOutlet; value $internalField; inletValue $internalField; } OF_wall_10 { type cyclicGgi; //value uniform (0 0 0); } OF_wall_11 { type cyclicGgi; // value uniform (0 0 0); } OF_wall_12 { type zeroGradient; } OF_wall_13 { type zeroGradient; } } // ************************************************************************* // Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { OF_inlet_00 { type zeroGradient; } OF_outlet_00 { type ggi; } OF_wall_00 { type cyclicGgi; //value uniform (0 0 0); } OF_wall_01 { type cyclicGgi; // value uniform (0 0 0); } OF_wall_02 { type fixedValue; value uniform (0 0 0); } OF_wall_03 { type fixedValue; value uniform (0 0 0); } OF_inlet_10 { type ggi; } OF_outlet_10 { type inletOutlet; value uniform (0 0 0); inletValue uniform (0 0 0); } OF_wall_10 { type cyclicGgi; //value uniform (0 0 0); } OF_wall_11 { type cyclicGgi; // value uniform (0 0 0); } OF_wall_12 { type fixedValue; value uniform (0 0 0); } OF_wall_13 { type fixedValue; value uniform (0 0 0); } } // ************************************************************************* // May I ask how to choose a suitable boundary condition for the simulation case? Could you please point me out of the question? Thanks a lot in advance. Janry |
|
|
|