CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

incompatibale fields for operation -Error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 12, 2018, 05:51
Default incompatibale fields for operation -Error
  #1
New Member
 
Kurian JV
Join Date: Mar 2018
Posts: 6
Rep Power: 2
kuria is on a distinguished road
Hey!

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

Reply

Thread Tools
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 06:35
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


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