|
[Sponsors] |
September 30, 2006, 11:10 |
Hi;
I get a problem when I tr
|
#1 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Hi;
I get a problem when I try to compile the solver freeSurface in surfaceTracking (openFoam-1.3_29_08_06) within OpenFoam-1.3. the compilation gives me the error: FreeSurface.C:1390:error:'class Foam::tetDecompositionMotionSolver' has no member named 'twoDMotion'. I search with doxygen and found the 2-D motion corrector pointer in the motion smoother class, but I can't eliminate the error. Can any one here help me to resolve this problem. |
|
September 30, 2006, 11:27 |
Hi,
In order to help you I
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hi,
In order to help you I need more info. For starters, I assume you are compiling my development version, right? Secondly, I cannot find the file called "FreeSurface.C" in the whole of OpenFOAM. Do: foam find . -name FreeSurface.C and give me a result. There is a file called "freeSurface.C" and that compiles and runs without problems: SOURCE=freeSurface.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/hjasak/OpenFOAM/OpenFOAM-1.3/src/finiteArea/lnInclude -I/home/hjasak/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/hjasak/OpenFOAM/OpenFOAM-1.3/src/dynamicMesh/lnInclude -I/home/hjasak/OpenFOAM/OpenFOAM-1.3/src/tetDecompositionMotionSolver/lnInclude -I/home/hjasak/OpenFOAM/OpenFOAM-1.3/src/tetDecompositionFiniteElement/lnInclude -DCELL_DECOMP -I/home/hjasak/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/freeSurface.o Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
September 30, 2006, 17:35 |
Thanks Mr. Hrvoje Jasak for yo
|
#3 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Thanks Mr. Hrvoje Jasak for your replay.
First, excuse me. I made a mistake about the file in my post. Yes, it is freeSurface.c. secondly, The objectif behind my compilation of this solver is to understand the bubbleInterTrackFoam solver which needs (if I'm right) the freeSurface library. In my case, I don't compile your development version at all, but copy the solver in the released version of openFoam-1.3, then the error appears. The final object, is to translate this with the interFoam solver. if you ask me, why I'm doing so, I responde you that: first I'm a new user of CFD and openFoam and I try to developp a script of coupling which couple between some solvers within openFoam without a major modification in the solvers. Thanks you. Merrouche |
|
October 1, 2006, 10:07 |
Hi,
Here is the result of m
|
#4 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Hi,
Here is the result of my compilation. -------------------------------------------------- Making dependency list for source file freeSurface.C Making dependency list for source file makeFreeSurfaceData.C Making dependency list for source file freeSurfacePointDisplacement.C SOURCE_DIR=. SOURCE=freeSurface.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/mer/OpenFOAM/OpenFOAM-1.3/src/finiteArea/lnInclude -I/home/mer/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/mer/OpenFOAM/OpenFOAM-1.3/src/dynamicMesh/lnInclude -I/home/mer/OpenFOAM/OpenFOAM-1.3/src/tetDecompositionMotionSolver/lnInclude -I/home/mer/OpenFOAM/OpenFOAM-1.3/src/tetDecompositionFiniteElement/lnInclude -DFACE_DECOMP -I/home/mer/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/freeSurface.o freeSurface.C: In member function 'void Foam::freeSurface::smooth()': freeSurface.C:1390: error: 'class Foam::tetDecompositionMotionSolver' has no member named 'twoDMotion' make: *** [Make/linuxGcc4DPOpt/freeSurface.o] Error 1 -------------------------------------------------- I can see a difference between yours in : -DCELL_DECOMP and DFACE_DECOMP. any help? Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] SnapShot appears as Black image | maruthamuthu_venkatraman | ParaView | 2 | January 30, 2009 04:22 |
Warning appears | Johnpeter | FLUENT | 0 | July 13, 2007 13:01 |
Why Strouhal no. appears in some NS eqns | zonexo | Main CFD Forum | 2 | July 28, 2006 10:55 |
Restart fails, .lck appears | John | CFX | 2 | April 29, 2005 10:12 |
Incontinuity appears at the grid interface | Ryan | FLUENT | 4 | April 23, 2004 05:13 |