|
[Sponsors] |
December 12, 2014, 14:48 |
"different mesh for fields" error
|
#1 |
Member
Sandra
Join Date: Oct 2014
Posts: 58
Rep Power: 11 |
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) |
|
|
|
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 |