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

Incompatible fields for operation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2008, 06:44
Default Hi Khaled From the mess
  #1
Senior Member
 
su_junwei's Avatar
 
su junwei
Join Date: Mar 2009
Location: Xi'an China
Posts: 151
Rep Power: 20
su_junwei is on a distinguished road
Send a message via MSN to su_junwei
Hi Khaled

From the message above, we can infer that the type of alpha and U are incompatible. for instance, volScalarField + volVectorField

I also noticed that the code segment below
+ fvm::Sp(ix, alpha)
it is a impilit operation, if alpha and U are not the same object, adding them will also cause the problems.

Hope this helps

Junwei
su_junwei is offline   Reply With Quote

Old   October 15, 2008, 08:34
Default Hi Junwei, thanks for the a
  #2
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 17
booz is on a distinguished road
Hi Junwei,

thanks for the answer.
For alpha i add

volVectorField alpha
(
IOobject
(
"alpha",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);

I thought for ix it is enough to be a volScalar or a Scalar.

Khaled
booz 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
Incompatible fields for operation divphi Ub vvqf OpenFOAM Running, Solving & CFD 4 April 4, 2018 03:28
Incompatible fields for operation tehache OpenFOAM Running, Solving & CFD 5 January 30, 2018 15:32
incompatible fields for operationproblem in simpleFoam kbr OpenFOAM Running, Solving & CFD 3 March 10, 2009 10:25
TurbFoam simpleFoam incompatible fields for operation braennstroem OpenFOAM Running, Solving & CFD 0 June 19, 2008 10:43
The incompatible of UDF Summer FLUENT 3 April 23, 2007 04:11


All times are GMT -4. The time now is 22:59.