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

Viscoelastic Fluid Flows using OpenFOAM The solver viscoelasticFluidFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree43Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2016, 19:55
Default Giesekus model
  #401
New Member
 
ahmed
Join Date: Jun 2016
Location: Turkey
Posts: 2
Rep Power: 0
alqayssi69 is on a distinguished road
HI member
Depending in my experience the using of Giesekus model reveal divergence result with large shear rate value and this is one of drawback in using this model. I really search in the source of divergence and try to find suitable approach .

I would like to know detail information about your geometry so I can more helpful in this issue.

you are free to message me on my G Mail .
engineer.alqayssi@gmail.com

Best Regard
alqayssi69 is offline   Reply With Quote

Old   June 15, 2016, 02:10
Default
  #402
New Member
 
Join Date: Dec 2015
Posts: 2
Rep Power: 0
Julya_Shmit is on a distinguished road
Thanks for your reply, Ahmed.

I am very glad to know that anybody tries to help me because I am at a nonplus.
What detail information about geometry do you need?

I have already specified geometry, model's parameters and boundary conditions in previous reply (file Geometry.jpg).
Attached Images
File Type: jpg Geometry.jpg (80.4 KB, 57 views)
Julya_Shmit is offline   Reply With Quote

Old   February 18, 2017, 10:54
Default viscoelastic model + free convection
  #403
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Dear jovani
Thanks for developping OF for viscoelastic fluids.
I'm a new foamer.
I want to solve "free convection flow and heat transfer of viscoelastic fluid by Buossinesq approximation"
Could you plz help me how to do that?
alimea is offline   Reply With Quote

Old   June 8, 2017, 18:18
Default viscoelasticFluidFoam for dynamic mesh
  #404
New Member
 
Join Date: Apr 2013
Posts: 26
Rep Power: 13
pippo2013 is on a distinguished road
Quote:
Originally Posted by Hiroshiman View Post
Hi every one,
I'm working on multiphasic flows of viscoelastic fluids. I used the interDyMFoam and viscoelasticFluidFoam from of OE 3.1 to create a interViscoDyMFoam, using the work here.
However, the viscosity from the constant/transportProperties is still used by the twoPhaseMixture operation :
Code:
    
     nuModel1_
     (
    viscosityModel::New
         (
             "nu1",
             subDict(phase1Name_),
             U,
             phi
         )
     ),
     nuModel2_
     ( 
        viscosityModel::New
         ( 
            "nu2",
             subDict(phase2Name_),
             U,
             phi
         )
     ),
How can I replace these values read in a dictionnary by values computed from the flow field ? Or maybe there is a simpler approach..


edit:
actually I'd only need to read the viscoelascticProperties from the twoPhaseMixture files. However, the definitions are quite different from reading from the transportProperties files as usual. How could I, for example, read etap1 from constant/viscoelascticProperties in twoPhaseMixture.C ?


Best regards,
Florian

Hi everyone!
I am interested in applying viscoelasticFluidFoam to a dynamic mesh.
Frorian, have you succeded in developing interViscoDyMFoam? The code (cited in the quoted post) is no more linked. Could you please make it available?
Any other help in combining viscoelasticFluidFoam and interDyMFoam would be highly appreciated!

Thank you!!
pippo2013 is offline   Reply With Quote

Old   December 3, 2017, 05:22
Default
  #405
Member
 
Join Date: Jun 2016
Posts: 31
Rep Power: 9
tdof is on a distinguished road
Hi, I've got a question concerning the calculated stresses of the Leonov model. Since OF uses kinematic viscosity and kinematic pressure, are the displayed stresses from tau and sigma also divided by rho?
tdof is offline   Reply With Quote

Old   December 25, 2017, 02:35
Default vortex in 3D channel
  #406
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
Hello
How can I form a vortex in a square-shaped channel?
Or how can I see vortices?
In all the papers, a vortex pair is seen at the corners of the channel with the Giesekus model.
How can this be modeled with open foam?
what is the properties flow ?
B.C ?

please help me?

my Email: farhadhoseinbor@gmail.com
Telegram id: @bfzah
bfzah is offline   Reply With Quote

Old   December 25, 2017, 03:10
Default
  #407
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by bfzah View Post
Hello
How can I form a vortex in a square-shaped channel?
Or how can I see vortices?
In all the papers, a vortex pair is seen at the corners of the channel with the Giesekus model.
How can this be modeled with open foam?
what is the properties flow ?
B.C ?

please help me?

my Email: farhadhoseinbor@gmail.com
Telegram id: @bfzah
Greetings,

First of all, welcome to CFD-online.

Let me explain a little bit when some vortices are formed in fully developed laminar viscoelastic flow. Having corner in the cross section of a channel in fully developed viscoelstic fluid flow results in a pair of elastic vortices. So, in a channel with square cross section we can see eight elastic vortices, very similar to the vortices in the fully developed turbulent flow of a Newtonian fluid in the same geometry. The intensity of these eight vortices in fully developed laminar viscoelastic flow is around 3 percent while in fully developed turbulent flow of a Newtonian fluid it is around 30%.

I cannot remember if the Weissenberg number may affect the intensity of these vortices, but I certainly know that non-newtonian model such as Oldroyd-B, power-law, etc cannot simulate these vortices.

the boundary conditions are simple. An uniform velocity intet, pressure outlet, and non-slip boundary condition for the walls. The flow should reach the fully developed state in the channel. Just use the viscoelastic properties provided by Jovani in the tutorial case.

Have fun
Mostafa
bfzah likes this.
adambarfi is offline   Reply With Quote

Old   December 25, 2017, 03:36
Default
  #408
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
Quote:
Originally Posted by adambarfi View Post
Greetings,

First of all, welcome to CFD-online.

Let me explain a little bit when some vortices are formed in fully developed laminar viscoelastic flow. Having corner in the cross section of a channel in fully developed viscoelstic fluid flow results in a pair of elastic vortices. So, in a channel with square cross section we can see eight elastic vortices, very similar to the vortices in the fully developed turbulent flow of a Newtonian fluid in the same geometry. The intensity of these eight vortices in fully developed laminar viscoelastic flow is around 3 percent while in fully developed turbulent flow of a Newtonian fluid it is around 30%.

I cannot remember if the Weissenberg number may affect the intensity of these vortices, but I certainly know that non-newtonian model such as Oldroyd-B, power-law, etc cannot simulate these vortices.

the boundary conditions are simple. An uniform velocity intet, pressure outlet, and non-slip boundary condition for the walls. The flow should reach the fully developed state in the channel. Just use the viscoelastic properties provided by Jovani in the tutorial case.

Have fun
Mostafa
tnx my dear friend .
i'm very happy that answer my question's.
But I can not do it.
All the details that the rest of the researchers did in their previous work, I did. I do not know why I can not see the vortex
bfzah is offline   Reply With Quote

Old   December 25, 2017, 03:45
Default
  #409
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
this is my file.
Attached Files
File Type: zip constant.zip (1.6 KB, 9 views)
File Type: zip system.zip (4.8 KB, 9 views)
File Type: zip 0.zip (6.3 KB, 6 views)
bfzah is offline   Reply With Quote

Old   December 25, 2017, 04:04
Default
  #410
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by bfzah View Post
this is my file.
Your boundary conditions seems ok to me as well as the fluid properties. What is the Reynolds number? How long is the length of your channel? Does the flow get fully developed though it?
How do you visualize the secondary flows?
adambarfi is offline   Reply With Quote

Old   December 26, 2017, 02:45
Default
  #411
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
Re=rho*u*D/etha
rho=1000, u=0.2, D=0.02, etha=etha(s)+etha(p)=4

Assume a long channel, but I'm not sure that the flow has been developed!
bfzah is offline   Reply With Quote

Old   December 26, 2017, 03:29
Default
  #412
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by bfzah View Post
Re=rho*u*D/etha
rho=1000, u=0.2, D=0.02, etha=etha(s)+etha(p)=4

Assume a long channel, but I'm not sure that the flow has been developed!
So Re=1; creeping flow! I think that's a little tricky.

Did u assume the flow is steady state? If yes, it is not a concern how the outlet velocity is changing during your simulations. Just let it solve the geometry completely and then draw the secondary flows on a surface at the fully developed section of your duct (NOT at the outlet surface).

On the other hand, plotting the secondary flows is tricky, too. You can google it how to draw secondary flows in paraFoam.

Good luck!
bfzah likes this.
adambarfi is offline   Reply With Quote

Old   December 26, 2017, 04:00
Default
  #413
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
Quote:
Originally Posted by adambarfi View Post
So Re=1; creeping flow! I think that's a little tricky.

Did u assume the flow is steady state? If yes, it is not a concern how the outlet velocity is changing during your simulations. Just let it solve the geometry completely and then draw the secondary flows on a surface at the fully developed section of your duct (NOT at the outlet surface).

On the other hand, plotting the secondary flows is tricky, too. You can google it how to draw secondary flows in paraFoam.

Good luck!
yes flow is steady state.
thanx
bfzah is offline   Reply With Quote

Old   January 5, 2018, 08:34
Default
  #414
Member
 
Join Date: Jun 2016
Posts: 31
Rep Power: 9
tdof is on a distinguished road
Hi, I've got a question about the PISO algorithm used in viscoelasticFluidFoam. The official statement in the OF documentation is that it does not use underrelaxation, but the example cases all implement relaxation factors. I therefore assume that the PISO algorithm has been modified to allow their usage, but is a description available somewhere describing this exactly? Edit: I've found it in the source code, but is there a diagram or other explanation available?

Also, does the solver use the complete Navier Stokes equations or only Stokes?
tdof is offline   Reply With Quote

Old   January 7, 2018, 10:16
Default
  #415
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
The solver solves the Navier-Stokes equations

I do not think you need an entire book just for the fact that PISO under-relaxaes the momentum equation to improve stability.

In any case, we are moving to coupled solvers - see recent work from Prof Nobrega.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 8, 2018, 06:19
Default
  #416
Member
 
Join Date: Jun 2016
Posts: 31
Rep Power: 9
tdof is on a distinguished road
Great, thank you for your reply Prof. Jasak.
tdof is offline   Reply With Quote

Old   March 4, 2018, 10:52
Default
  #417
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
How to create a transient fluid flow in the channel?
What conditions are required in a viscoelasticfluidfoam solver to generate a transient fluid flow?
bfzah is offline   Reply With Quote

Old   March 4, 2018, 11:00
Default
  #418
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Quote:
Originally Posted by bfzah View Post
How to create a transient fluid flow in the channel?
What conditions are required in a viscoelasticfluidfoam solver to generate a transient fluid flow?
Hi farhad
It's like what they do in tutorials. what do you mean about "conditions"?
alimea is offline   Reply With Quote

Old   March 6, 2018, 08:33
Default
  #419
New Member
 
farhad
Join Date: Dec 2017
Posts: 11
Rep Power: 8
bfzah is on a distinguished road
Quote:
Originally Posted by alimea View Post
Hi farhad
It's like what they do in tutorials. what do you mean about "conditions"?
boundary condition for walls and symmetry palne in square channel and (tau,u,p) define in PTT-EXP single mode!
bfzah is offline   Reply With Quote

Old   March 24, 2018, 11:34
Default relaxation factors in viscoelasticfluidfoam
  #420
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Hi foamers

I'm working with viscoelasticfluidfoam. We know that this solver is written based on PISO algorithm and this algorithm doesn't have relaxation factor. So why did they use relaxation factors in many examples of tutorials?

What should I do?
I'v solved some problems with relaxation factors (e.g. 0.3 , 0.5) and now some of my friends tell me that they are wrong!

please help me if you are confident about this issue.
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
VOF simulation of a viscoelastic fluid sinah OpenFOAM Running, Solving & CFD 11 December 25, 2017 03:00
FREE SURFACE VISCOELASTIC FLOWS Valdemir G. Ferreira Main CFD Forum 6 December 18, 2009 06:14
Viscoelastic flow modeling in OpenFOAM vulda OpenFOAM Running, Solving & CFD 1 March 17, 2008 07:32
Polyflow & OpenFoam on Viscoelastic flow modeling Sumeshen Main CFD Forum 0 March 14, 2008 08:29
Viscoelastic fluid codes joel davison Main CFD Forum 0 November 6, 2001 05:09


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