CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

TwoDMotion appears in compilation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 30, 2006, 10:10
Default Hi; I get a problem when I tr
  #1
mer
Member
 
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 8
mer is on a distinguished road
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.
mer is offline   Reply With Quote

Old   September 30, 2006, 10:27
Default Hi, In order to help you I
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   September 30, 2006, 16:35
Default Thanks Mr. Hrvoje Jasak for yo
  #3
mer
Member
 
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 8
mer is on a distinguished road
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
mer is offline   Reply With Quote

Old   October 1, 2006, 09:07
Default Hi, Here is the result of m
  #4
mer
Member
 
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 8
mer is on a distinguished road
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.
mer is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnapShot appears as Black image maruthamuthu_venkatraman OpenFOAM Paraview & paraFoam 2 January 30, 2009 04:22
Warning appears Johnpeter FLUENT 0 July 13, 2007 12:01
Why Strouhal no. appears in some NS eqns zonexo Main CFD Forum 2 July 28, 2006 09:55
Restart fails, .lck appears John CFX 2 April 29, 2005 09:12
Incontinuity appears at the grid interface Ryan FLUENT 4 April 23, 2004 04:13


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