|
[Sponsors] |
Diagonal time-integration of single source term |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2020, 18:59 |
Diagonal time-integration of single source term
|
#1 |
New Member
Join Date: Apr 2011
Posts: 7
Rep Power: 15 |
I am trying to time-integrate only a single source term defined by:
Code:
fvScalarMatrix eqn( fvm::ddt(x) == -fvm::Sp(coeff, x) ); eqn.relax(); eqn.solve(); Code:
[4] --> FOAM FATAL ERROR: [4] lowerPtr_ or upperPtr_ unallocated [4] [4] From function const scalarField& Foam::lduMatrix::lower() const [4] in file matrices/lduMatrix/lduMatrix/lduMatrix.C at line 271. [4] FOAM parallel run aborting Code:
"(x)" { solver PCG; preconditioner diagonal; tolerance 1e-8; relTol 0.001; maxIter 400; } Code:
fvScalarMatrix eqn( fvm::ddt(x) == -fvc::Sp(coeff, x) ); If I comment out the eqn.relax() and just solve, I get a different error: Code:
Foam::error:printStack(Foam::Ostream&) at ??:? [34] #1 Foam::sigFpe::sigHandler(int) at ??:? |
|
July 22, 2020, 08:42 |
|
#2 |
New Member
Join Date: Mar 2020
Posts: 16
Rep Power: 6 |
Hi burgreen,
Did you solve it? I got a similar problem. |
|
December 28, 2022, 18:15 |
bug related problem
|
#3 |
New Member
Raśl Bernal
Join Date: Mar 2018
Posts: 3
Rep Power: 8 |
Hi everyone, this has been discused on this post lowerPtr_ or upperPtr_ unallocated and hjasak says it is related with a bug in the matrix classes. I'm working on a custom solver in OpenFOAM 10 and it works with an explicit source, Code:
fvScalarMatrix Eqn(fvm::ddt(phi) == -source); Eqn.relax(); Eqn.solve(); Code:
solve (fvm::ddt(phi) == -source); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 05:28 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 09:07 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 06:42 |