CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Updateproblem v13 (http://www.cfd-online.com/Forums/openfoam-pre-processing/62204-updateproblem-v13.html)

newbee April 25, 2006 06:40

Hi, Ive switched from v1.2 to
 
Hi, Ive switched from v1.2 to v1.3 and am now trying to compile one of my applications in the new version.

I get the following error message:

erik@compadre:~/OpenFOAM/erik-1.3/applications/hSimpleFoam$ wmake
make: *** No rule to make target `hSimpleFoam.dep', needed by `Make/linuxGcc4DPOpt/dependencies'. Stop.
erik@compadre:~/OpenFOAM/erik-1.3/applications/hSimpleFoam$

could anybody give me a hint on what im doing wrong?

Thanks
/Erik

newbee April 25, 2006 07:12

Hi again, Im trying to do the
 
Hi again, Im trying to do the following calculation in one of my .H files.

fvm::div(phi, T)
- fvm::laplacian(alphaEff, T)

when compiling this application I get the following error message:

TT.H: In function 'int main(int, char**)':
TT.H:43: error: no matching function for call to 'div(Foam::surfaceScalarField&, <unresolved>)'
TT.H:44: error: no matching function for call to 'laplacian(Foam::volScalarField&, <unresolved>

This equation used to work in v1.2 so I guess that there has been a change in how to call the solvers

Thankfull for help
/Erik

tak April 25, 2006 10:21

Hi, Please try to change y
 
Hi,

Please try to change your "Make/options" file like this:

EXE_INC = \
.....
-I$(LIB_SRC)/finiteVolume/.... \
.....

EXE_LIBS = \
....
-lfiniteVolume \
....


Maybe, "/src/cfdTools" in ver1.2 is changed to /src/finiteVolume" in ver1.3.

good luck !


All times are GMT -4. The time now is 18:32.