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

incompatibale fields for operation -Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2018, 05:51
Default incompatibale fields for operation -Error
  #1
Member
 
K
Join Date: Mar 2018
Posts: 34
Rep Power: 8
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


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
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 14:54.