|
[Sponsors] |
February 1, 2018, 08:20 |
icoFoam Dimension Fatal Error
|
#1 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
Hi I'm new to OpenFOAM and I am trying to get my first simulation running with icoFoam. However I'm getting this error and I'm not sure how to resolve it.
Any help would be greatly appreciated. Starting time loop Time = 0.005 Courant Number mean: 0.0314136 max: 1.19991 --> FOAM FATAL ERROR: [U[0 1 -2 0 0 0 0] ] == [-grad(p)[0 0 -1 0 0 0 0] ] From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam:imensionedField<Type, Foam::volMesh>&, const char*) [with Type = Foam::Vector<double>] in file /home/pawan/OpenFOAM/OpenFOAM-v1712/src/finiteVolume/lnInclude/fvMatrix.C at line 1346. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&)sh: 1: addr2line: not found addr2line failed #1 Foam::error::abort()sh: 1: addr2line: not found addr2line failed #2 void Foam::checkMethod<Foam::Vector<double> >(Foam::fvMatrix<Foam::Vector<double> > const&, Foam:imensionedField<Foam::Vector<double>, Foam::volMesh> const&, char const*)sh: 1: addr2line: not found addr2line failed #3 ?sh: 1: addr2line: not found addr2line failed #4 ?sh: 1: addr2line: not found addr2line failed #5 __libc_start_mainsh: 1: addr2line: not found addr2line failed #6 ?sh: 1: addr2line: not found addr2line failed Aborted (core dumped) |
|
February 1, 2018, 08:34 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
What is the dimension in your 0/p file?
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
February 1, 2018, 13:48 |
|
#3 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
FoamFile
{ version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform 0; |
|
February 1, 2018, 15:25 |
|
#4 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
This unit is m/s. Are you sure that this is p? It seems to be U.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
February 1, 2018, 15:33 |
|
#5 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
Yes that is the p file, here is the U
FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField |
|
February 1, 2018, 18:47 |
|
#6 |
Member
Join Date: Feb 2016
Posts: 41
Rep Power: 10 |
The 1s in the p file should be 2s bc it's m2/s2. Pressure in of is kinematic pressure
|
|
February 1, 2018, 18:51 |
|
#7 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
That solved the issue, thanks to everybody for their help
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
[OpenFOAM] an error in Calculator's equation | immortality | ParaView | 12 | June 29, 2021 00:10 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |