CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Error in IcoFoam solver

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

Like Tree2Likes
  • 1 Post By Quadrolabs
  • 1 Post By Tobi

LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2017, 12:44
Default Error in IcoFoam solver
New Member
Sooraj Kamath
Join Date: Sep 2017
Posts: 3
Rep Power: 6
Turbuent_FOAMer is on a distinguished road
Hey guys,
I'm new to OpenFOAM. I've gone through the materials but I'm not able to solve this particular error that I encountered while running a case in IcoFoam


[U[0 1 -2 0 0 0 0] ] == [-grad(p)[1 -2 -2 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/ubuntu/OpenFOAM/OpenFOAM-4.1/src/finiteVolume/lnInclude/fvMatrix.C at line 1292.

Please let me know where I am going wrong and how I can correct it. TIA

EDIT: Solved.

Last edited by Turbuent_FOAMer; September 19, 2017 at 14:13.
Turbuent_FOAMer is offline   Reply With Quote

Old   September 29, 2017, 18:53
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 12
clapointe is on a distinguished road
Looks like a units issue -- check to make sure that the dimensions are set correctly in the U and p files.

clapointe is offline   Reply With Quote

Old   October 2, 2017, 03:01
New Member
Join Date: Sep 2017
Posts: 2
Rep Power: 0
Quadrolabs is on a distinguished road
Can you upload your case file. Check the unit for pressure field file. icoFoam is an incompressible solver. incompressible solver uses pressure as p/rho. so the unit of pressure should be used as [ 0 2 -2 0 0 0 0 ]. For a case of compressible solver you should use [ 1 -1 -2 0 0 0 0].

kindly update how you solve the problem.

Thank you
Tobi likes this.
Quadrolabs is offline   Reply With Quote

Old   October 2, 2017, 07:52
Super Moderator
Tobi's Avatar
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,657
Blog Entries: 6
Rep Power: 48
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

@sooray. You edited your post and mentioned nothing about the problem. Please tell other people what the problem was to help others with the same problem . However, I guess the mentioned problem of Quadrolabs is the solution (pressure had wrong units).
Quadrolabs likes this.
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote


icofoam, openfoam, thermal analysis

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Population Balance Modeling (PBM) - Ansys Fluent chittipo FLUENT 157 March 23, 2022 10:24
Why icoFoam solver results are not true for cavity (10000>Re>5000) ? maysmech OpenFOAM 9 February 4, 2020 09:42
Finally starting to explore OpenFOAM, questions on icoFoam solver... JasonG OpenFOAM Running, Solving & CFD 20 July 11, 2012 20:08
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08

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