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

Error in IcoFoam solver

Register Blogs Community New Posts Updated Threads Search

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2017, 12:44
Default Error in IcoFoam solver
  #1
New Member
 
Sooraj Kamath
Join Date: Sep 2017
Posts: 3
Rep Power: 8
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

--> FOAM FATAL ERROR:

[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
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
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.

Caelan
clapointe is offline   Reply With Quote

Old   October 2, 2017, 03:01
Default
  #3
New Member
 
Quadros
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
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
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

Reply

Tags
icofoam, openfoam, thermal analysis


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 164 November 18, 2023 11:54
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 08:54.