|
[Sponsors] |
September 4, 2012, 11:31 |
Error with dimensions (interFoam)
|
#1 |
Member
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 14 |
Hello,
I am getting this error while trying to run my case files: --> FOAM FATAL ERROR: LHS and RHS of + have different dimensions dimensions : [0 2 -2 0 0 0 0] + [1 -1 -2 0 0 0 0] From function operator+(const dimensionSet&, const dimensionSet&) in file dimensionSet/dimensionSet.C at line 514. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Foam:perator+(Foam::dimensionSet const&, Foam::dimensionSet const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #3 at interFoam.C:0 #4 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/interFoam" #5 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #6 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/interFoam" I think this has something to do with the dimensions of pressure (the ones which I have used are [0 2 -2 0 0 0 0]). Any help will be much appreciated. |
|
September 4, 2012, 11:44 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Dimension of pressure in interFoam should be [1 -1 -2 0 0 0 0];
In incompressible and single phase solver, usually, p/rho is used instead of just p. You're trying to use the former one for interFoam, which is not correct. |
|
September 4, 2012, 12:29 |
Thank you!
|
#3 |
Member
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 14 |
Thank you so much. It worked!
But now I am getting time step continuity errors in my simulations. I just went through some of the old forums on the same and found out that they are related to the pressure solver tolerance. Typical values that I'm getting: time step continuity errors : sum local = 6.68285e-06, global = -5.08031e-07, cumulative = -0.000199826 Is the cumulative value too big and a cause for concern? If yes, how can I fix it? |
|
September 4, 2012, 12:49 |
|
#4 | |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Quote:
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
||
September 4, 2012, 12:55 |
|
#5 |
Member
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 14 |
Hello!
No I haven't tried that yet since my simulations are still running. I figured that I should let it run atleast once and see what the results looks like. But is the cumulative value too large and something to be worried about? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam stops after deltaT goes to 1e14 | francesco_b | OpenFOAM Running, Solving & CFD | 9 | July 25, 2020 07:36 |
Outlet BC with Interfoam | danvica | OpenFOAM Running, Solving & CFD | 7 | June 14, 2012 10:00 |
Different solutions comparing pisoFoam and interFoam | AnjaMiehe | OpenFOAM Running, Solving & CFD | 8 | June 13, 2012 17:12 |
Slow interFoam compared with other CFD tools? | Ralph M | OpenFOAM Programming & Development | 1 | November 17, 2010 07:46 |
Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 22:58 |