CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Question regarding to viscoelasticFluidFoam on OpenFOAM-2.1.x (http://www.cfd-online.com/Forums/openfoam-solving/102645-question-regarding-viscoelasticfluidfoam-openfoam-2-1-x.html)

samegypt May 30, 2012 14:32

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.
  • Please let me know the steps that I can follow in order to install or allow me to run any viscoelastic model without getting error in using the viscoelastic library.
  • One more question, is the provided code results validated and can be trusted.
thanks, and best regards.

kmooney May 30, 2012 17:08

Quote:

Originally Posted by samegypt (Post 363891)
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.
  • Please let me know the steps that I can follow in order to install or allow me to run any viscoelastic model without getting error in using the viscoelastic library.
  • One more question, is the provided code results validated and can be trusted.
thanks, and best regards.

Hi Samir,

Is it possible to install OpenFOAM-1.6-ext instead? That will come with viscoelasticFluidFoam and might make your a life a bit easier.

samegypt May 30, 2012 17:16

Quote:

Originally Posted by kmooney (Post 363910)
Hi Samir,

Is it possible to install OpenFOAM-1.6-ext instead? That will come with viscoelasticFluidFoam and might make your a life a bit easier.


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

kmooney May 30, 2012 17:30

Quote:

Originally Posted by samegypt (Post 363913)
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

Looks like you should decompress the tar ball in the ~/OpenFOAM/OpenFOAM-2.0.x/ directory. After that just run the install script:

Code:

./wmakeViscoelasticFluidFoam
It worked for me right out of the box.

samegypt May 30, 2012 18:03

Quote:

Originally Posted by kmooney (Post 363910)
Hi Samir,

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:

Originally Posted by kmooney (Post 363915)
Looks like you should decompress the tar ball in the ~/OpenFOAM/OpenFOAM-2.0.x/ directory. After that just run the install script:

Code:

./wmakeViscoelasticFluidFoam
It worked for me right out of the box.

Dear Kyle,
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

kmooney May 31, 2012 10:00

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 :

4
(
BICCG
GAMG
PBiCG
smoothSolver
)

Also, this is where Foam had encountered the problem:
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.
Since this is a pretty entry level error you might want to spend a little more time running tutorials or doing the examples in the users guide. It might give you a better feel for troubleshooting.

samegypt May 31, 2012 22:47

Quote:

Originally Posted by kmooney (Post 364049)
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 :

4
(
BICCG
GAMG
PBiCG
smoothSolver
)

Also, this is where Foam had encountered the problem:
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.
Since this is a pretty entry level error you might want to spend a little more time running tutorials or doing the examples in the users guide. It might give you a better feel for troubleshooting.


thanks for assistance.
Samir


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