|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
kamil
Join Date: Jun 2014
Posts: 11
Rep Power: 13 ![]() |
I'm solving simple case with flow in сoaxial circular tube, and found one strange problem.
The problem is that rho field is constant and equals 1 everywhere except walls. Although using equation of state density must be near 1.12. Solver is rhoSimplecFoam. fvSolution: Code:
solvers
{
p
{
solver GAMG;
tolerance 1e-08;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
}
"(U|h|k|epsilon)"
{
solver GAMG;
tolerance 1e-08;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
}
}
SIMPLE
{
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [1 -3 0 0 0] 0.1;
rhoMax rhoMax [1 -3 0 0 0] 1.0;
transonic no;
}
relaxationFactors
{
fields
{
p 1;
rho 1;
}
equations
{
U 0.9;
h 0.8;
k 0.9;
epsilon 0.9;
}
}
Code:
thermoType hPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1007;
Hf 0;
}
transport
{
As 1.4792e-06;
Ts 116;
}
}
P. S. Sorry for my English. Last edited by zaripov; July 2, 2014 at 13:32. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,269
Blog Entries: 1
Rep Power: 26 ![]() |
well in fvSolution you defined the min and max of density
, increase rhoMax, forexample put it 2
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
|
|
|
|
|
|
|
#3 |
|
New Member
kamil
Join Date: Jun 2014
Posts: 11
Rep Power: 13 ![]() |
||
|
|
|
|
![]() |
| Tags |
| density, rho, rhosimplecfoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
| what does this verbose error mean? | immortality | OpenFOAM Running, Solving & CFD | 1 | February 6, 2013 17:47 |
| pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
| Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |
| Error log | vw.cfd | OpenFOAM | 6 | August 7, 2009 06:44 |