|
[Sponsors] |
May 6, 2012, 17:02 |
viscoelasticFluidFoam for OpenFOAM-2.1.x
|
#181 |
Member
|
Hello Dear Foamers,
Bellow you find a ported version of the viscoelasticFluidFoam solver for the OpenFOAM-2.1.x. The actual version found on OpenFOAM-1.6-ext do not compile in the OpenFOAM-2.1.x because some differences in the return of the dot product. The credits of this work is to João Felipe Mitre. http://dl.dropbox.com/u/4495083/visc...FOAM-2.1.x.tgz Obs.: Tutorial cases was not ported! Regards, Jovani |
|
May 7, 2012, 02:26 |
|
#182 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Dear Jovani
Would you please upload it on sourceforg or google or ifile? The address you have shared is not available for me. Thanks a lot |
|
May 9, 2012, 20:19 |
|
#183 |
Member
|
It is now also available to download on:
http://sourceforge.net/projects/vffo...x.tgz/download Regards, Jovani |
|
May 10, 2012, 04:53 |
|
#184 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi
Thanks a lot |
|
May 21, 2012, 21:25 |
|
#185 | |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Quote:
Thanks again! |
||
May 30, 2012, 11:50 |
Question regarding to viscoelasticFluidFoam on OpenFOAM-2.1.x
|
#186 |
New Member
Samir
Join Date: May 2012
Posts: 14
Rep Power: 14 |
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 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.
|
|
June 15, 2012, 06:54 |
Devss
|
#187 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Dear Jovani and others,
I'm not quite sure where to post my question on this forum, so I chose to just reply to what seems to be the most active thread on viscoelasticFluidFOAM. Up to now, I've been trying and playing around with viscoelasticFluidFOAM, to get familiar with it. Everything seems to work fine, at least for steady state cases, so now I'm getting more confident and I'd like to proceed to unsteady cases, in particular, a 4:1 contraction at high Weissenberg numbers, using a linear simplified PTT model (in fact, I'm trying to reproduce results of Afonso et al., J. Fluid Mech. (2011), vol. 677, pp. 272-304). In general it's not a very good idea to use stabilising techniques like DEVSS in unsteady flows, as in this case DEVSS just comes down to adding a lot of artificial diffusion to your problem, which makes it less accurate. So now I'm wondering: how can I "turn off" DEVSS, or at least reduce the value of kappa, in viscoelasticFluidFOAM? Thanks in advance for your reply, Regards, Sita P. S. I already tried a simulation at Wi = 100 with the code as it is, so with DEVSS. This gives me results that are very different from the results of Afonso et al. (much smaller corner vortices, no time-dependence and no asymmetry whatsoever). By the way, Afonso et al. use the log-conformation tensor approach, which also may improve accuracy, so maybe it's just not fair to compare my results with theirs. |
|
June 17, 2012, 17:57 |
|
#188 | |
Member
|
Quote:
Hello dear Sita, There is an old post where you find some hints about transient simulation using the viscoelasticFluidFoam solver: http://www.cfd-online.com/Forums/ope...fluidfoam.html To turn off the stabilising technique used in the solver go to the main file of the viscoelastc model you want and do the etaPEff = 0 in the divTau() funtion or take out the laplacian contributions in that terms that use etaPEff. I think log-conformation formulation do not improve accuracy, but just stabilize for HWNP. Regards, Jovani |
||
June 18, 2012, 02:35 |
|
#189 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Great, thanks a lot, I'll try this and see what happens.
|
|
June 30, 2012, 19:36 |
Use single mode instead multimode
|
#190 |
Member
Amin Shariat KHah
Join Date: Apr 2011
Location: Shiraz
Posts: 86
Rep Power: 15 |
Hi dear Foamers
Some modelss like "Geuisekess" use 4 modes for solving cases. If I want use single mode what should I do? Is it enough to put zero for viscoelastic properties for 3 useless modes? Thanks very much |
|
July 1, 2012, 04:58 |
|
#191 |
Member
|
ok dear Amin,
just open the viscoelasticProperties of Giesekus Case and remove second,third and fourth modes on it. Kind Regards ______________ Rasoul |
|
September 6, 2012, 08:10 |
|
#192 |
New Member
sandip desai
Join Date: Jul 2012
Location: Pune, India
Posts: 7
Rep Power: 14 |
Hiiii,
I am sandip. I am working with OpenFoam 2.0.1 (with Ubuntu 10.04), I am facing difficulty to install the ViscoelasticFluidFoam solver. Anybody, pls tell me what commands i need to follow.. thanks, Sandip. |
|
September 8, 2012, 06:04 |
|
#193 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi
Would you please explain the problem by details? |
|
September 10, 2012, 05:01 |
hii..
|
#194 |
New Member
sandip desai
Join Date: Jul 2012
Location: Pune, India
Posts: 7
Rep Power: 14 |
Hi ata,
Thanks for your reply.. While installing ViscoelasticFluidFoam, I used following commands - cd src/transportModels/viscoelastic/ wmake libso && cd - cd applications/solvers/viscoelastic/viscoelasticFluidFoam/ wmake && cd - and I got the following error - root@sandip-desktop:/home/sandip/viscoelasticFluidFoam-1.0-OpenFOAM-2.1.x/src/transportModels/viscoelastic# wmake libso && cd - '/opt/openfoam201/platforms/linux64GccDPOpt/lib/libviscoelasticTransportModels.so' is up to date. and then - sandip@sandip-desktop:~/viscoelasticFluidFoam-1.0-OpenFOAM-2.1.x/applications/solvers/viscoelastic/viscoelasticFluidFoam$ wmake && cd - touch: cannot touch `Make/linux64GccDPOpt/dontIncludeDeps': Permission denied SOURCE=viscoelasticFluidFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/transportModels/viscoelastic/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/viscoelasticFluidFoam.o viscoelasticFluidFoam.C:37:31: error: viscoelasticModel.H: No such file or directory In file included from viscoelasticFluidFoam.C:48: createFields.H: In function ‘int main(int, char**)’: createFields.H:37: error: ‘viscoelasticModel’ was not declared in this scope createFields.H:37: error: expected ‘;’ before ‘visco’ viscoelasticFluidFoam.C:76: error: ‘visco’ was not declared in this scope /opt/openfoam211/src/finiteVolume/lnInclude/readPISOControls.H:3: warning: unused variable ‘nOuterCorr’ /opt/openfoam211/src/finiteVolume/lnInclude/readPISOControls.H:12: warning: unused variable ‘momentumPredictor’ /opt/openfoam211/src/finiteVolume/lnInclude/readPISOControls.H:15: warning: unused variable ‘transonic’ make: *** [Make/linux64GccDPOpt/viscoelasticFluidFoam.o] Error 1 Please suggest me what exact steps (commands), i need to follow. regards, Sandip
__________________
- Sandip Desai |
|
September 10, 2012, 07:21 |
|
#195 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi
It seems you have not permission. Try as root user. |
|
September 10, 2012, 07:29 |
|
#196 |
New Member
sandip desai
Join Date: Jul 2012
Location: Pune, India
Posts: 7
Rep Power: 14 |
hii,
I agree, that I have to try it out with root user but is it with same commands ? or what exactly i need to follow ?
__________________
- Sandip Desai |
|
September 11, 2012, 02:51 |
|
#197 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi
As I know, yes it is with the same command. |
|
September 13, 2012, 07:33 |
|
#198 |
Member
Amin Shariat KHah
Join Date: Apr 2011
Location: Shiraz
Posts: 86
Rep Power: 15 |
Hi Dear FOAMERS
I installed ubuntu 12.04. And after installed OF 2.1.1 and paraFoam. They worked already. Now I want to add viscoelatic solver. I Download it and placed in 'RUN' folder in 'home/OpenFOAM/user/RUN' I extracted files and then went to address of files in terminal window and ran: "wmake all" It do a lot of works and for examples makes a folder named platform in its location. but finally it say(some of last lines): make[3]: Leaving directory `/home/amin/OpenFOAM/amin-2.1.1/tutorials/viscoelastic/viscoelasticFluidFoam' make[2]: Leaving directory `/home/amin/OpenFOAM/amin-2.1.1/tutorials/viscoelastic' make[1]: Leaving directory `/home/amin/OpenFOAM/amin-2.1.1/tutorials' make: Target `application' not remade because of errors. What's the matter? What should I do? |
|
September 13, 2012, 07:47 |
|
#199 |
New Member
sandip desai
Join Date: Jul 2012
Location: Pune, India
Posts: 7
Rep Power: 14 |
Hi Foamers,
I followed this procedure and it is working fine nw - 1) The ported version of the viscoelasticFluidFoam solver downloaded from - http://sourceforge.net/projects/vffof21x/. And then extracted to /user/home/ folder. It had 3 directories and 1 file inside, which needs to put into the right place of openfoam dir. Mainly, the 'src' directory need to be in the right place because the compilation of the solver search for this inside src/transportModels, i.e. - a) Copied 'src/transportModels/viscoelastic/' directory to 'opt/openfoam201/src/transportModel' directory. b) Copied 'applications/solvers/viscoelastic/viscoelasticFluidFoam/' directory to 'opt/openfoam201/solver' directory. c) Copied 'tutorials/viscoelastic' directory to 'opt/openfoam201/tutorials' directory. d) Copied the file 'wmakeViscoelasticFluidFoam' to 'opt/openfoam201/wmake' directory. 2) The source with system files and compilation done with - a) The source file linking to the solver directory can be generated by - 'cd opt/openfoam201/src/transport models/viscoelastic/&& wmake libso && cd -' b) The solver directory need to be compile, and it can be done by - 'cd opt/openfoam201/applications/solvers/viscoelastic/viscoelasticFluidFoam/ && wmake && cd -' c) The recompilation of Openfoam directory was needed, and it is done by - 'cd opt/openfoam201$ ./Allwmake Note : It will recompile whole openfoam directory (including viscoelasticFluidFoam) and end up with - '/opt/openfoam201/platforms/linux64GccDPOpt/bin/viscoelasticFluidFoam' is up to date. hence, it is done..!!!
__________________
- Sandip Desai |
|
September 13, 2012, 11:36 |
|
#200 | |
Member
Amin Shariat KHah
Join Date: Apr 2011
Location: Shiraz
Posts: 86
Rep Power: 15 |
Quote:
I done step 1 (Note for beginner user like me: it should be in root login mode) But when I go to do step 2 terminal say me: "wmake: command not found" But wmake exist in other user which is not root I'm so confused!!! Note: My openFOAM version is 2.1.1 not 2.0.1 and I corrected this number in codes |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VOF simulation of a viscoelastic fluid | sinah | OpenFOAM Running, Solving & CFD | 11 | December 25, 2017 04:00 |
FREE SURFACE VISCOELASTIC FLOWS | Valdemir G. Ferreira | Main CFD Forum | 6 | December 18, 2009 07:14 |
Viscoelastic flow modeling in OpenFOAM | vulda | OpenFOAM Running, Solving & CFD | 1 | March 17, 2008 08:32 |
Polyflow & OpenFoam on Viscoelastic flow modeling | Sumeshen | Main CFD Forum | 0 | March 14, 2008 09:29 |
Viscoelastic fluid codes | joel davison | Main CFD Forum | 0 | November 6, 2001 06:09 |