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

icoFoam Dimension Fatal Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2018, 08:20
Default icoFoam Dimension Fatal Error
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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)
Sean95 is offline   Reply With Quote

Old   February 1, 2018, 08:34
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
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)
piu58 is offline   Reply With Quote

Old   February 1, 2018, 13:48
Default
  #3
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform 0;
Sean95 is offline   Reply With Quote

Old   February 1, 2018, 15:25
Default
  #4
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
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)
piu58 is offline   Reply With Quote

Old   February 1, 2018, 15:33
Default
  #5
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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
Sean95 is offline   Reply With Quote

Old   February 1, 2018, 18:47
Default
  #6
Member
 
Join Date: Feb 2016
Posts: 41
Rep Power: 10
LeeRuns is on a distinguished road
The 1s in the p file should be 2s bc it's m2/s2. Pressure in of is kinematic pressure
LeeRuns is offline   Reply With Quote

Old   February 1, 2018, 18:51
Default
  #7
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
That solved the issue, thanks to everybody for their help
Sean95 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
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


All times are GMT -4. The time now is 02:52.