|
[Sponsors] |
December 29, 2017, 11:54 |
Solution Singularity
|
#1 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Hi Team !
I am facing totally new error. What is Solution Singularity? The solver is SimpleFOAM. I checked BCs, for any conflicting ones. I checked fluid properties. Please help. Code:
Create time Create mesh for time = 0 SIMPLE: convergence criteria field U tolerance 1e-006 field epsilon tolerance 1e-006 field k tolerance 1e-006 field h tolerance 1e-006 field p tolerance 1e-006 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST Selecting patchDistMethod meshWave kOmegaSSTCoeffs { alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.55555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } No MRF models present No finite volume options present Starting time loop Time = 1 DILUPBiCCCG: Solving for Ux: solution singularity DILUPBiCCCG: Solving for Uy: solution singularity DILUPBiCCCG: Solving for Uz: solution singularity |
|
December 29, 2017, 12:13 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
I think the solver detected a singular matrix. May be all velocities are zero or at least the same and no pressure gradient.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
December 29, 2017, 12:18 |
|
#3 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
I think the solver detected a singular matrix. May be all velocities are zero or at least the same and no pressure gradient.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
December 30, 2017, 02:52 |
|
#4 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Thanks for the reply in the vacation period.
My BCs are, Inlet Ptotal = 0 Outlet Pstat = 0 And I have a fan source in the domain. I am posting the fan BC from p file here. Code:
sfan_23_half0 { type fan; patchType cyclic; f List<scalar> 3(111 -222 333); value uniform 0; } sfan_23_half1 { type fan; patchType cyclic; f List<scalar> 3(111 -222 333); value uniform 0; } |
|
December 30, 2017, 03:01 |
|
#5 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
I don't know your case en détail, but cyclic boundary conditions may be problematic. You have to ensure that the the inlet measures are identical to the ones at the outlet AND that this is physical realistic.
As far as I understand: You have your fan among the calculated region. Therefore cyclic is not suitable. It is nonphysical too, that the pressure at the one end is the same as at the other. A fan increases the pressure.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
December 30, 2017, 03:32 |
|
#6 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Thanks for the reply.
If i have understood you correctly, Fan can not be given like that. This is the only way I know to give internal fan curve. This is a facezone where I have created this patch. Before the actual problem I created a test case where I put same fan BC in a pipe and put a porous media cellzone and computed successfully. I have attached the test case picture. When I actually use the patch in the case, it gives this error. There is no change only the geometry, mesh and fan equation. Another interesting observation. It runs on single core, and as soon as I switch to multiple cores it gives singularity error. |
|
January 28, 2018, 00:30 |
|
#7 |
Member
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Just to close the matter.
The error was due to the singular matrix as mentioned by Piu58. The error vanishes if I initialize it in the U file (Internal field). Even though, I do not initialize the error vanishes in the second iteration. As I understand there is no 'excitation' in the field to start the flow, so it gives singular matrix. The pressure jump is dependent on flow and flow is dependent on pressure jump, so it requires initialization. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exact solution of Burgers equation | mcaro | Main CFD Forum | 3 | January 25, 2011 07:46 |
Errors in compling icoFsiFoam | jin_xu | OpenFOAM Running, Solving & CFD | 5 | June 4, 2008 21:15 |
How to add the RhO to the icoStructFoam | msha | OpenFOAM Running, Solving & CFD | 8 | January 25, 2008 09:46 |
Rookiequestions error solution singularity etc | ham | OpenFOAM Running, Solving & CFD | 3 | June 1, 2006 03:47 |
Problem with jet flow | braennstroem | OpenFOAM Running, Solving & CFD | 16 | May 15, 2006 03:23 |