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

Fatal Error using pimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2020, 12:46
Default Fatal Error using pimpleFoam
  #1
New Member
 
Join Date: Feb 2020
Posts: 5
Rep Power: 6
Lorg is on a distinguished road
Hello everyone! I am pretty new to OpenFoam.



I am trying to simulate a rotating rim using pimpleFoam. I am mainly trying to use the propeller tutorial case on my problem. I get the following weird error message in the pimpleFoam log file for all 4 Procs:



Code:
1] --> FOAM FATAL ERROR: 
[1] 
    [pcorr[1 -3 -1 0 0 0 0] ] == [div(phi)[0 0 -1 0 0 0 0] ]
[1] 
[1]     From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam::DimensionedField<Type, Foam::volMesh>&, const char*) [with Type = double]
[1]     in file /opt/OpenFoam-src/OpenFOAM-dev/src/finiteVolume/lnInclude/fvMatrix.C at line 1277.
[1] 
FOAM parallel run aborting

Does anyone know what the reason could be?



Thanks!
Lorg is offline   Reply With Quote

Old   February 25, 2020, 05:10
Default
  #2
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Check if you have provided dimensions of input fields correctly.
ybapat is offline   Reply With Quote

Old   February 25, 2020, 07:13
Default
  #3
New Member
 
Join Date: Feb 2020
Posts: 5
Rep Power: 6
Lorg is on a distinguished road
Thanks!


I thought my dimensions were correct but apparently you have to use [0 2 -2 0 0 0 0] for pressure when using pimpleFoam instead of [1 -1 -2 0 0 0 0] which is the normal unit for pressure. That confused me.
Lorg is offline   Reply With Quote

Old   February 26, 2020, 04:17
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,170
Rep Power: 27
Yann will become famous soon enough
Hi Lorg,

All incompressible solvers in OpenFOAM uses pressure normalised by density. This is why your pressure file has the dimension [0 2 -2 0 0 0 0].

https://openfoamwiki.net/index.php/O..._common_fields

Cheers,
Yann
Yann is offline   Reply With Quote

Old   February 26, 2020, 06:01
Default
  #5
New Member
 
Join Date: Feb 2020
Posts: 5
Rep Power: 6
Lorg is on a distinguished road
Ah cool, that makes sense. Thanks Yann!
Lorg is offline   Reply With Quote

Reply


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
pimpleFoam runs slower than rhoPimpleFoam Kosuke Seto OpenFOAM Running, Solving & CFD 3 May 27, 2023 14:12
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
[snappyHexMesh] sHM: FATAL ERROR: More than six unsigned transforms detected Djub OpenFOAM Meshing & Mesh Conversion 0 July 15, 2014 04:43
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 20:38.