|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Reza
Join Date: May 2018
Posts: 2
Rep Power: 0 ![]() |
Hello everyone.
I am trying to solve particles distributions inside a box, but when I try to run it, I got an error which is : "--> FOAM FATAL ERROR: LHS and RHS of - have different dimensions dimensions : [0 3 -2 0 0 0 0] - [1 0 -2 0 0 0 0] From function Foam::dimensionSet Foam :: operator-(const Foam::dimensionSet&, const Foam::dimensionSet&) in file dimensionSet/dimensionSet.C at line 527. FOAM aborting " Unfortunately, It didn't show where the problem was. I was wondering if anyone has encountered the same problem. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
Hi,
So you have kg/s² versus m³/s², looks like somewhere there is a density missing. But as you said, there is no clue on where this may be. Maybe this remarks will help you isolate the problem. Good luck, Tom |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Reza
Join Date: May 2018
Posts: 2
Rep Power: 0 ![]() |
Hi Tom.
Thank you for your reply. It was a bit problematic for me to find the issue, but I found out that the p dimension differed from the default dimension in the solver. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Iterating through a field leads to not matching dimensions at some point of the loop | überschwupper | OpenFOAM Programming & Development | 1 | September 1, 2022 08:40 |
Duplicate entries and mismatch of dimensions when using new turbModel | richard.chung.jones | OpenFOAM Programming & Development | 0 | February 23, 2017 03:41 |
Porous media model in OpenFOAM 14 | gac | OpenFOAM Running, Solving & CFD | 21 | August 5, 2013 17:49 |
Error with dimensions (interFoam) | Sagun | OpenFOAM | 4 | September 4, 2012 11:55 |
Dimensions of laplacian in PISO loop | kumar2 | OpenFOAM Running, Solving & CFD | 2 | July 3, 2006 14:34 |