|
[Sponsors] |
Error while running code for binary alloy solidification |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 10, 2020, 07:53 |
Error while running code for binary alloy solidification
|
#1 |
New Member
d durga prasad
Join Date: Nov 2019
Posts: 5
Rep Power: 7 |
Starting time loop
Courant Number mean: 0 max: 0 Time = 0.5 PIMPLE: iteration 1 DILUPBiCGStab: Solving for T, Initial residual = 1, Final residual = 9.11044e-09, No Iterations 33 DILUPBiCGStab: Solving for C, Initial residual = 0.00209571, Final residual = 4.70405e-10, No Iterations 1 THERMO: iteration 1 residual: 0 [0] [0] [0] [2] [2] [2] --> FOAM FATAL ERROR: [2] incompatible dimensions for operation [U[1 -2 -2 0 0 0 0] ] - [U[-1 6 0 0 0 0 0] ] [2] [2] From function [3] [3] [3] --> FOAM FATAL ERROR: [3] incompatible dimensions for operation [U[1 -2 -2 0 0 0 0] ] - [U[-1 6 0 0 0 0 0] ] [3] [3] From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam::fvMatrix<Type>&, const char*) [with Type = Foam::Vector<double>] [3] in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude/fvMatrix.C at line [1] [1] [1] --> FOAM FATAL ERROR: [1] incompatible dimensions for operation [U[1 -2 -2 0 0 0 0] ] - [U[-1 6 0 0 0 0 0] ] [1] [1] From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam::fvMatrix<Type>&, const char*) [with Type = Foam::Vector<double>] [1] in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude/fvMatrix.C at line --> FOAM FATAL ERROR: [0] incompatible dimensions for operation [U[1 -2 -2 0 0 0 0] ] - [U[-1 6 0 0 0 0 0] ] [0] [0] From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam::fvMatrix<Type>&, const char*) [with Type = Foam::Vector<double>] [0] in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude/fvMatrix.C at line 1283. [0] FOAM parallel run aborting I'm getting this error while running my code. could anyone please help me with this? |
|
March 11, 2020, 04:17 |
Inconsistent dimensions
|
#2 |
Member
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10 |
The error is because you are trying to subtract one field from another, and the units of the two fields are not the same.
See the openFOAM input and output guides for guidance. What equations are you solving? You May have missed a multiplicative factor that has dimensions that will make the fields compatible. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the Better Way to Do CFD? | John C. Chien | Main CFD Forum | 54 | April 23, 2001 09:10 |
Open source CFD code development, possible? | Dr. Yazid Bindar | Main CFD Forum | 27 | July 18, 2000 01:18 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 15:34 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 12:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 11:20 |