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

icoFoam Dimension Fatal Error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 1, 2018, 09:20
Default icoFoam Dimension Fatal Error
  #1
New Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 24
Rep Power: 2
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, 09:34
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 550
Rep Power: 6
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, 14:48
Default
  #3
New Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 24
Rep Power: 2
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, 16:25
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 550
Rep Power: 6
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, 16:33
Default
  #5
New Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 24
Rep Power: 2
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, 19:47
Default
  #6
New Member
 
Join Date: Feb 2016
Posts: 18
Rep Power: 4
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, 19:51
Default
  #7
New Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 24
Rep Power: 2
Sean95 is on a distinguished road
That solved the issue, thanks to everybody for their help
Sean95 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Native ParaView Reader Bugs tj22 OpenFOAM Paraview & paraFoam 270 January 4, 2016 12:39
Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 225 August 25, 2015 19:43
an error in Calculator's equation immortality OpenFOAM Paraview & paraFoam 11 September 3, 2013 16:18
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48


All times are GMT -4. The time now is 18:39.