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

Question regarding to viscoelasticFluidFoam on OpenFOAM-2.1.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 14
Rep Power: 13
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: San Francisco, CA USA
Posts: 323
Rep Power: 17
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: 14
Rep Power: 13
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: San Francisco, CA USA
Posts: 323
Rep Power: 17
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: 14
Rep Power: 13
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: San Francisco, CA USA
Posts: 323
Rep Power: 17
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: 14
Rep Power: 13
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

Old   April 16, 2017, 13:51
Default
  #8
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Hi all
I want to compile viscoelastic solver but I faced this error:

Code:
   fatal error: viscoelasticModel.H: No such file or directory
Could you plz help me?
Thanks
alimea is offline   Reply With Quote

Old   April 16, 2017, 14:37
Default
  #9
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
> fatal error: viscoelasticModel.H: No such file or directory

Somewhere before this line you find which file is missing.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   April 16, 2017, 16:13
Default
  #10
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Quote:
Originally Posted by piu58 View Post
> fatal error: viscoelasticModel.H: No such file or directory

Somewhere before this line you find which file is missing.

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
buoyantBoussinesqPimpleViscoFoam.C:51:31: fatal error: viscoelasticModel.H: No such file or directory
compilation terminated.
buoyantBoussinesqPimpleViscoFoam.dep:712: recipe for target 'Make/linux64GccDPOpt/buoyantBoussinesqPimpleViscoFoam.o' failed
make: *** [Make/linux64GccDPOpt/buoyantBoussinesqPimpleViscoFoam.o] Error 1
alimea is offline   Reply With Quote

Reply


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 Off
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
[mesh manipulation] 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 14:47.