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

Question regarding to viscoelasticFluidFoam on OpenFOAM-2.1.x

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 30, 2012, 13:32
Default Question regarding to viscoelasticFluidFoam on OpenFOAM-2.1.x
  #1
New Member
 
Samir
Join Date: May 2012
Posts: 11
Rep Power: 5
samegypt is on a distinguished road
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.
samegypt is offline   Reply With Quote

Old   May 30, 2012, 16:08
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 279
Rep Power: 9
kmooney is on a distinguished road
Quote:
Originally Posted by samegypt View Post
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.
kmooney is offline   Reply With Quote

Old   May 30, 2012, 16:16
Default
  #3
New Member
 
Samir
Join Date: May 2012
Posts: 11
Rep Power: 5
samegypt is on a distinguished road
Quote:
Originally Posted by kmooney View Post
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
samegypt is offline   Reply With Quote

Old   May 30, 2012, 16:30
Default
  #4
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 279
Rep Power: 9
kmooney is on a distinguished road
Quote:
Originally Posted by samegypt View Post
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.
kmooney is offline   Reply With Quote

Old   May 30, 2012, 17:03
Default
  #5
New Member
 
Samir
Join Date: May 2012
Posts: 11
Rep Power: 5
samegypt is on a distinguished road
Quote:
Originally Posted by kmooney View Post
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 View Post
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
samegypt is offline   Reply With Quote

Old   May 31, 2012, 09:00
Default
  #6
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 279
Rep Power: 9
kmooney is on a distinguished road
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.
kmooney is offline   Reply With Quote

Old   May 31, 2012, 21:47
Default
  #7
New Member
 
Samir
Join Date: May 2012
Posts: 11
Rep Power: 5
samegypt is on a distinguished road
Quote:
Originally Posted by kmooney View Post
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
samegypt 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
Openfoam optimization question atareen64 OpenFOAM 3 June 1, 2011 08:36
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
createPatch / cyclicGgi / OpenFoam 1.5-dev OFU OpenFOAM Meshing & Mesh Conversion 0 June 16, 2010 04:36
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Questions for the bdivb function in OpenFOAM gkang OpenFOAM Running, Solving & CFD 3 May 13, 2006 11:11


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