Error in IcoFoam solver
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::DimensionedField<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. |
Looks like a units issue -- check to make sure that the dimensions are set correctly in the U and p files.
Caelan |
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 |
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). |
All times are GMT -4. The time now is 18:48. |