CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

incompatibale fields for operation -Error

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2018, 06:51
Default incompatibale fields for operation -Error
New Member
Kurian JV
Join Date: Mar 2018
Posts: 11
Rep Power: 2
kuria is on a distinguished road

I am trying to solve the following equation:
solve ( fvm::laplacian(A,P)==delta*fvm::laplacian(A) );

where units of A - [0 0 0 0 0 0 0]
P - [1 2 -3 0 0 -1 0]
and delta - [1 2 -3 0 0 -1 0]

When I run the solver, it gives me the following error:
incompatible fields for operation
[P] == [A]

From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam::fvMatrix<Type>&, const char*) [with Type = double]
in file /opt/openfoam5/src/finiteVolume/lnInclude/fvMatrix.C at line 1272

I am not sure why the error shows up, because the dimensions match on both sides of the equation.

Any thoughts?
kuria is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 21:48
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31

All times are GMT -4. The time now is 06:40.