CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Solution Singularity

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2017, 10:54
Default Solution Singularity
  #1
Member
 
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17
Carno is on a distinguished road
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
Carno is offline   Reply With Quote

Old   December 29, 2017, 11:13
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   December 29, 2017, 11:18
Default
  #3
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I think the solver detected a singular matrix. May be all velocities are zero or at least the same and no pressure gradient.
kcavatar likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   December 30, 2017, 01:52
Default
  #4
Member
 
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17
Carno is on a distinguished road
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;
    }
The solution runs on single processor. But problem comes on multi-processor.
Carno is offline   Reply With Quote

Old   December 30, 2017, 02:01
Default
  #5
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   December 30, 2017, 02:32
Default
  #6
Member
 
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17
Carno is on a distinguished road
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.
Attached Images
File Type: jpg Untitled.jpg (19.0 KB, 15 views)
Carno is offline   Reply With Quote

Old   January 27, 2018, 23:30
Default
  #7
Member
 
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17
Carno is on a distinguished road
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.
Carno is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exact solution of Burgers equation mcaro Main CFD Forum 3 January 25, 2011 06:46
Errors in compling icoFsiFoam jin_xu OpenFOAM Running, Solving & CFD 5 June 4, 2008 20:15
How to add the RhO to the icoStructFoam msha OpenFOAM Running, Solving & CFD 8 January 25, 2008 08:46
Rookiequestions error solution singularity etc ham OpenFOAM Running, Solving & CFD 3 June 1, 2006 02:47
Problem with jet flow braennstroem OpenFOAM Running, Solving & CFD 16 May 15, 2006 02:23


All times are GMT -4. The time now is 09:55.