|
[Sponsors] |
November 24, 2006, 21:25 |
I am getting the following err
|
#1 |
New Member
Faroque Hossain
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
I am getting the following error.
----------------------------------------------- --> FOAM FATAL ERROR : incompatible dimensions for operation [U[0 1 -1 0 0 0 0] ] - [U[0 -1 0 0 0 0 0] ] From function checkMethod(const fvMatrix<type>&, const fvMatrix<type>&) in file /home/faroque/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvMatrix.C at line 1024. FOAM aborting Foam::error::printStack(Foam:stream&) Foam::error::abort() ./newApp [0x80525e5] ./newApp [0x8061e31] ./newApp [0x804f354] __libc_start_main __gxx_personality_v0 0Aborted --------------------------------------------- It seem to me problem in the dimension defition for my volScalarField variable. I defined variable dimension like follwoing: dimension [0 0 0 1 0 0 0] Could someone help me? |
|
November 24, 2006, 21:29 |
Your error says the simulation
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Your error says the simulation has failed in the momentum equation - one of the terms you've added has got wrong dimensions.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 24, 2006, 21:56 |
Thanks for the reply.
I have
|
#3 |
New Member
Faroque Hossain
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Thanks for the reply.
I have set the equation in following way.. ------------------------------------------------- solve ( fvm::ddt(T) == fvm::laplacian(T) ); -------------------------------------------------- where T is a volScalarField. Did I make any mistake here? -- Faroque |
|
November 25, 2006, 10:20 |
Hi,
there should be a trans
|
#4 |
Senior Member
Stephan Gerber
Join Date: Mar 2009
Location: Germany
Posts: 118
Rep Power: 17 |
Hi,
there should be a transportcoefficient for temperatur in this kind of equation?! sth like: a*ddt(T)=laplaceian(T),where a is sth like rho*c/lambda. otherwise your dimensions are K/s on the left side and K/m^2 on the right side. for the value of the transport coefficient you should look i a textbook to find something for your material... stephan |
|
November 26, 2006, 07:39 |
hi,
if u want to use the e
|
#5 |
New Member
Adrian Magda
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
hi,
if u want to use the equation like that the code should looke like: solve ( fvm::ddt(T) - fvm::laplacian( dimensionedScalar ( "scal", dimensionSet(0, 2, -1, 0, 0), 1), T) ); } Actually u just multiply with a scalar with unit value 1[m2/s] Adrian |
|
February 19, 2008, 09:56 |
Isn't there a way to tell the
|
#6 |
Senior Member
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17 |
Isn't there a way to tell the solver that space and time variables used for the derivation are dimensionless ?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dimension problem with operation scale | booz | OpenFOAM Pre-Processing | 0 | October 10, 2008 04:57 |
Dimension problem with dyn LES models | fabian_korn | OpenFOAM Running, Solving & CFD | 0 | February 4, 2008 06:35 |
Is one dimension problem possible for Fluent | alpha | FLUENT | 1 | April 7, 2005 06:37 |
problem with grid dimension | nisheet goyal | Phoenics | 1 | June 18, 2001 10:28 |