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

"different mesh for fields" error

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By sabago
  • 1 Post By Anamika
  • 1 Post By anuargimenez

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 12, 2014, 14:48
Default "different mesh for fields" error
  #1
Member
 
Sandra
Join Date: Oct 2014
Posts: 58
Rep Power: 11
sabago is on a distinguished road
Dear all!
I am new to OpenFOAM and I am trying to calculate a variable called vdrop = prefb*Hum+prefc (in vdrop.H) where prefb and prefc are constants defined in the constant folder and Hum is the concentration of the Humidity defined in diffusion. H as fvScalarMatrix HumEqn
(
(fvm::ddt(Hum)) == (fvm::laplacian(DH2Oeff, Hum))
);
HumEqn.solve();
where DH2Oeff is the effective diffusivity of water. The diffusion.H file runs fine but I get the following error when I turn on the vdrop.H. Any help will be much appreciated.

SANDRA

*Error starts here*
FOAM FATAL ERROR:
different mesh for fields vdrop and ((prefb*Hum)+prefc) during operatrion =

From function checkField(gf1, gf2, op)
in file /home/sandra/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/GeometricField.C at line 1122.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2
at ??:?
#3
at ??:?
#4 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#5
at ??:?
Aborted (core dumped)
sabago is offline   Reply With Quote

 


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
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 10:20.