Question regarding to viscoelasticFluidFoam on OpenFOAM-2.1.x
Dear all,
my name is Samir, it is my first time to use OpenFoam, I started reading and understanding the program structure, Kindly, I like to know, How I can embedd or install viscoelasticFluidFoam on OpenFOAM-2.1.x, shall I copy the files I download from http://sourceforge.net/projects/vffo...x.tgz/download to the OpenFoam directory, I am using ubuntu 12.04.
|
Quote:
Is it possible to install OpenFOAM-1.6-ext instead? That will come with viscoelasticFluidFoam and might make your a life a bit easier. |
Quote:
Dear Kyle, Thanks for you replay, currently, I am working onOpenFOAM-2.1.x. Kindly, if you know, is it possible to write to me the steps of how to use viscoelasticFluidFoam on OpenFOAM-2.1.x Thanks Samir |
Quote:
Code:
./wmakeViscoelasticFluidFoam |
Quote:
Quote:
please, I like to ask one more question, I try to run one of the cases from the tutorial, viscoelasticFluidFoam, Oldroyd-B, it gave me the following error. for running the tutorial case I first went to the Oldroyd-B tutorial test case directory, then I start with generating the mesh by using blockMesh, followed by writing viscoelasticFluidFoam for running the test case, so it gave me the following error, I do not know why it gave that error, could you please check it. the tutorial like is http://dl.dropbox.com/u/80875880/Oldroyd-B.tar.gz Thanks Samir ================================================== ========== sadek@sadek:~/OpenFOAM/sadek-2.1.0/run/tutorials/viscoelastic/viscoelasticFluidFoam/Oldroyd-B$ viscoelasticFluidFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-bd7367f93311 Exec : viscoelasticFluidFoam Date : May 30 2012 Time : 21:48:34 Host : "sadek" PID : 22797 Case : /home/sadek/OpenFOAM/sadek-2.1.0/run/tutorials/viscoelastic/viscoelasticFluidFoam/Oldroyd-B nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p Reading field U Reading/calculating face flux field phi Selecting viscoelastic model Oldroyd-B Starting time loop Courant Number mean: 6.54561e-07 max: 1.84912e-05 deltaT = 1.19999e-05 Time = 1.19999e-05 --> FOAM FATAL IO ERROR: Unknown asymmetric matrix solver BiCGStab Valid asymmetric matrix solvers are : 4 ( BICCG GAMG PBiCG smoothSolver ) file: /home/sadek/OpenFOAM/sadek-2.1.0/run/tutorials/viscoelastic/viscoelasticFluidFoam/Oldroyd-B/system/fvSolution::solvers::U from line 47 to line 56. From function lduMatrix::solver::New in file matrices/lduMatrix/lduMatrix/lduMatrixSolver.C at line 106. FOAM exiting |
BiCGStab (Stabilized BiCongugate Gradient) is a linear solver that is only implemented in the 1.6-ext version. Because you are using 2.x.x, Foam cannot find that solution method. There are a lot of hints in the error output that can help you understand the issue.
For Example: These are the supported symmetric solvers that you might be able to use instead of BiCGStab: Code:
Valid asymmetric matrix solvers are : Code:
file: /home/sadek/OpenFOAM/sadek-2.1.0/run/tutorials/viscoelastic/viscoelasticFluidFoam/Oldroyd-B/system/fvSolution::solvers::U from line 47 to line 56. |
Quote:
thanks for assistance. Samir |
Hi all
I want to compile viscoelastic solver but I faced this error: Code:
fatal error: viscoelasticModel.H: No such file or directory Thanks |
> fatal error: viscoelasticModel.H: No such file or directory
Somewhere before this line you find which file is missing. |
Quote:
Hi Thanks for your answer This is all of the message: Code:
SOURCE=buoyantBoussinesqPimpleViscoFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I../buoyantBoussinesqSimpleFoam -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/fvOptions/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/incompressible/RAS/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/transportModels -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/incompressible/singlePhaseTransportModel -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/radiationModels/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/viscoelastic/lnInclude -IlnInclude -I. -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/ali/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/buoyantBoussinesqPimpleViscoFoam.o |
All times are GMT -4. The time now is 22:08. |