|
[Sponsors] |
TurbDyMFoam Unknown dynamicFvMesh type mixerFvMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 26, 2008, 10:41 |
Hi
I tried to simulate a tu
|
#1 |
Member
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17 |
Hi
I tried to simulate a turbulent mixer2D (icoDyMFoam tutorial case) and got the following error: --> FOAM FATAL ERROR : Unknown dynamicFvMesh type mixerFvMesh Valid dynamicFvMesh types are : 7 ( dynamicBodyFvMesh staticFvMesh dynamicBoxFvMesh subsetMotionSolverFvMesh dynamicMotionSolverFvMesh dynamicInkJetFvMesh mixerGgiFvMesh ) I'm using the dev version (14.5.08) from the powerlab webpage and had no problems with icoDyMFoam. Does anybody know why it doesn't work with turbDyMFoam? Regards david |
|
June 27, 2008, 05:13 |
Once again, the solution is si
|
#2 |
Member
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17 |
Once again, the solution is simple. It's necessary to add the entry for the lengine lib in Make/options and to recompile turbDyMFoam.
I have another question concerning the boundary conditions. The tutorial case uses zeroGradient for pressure and movingWallVelocity for U, which means that the flux across the patch is zero. Isn't that completely wrong? I tried to use the type "calculated" but got the following error message: --> FOAM FATAL ERROR : gradientInternalCoeffs cannot be called for a calculatedFvPatchField on patch insideSlider of field U in file .... You are probably trying to solve for a field with a default boundary condition. From function calculatedFvPatchField<type>::gradientInternalCoef fs() const in file /home/hjasak/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/calculatedFv PatchField.C at line 187. Is there a better solution? Regards david |
|
February 14, 2009, 10:19 |
hi guys
i have installed o
|
#3 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
hi guys
i have installed openFoam-1.5-dev version 02/02/09. and i have tried to recompile turbDyMFoam with the lengine but i always got this error: SOURCE=turbDyMFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/dynamicFvMesh/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/dynamicMesh/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/meshTools/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/turbulenceModels/RAS -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/transportModels -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/turbDyMFoam.o In file included from /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Time.H:47, from /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/fvCFD.H:6 , from turbDyMFoam.C:34: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/cpuTime.H:4:3 3: error: asm-generic/cputime.h: No such file or directory In file included from /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/fvCFD.H:6 , from turbDyMFoam.C:34: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Time.H:68: error: expected class-name before ',' token turbDyMFoam.C: In function 'int main(int, char**)': turbDyMFoam.C:153: error: 'class Foam::Time' has no member named 'elapsedCpuTime' /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/readPISOC ontrols.H:3: warning: unused variable 'nCorr' /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/readTimeC ontrols.H:40: warning: unused variable 'maxCo' make: *** [Make/linuxGccDPOpt/turbDyMFoam.o] Error 1 any suggestion? |
|
February 14, 2009, 15:34 |
This specific line does not ma
|
#4 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
This specific line does not make any sense:
>> /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/cpuTime.H:4:3 3: error: asm-generic/cputime.h: No such file or directory << Under OpenFOAM-1.5-dev, cpuTime.H is no longer part of the library OpenFOAM, but is now located under the library OSspecific... Did you, by any chance, extracted your 1.5-dev archive over an already existing 1.4.1-dev local copy? You are also playing with a slightly outdated version of OF-1.5-dev. If you plan to use openFoam-1.5-dev, I would strongly recommend that you restart from scratch by downloading and keeping in sync with the 1.5-dev version available from the Subversion repository on openfoam-extend. You might also want to double check your compiler version... Best of luck. Martin |
|
February 14, 2009, 18:07 |
actually it is an installation
|
#5 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
actually it is an installation from scratch. i have downloaded the packages from the powerlab server in croatia. i have been able to solve some cases (with solvers icoFoam and simpleFoam) but not compile. How can i check the compiler?
|
|
February 15, 2009, 04:52 |
It may be your dependencies ar
|
#6 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
It may be your dependencies are out of date. Try
wclean wmake one more time. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
February 15, 2009, 05:37 |
still i got the same error
|
#7 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
still i got the same error
Making dependency list for source file turbDyMFoam.C SOURCE=turbDyMFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/dynamicFvMesh/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/dynamicMesh/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/meshTools/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/turbulenceModels/RAS -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/transportModels -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/turbDyMFoam.o In file included from /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Time.H:47, from /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/fvCFD.H:6 , from turbDyMFoam.C:34: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/cpuTime.H:4:3 3: error: asm-generic/cputime.h: No such file or directory In file included from /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/fvCFD.H:6 , from turbDyMFoam.C:34: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Time.H:68: error: expected class-name before ',' token turbDyMFoam.C: In function 'int main(int, char**)': turbDyMFoam.C:153: error: 'class Foam::Time' has no member named 'elapsedCpuTime' /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/readPISOC ontrols.H:3: warning: unused variable 'nCorr' /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/readTimeC ontrols.H:40: warning: unused variable 'maxCo' make: *** [Make/linuxGccDPOpt/turbDyMFoam.o] Error 1 |
|
February 15, 2009, 07:44 |
even if i do wclean and wmake
|
#8 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
even if i do wclean and wmake in icoFoam i got the same error so i'm not able to recompile the solvers.
|
|
February 15, 2009, 14:31 |
You are missing a header cputi
|
#9 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
You are missing a header cputime.h that should come with the compiler:
- are you using the system compiler or the one from ThirdParty. - is the compiler properly installed, eg. can you compile and run HelloWorld.cpp - can you use the find or locate command to look for the missing header? Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
February 15, 2009, 22:31 |
The problem is not with turbDy
|
#10 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
The problem is not with turbDyMFoam, but with the library OpenFOAM.
Again, looking for cpuTime.H under /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM is a sign that your initial setup is not right. What happen if you do "wclean; wmake libso" under the directory /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM before trying to compile turbDyMFoam? Martin |
|
February 16, 2009, 01:36 |
with the wmake libso i got thi
|
#11 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
with the wmake libso i got this error at the end of the compiltaion (previously everything was right):
Making dependency list for source file graph/writers/jplotGraph/jplotGraph.C SOURCE=global/global.Cver ; sed s/WM_PROJECT_VERSION/\"1.5-dev\"/ $SOURCE > Make/linuxGccDPOpt/global.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/cfduser-dev/OpenFOAM/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -pthread -c Make/linuxGccDPOpt/global.C -o Make/linuxGccDPOpt/global.o SOURCE=global/dimensionedConstants/dimensionedConstants.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/cfduser-dev/OpenFOAM/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/dimensionedConstants.o In file included from lnInclude/JobInfo.H:45, from Make/linuxGccDPOpt/global.C:58: lnInclude/cpuTime.H:4:33: error: asm-generic/cputime.h: No such file or directory In file included from Make/linuxGccDPOpt/global.C:58: lnInclude/JobInfo.H:68: error: 'cpuTime' does not name a type In file included from Make/linuxGccDPOpt/global.C:82: lnInclude/JobInfo.C: In member function 'void Foam::JobInfo::end(const Foam::word&)': lnInclude/JobInfo.C:133: error: 'cpuTime_' was not declared in this scope SOURCE=global/argList/argList.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/cfduser-dev/OpenFOAM/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/argList.o make: *** [Make/linuxGccDPOpt/global.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from lnInclude/JobInfo.H:45, from global/argList/argList.C:34: lnInclude/cpuTime.H:4:33: error: asm-generic/cputime.h: No such file or directory In file included from global/argList/argList.C:34: lnInclude/JobInfo.H:68: error: 'cpuTime' does not name a type make: *** [Make/linuxGccDPOpt/argList.o] Error 1 cfduser-dev@antonio-laptop:~/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM$ |
|
February 16, 2009, 17:30 |
i finally managed to solve the
|
#12 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
i finally managed to solve the problem compiling again openfoam-dev from scratch. In the installation section there is my post about the openfoam-1.5-dev installation to everybody. Thanks for all the help guys
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TurbDyMFoam Application | jdkummer | OpenFOAM Installation | 2 | November 24, 2011 09:14 |
TurbDyMFoam for dummies | antonio_ing | OpenFOAM Running, Solving & CFD | 6 | September 24, 2010 09:16 |
Extending mixerFvMesh for more than ONE Sliding Interface | jaswi | OpenFOAM Running, Solving & CFD | 5 | March 3, 2009 12:24 |
[Gmsh] GmshToFoam and dynamicFvMesh axi case | elorriaux | OpenFOAM Meshing & Mesh Conversion | 0 | February 23, 2009 11:58 |
How to deal with fields of unknown type | kar | OpenFOAM | 7 | May 22, 2008 07:17 |