|
[Sponsors] |
September 19, 2017, 13:44 |
Error in IcoFoam solver
|
#1 |
New Member
Sooraj Kamath
Join Date: Sep 2017
Posts: 3
Rep Power: 9 |
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 15:13. |
|
September 29, 2017, 19:53 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
Looks like a units issue -- check to make sure that the dimensions are set correctly in the U and p files.
Caelan |
|
October 2, 2017, 04:01 |
|
#3 |
New Member
Quadros
Join Date: Sep 2017
Posts: 2
Rep Power: 0 |
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 |
|
October 2, 2017, 08:52 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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).
__________________
Keep foaming, Tobias Holzmann |
|
Tags |
icofoam, openfoam, thermal analysis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Population Balance Modeling (PBM) - Ansys Fluent | chittipo | FLUENT | 164 | November 18, 2023 12:54 |
Why icoFoam solver results are not true for cavity (10000>Re>5000) ? | maysmech | OpenFOAM | 9 | February 4, 2020 10:42 |
Finally starting to explore OpenFOAM, questions on icoFoam solver... | JasonG | OpenFOAM Running, Solving & CFD | 20 | July 11, 2012 21:08 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |