|
[Sponsors] |
March 26, 2018, 05:12 |
|
#421 |
Member
Join Date: Jun 2016
Posts: 31
Rep Power: 10 |
See my post in #414 and the reply from Prof. Jasak. The PISO implementation in viscoealsticFluidFoam uses under-relaxation.
|
|
March 26, 2018, 06:45 |
|
#422 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
||
March 26, 2018, 12:30 |
|
#423 | |
Member
Join Date: Jun 2016
Posts: 31
Rep Power: 10 |
There you go:
Quote:
|
||
March 30, 2018, 16:22 |
URF in PISO, Yes or No?
|
#424 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Could you plz explain it more? I am solving the flow a viscoelastic fluid around a cylinder by a viscoelasticFluidFlow solver that is written based on PISO. In all of the tutorials of this solver of openFoam URF is used, however we now that PISO algorithm has no URF. so why did they use? I decided to solve a problem with urf=0.3 and urf=1 and compare the results with the results of a paper(Oliviera): I saw a difference in CL amplitude!! I'm confused! what is the truth?! the second problem was for a big difference in time period that I think this is because of my div(U) scheme that was central and that was better to use some thing like vanLeer. when I use vanLeer for div(U) this difference will be solved: Is my conclusion correct? You can see that all of the d/dt schemes are matches in CD amplitude. Also there is not any time period difference between Oliviera values and mine. But again there is a big difference in CD amplitude. Thanks Last edited by alimea; March 31, 2018 at 14:03. |
||
March 31, 2018, 14:03 |
|
#425 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Any answer?
|
|
April 3, 2018, 13:15 |
|
#426 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi
please answer me: according to what I said in my last posts, can we use URF in viscoelasticFluidFoam solver? |
|
September 8, 2018, 10:55 |
tau trend with Wi
|
#427 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi foamers
I'm working on viscoelastic fluid flow around a cylinder(Re=10, Elasticity nu. = 0-100). when I check the tau magnitude in domain (in paraView), I see that tau magnitude (tau: polymeric stress tensor) decreases with increasing Weissenberg number! I don't know if they are correct or not! I think it should be increased with Wi. Also when I plot drag coefficient vs. El number, I see that tau portion of drag decreases with El as far as in El=10 it is almost zero! I can't give a reason for that. Could you please tell me your idea? |
|
January 27, 2019, 11:48 |
second order viscoelastic model
|
#428 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Hi all,
I saw the second order viscoelastic model in many papers which is used as constitutive eqn. What's the difference between "second order viscoelastic model" and the other familiar viscoelastic models like Giessesk, Oldroyd-B, PTT, etc? Thanks |
|
January 28, 2019, 03:14 |
Second order fluid
|
#429 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Alimea,
The second order fluid is a very simple model to describe non-Newtonian flow effects (see e.g. the books by Bird and/or Macosko). It only holds for flows that are sufficiently slow and slowly varying. Hope this helps, Sita |
|
January 28, 2019, 07:18 |
|
#430 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Thanks for your reply. I solved a problem with PTT model which had been solved with second-order model before I/m worried about the innovation if I want to write a new paper? Regards, Ali |
||
January 28, 2019, 07:48 |
|
#431 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Dear Ali,
If you're planning to publish your results, I think it would be a good idea to look into the details of both models, and how these models apply to the problem you solved. Ask yourself questions like: what kinds of deformations and stresses do I expect in this problem? Why was it originally solved using a second order model? When the problem was solved using a second order model, were the results satisfactory, did problems occur? Why would the PTT model be better suited for this than the second order model? Why PTT and not Giesekus, or Oldroyd-B, or FENE-P, or ...? Are the results with the PTT model indeed better/more reliable than those with the second order model? Why (not)? Would an improved solution to this problem be relevant/useful? Etcetera... That should help you judge whether publishing your results would be worthwhile. Good luck, Sita |
|
January 28, 2019, 07:52 |
|
#432 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Dear Sita, Really thanks for your complete reply. Best Regards, Ali |
||
September 10, 2019, 06:20 |
|
#433 | |
New Member
Leo Li
Join Date: Sep 2019
Posts: 1
Rep Power: 0 |
Quote:
i am now simulating the two phase fluid, one is viscoelatic fluid with Oldroyd B model, the other is newtonian fluid like air. I think i need to combine the two solvers viscoelasticfluidfoam and interfoam together. but i do not now how exactly i can combine these two solvers, have you already released your solver? I will really appreciate that! thank you! |
||
November 20, 2019, 04:20 |
|
#434 | |
Member
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 7 |
Quote:
Model implemented in foam-extend.4.0. kindly your help will be highly appreciated. |
||
January 30, 2020, 05:38 |
viscoelasticFluidFoam in steady mode
|
#435 |
Member
|
Hello Dear friends,
I am simulating the viscoelastic fluid flow in the microchannel. My Weissenberg number is very high (Wi=28). But my fluid is a Boger type and I use the Oldroyd-B model. At first, I have run the viscoelasticFluidFoam solver in OF1.6-ext in unsteady mode and the solution diverged after 0.008 seconds. Then I have run the same case with the rheoFoam solver in OF4.1 which did not diverge but the number of pressure iterations showed a lack of convergence at each time step. Due to a long time of simulation, I have adjusted and run the rheoFoam solver in a steady mode. But from iteration 50 to the next, the solution goes to divergence. Is there a way I can run the viscoelasticFluidFoam solver in a steady mode so that it is stable? The settings of my two fvSchemes and fvSolution files in the two solvers are as follows: for unsteady viscoelasticFluidFoam: fvSchemes: ddtSchemes { default Euler; } gradSchemes { default Gauss linear; grad(p) Gauss linear; grad(U) Gauss linear; } divSchemes { default none; div(phi,U) Gauss upwind; div(phi,tau) Gauss upwind; div(tau) Gauss linear; } laplacianSchemes { default none; laplacian(etaPEff,U) Gauss linear corrected; laplacian(etaPEff+etaS,U) Gauss linear corrected; laplacian((1|A(U)),p) Gauss linear corrected; } interpolationSchemes { default linear; interpolate(HbyA) linear; } snGradSchemes { default corrected; } fluxRequired { default no; p; } fvSolution: solvers { p { solver PCG; preconditioner { // preconditioner Cholesky; preconditioner AMG; cycle W-cycle; policy PAMG; nPreSweeps 0; nPostSweeps 2; groupSize 4; minCoarseEqns 20; nMaxLevels 100; scale off; smoother ILU; } tolerance 1e-07; relTol 0; minIter 0; maxIter 800; } U { solver BiCGStab; preconditioner { preconditioner Cholesky; } tolerance 1e-6; relTol 0; minIter 0; maxIter 1000; } tau { solver BiCGStab; preconditioner { preconditioner Cholesky; } tolerance 1e-6; relTol 0; minIter 0; maxIter 1000; }; } PISO { nCorrectors 2; nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; } relaxationFactors { p 0.3; U 0.5; tau 0.3; } for steady rheoFoam: fvSchemes: ddtSchemes { default steadyState; //Euler; } gradSchemes { default Gauss linear; grad(p) Gauss linear; grad(U) Gauss linear; linExtrapGrad Gauss linear; } divSchemes { default none; div(tau) Gauss linear; div(grad(U)) Gauss linear; div(phi,U) GaussDefCmpw none; div(phi,theta) GaussDefCmpw cubista; div(phi,tau) GaussDefCmpw cubista; div(phi,C) GaussDefCmpw cubista; } laplacianSchemes { default none; laplacian(eta,U) Gauss linear corrected; laplacian(p|(ap-H1)) Gauss linear corrected; laplacian(D,C) Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } fluxRequired { default no; p; } fvSolution: solvers { "(p|U)" { solver PCG; preconditioner DIC; tolerance 1e-10; relTol 0.; minIter 0; maxIter 800; } "(theta|tau|C)" { solver PBiCG; preconditioner { preconditioner DILU; } tolerance 1e-10; relTol 0.; minIter 0; maxIter 1000; } } SIMPLE { nInIter 1; nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; residualControl { p 1e-5; U 1e-5; tau 1e-5; theta 1e-5; C 1e-5; } } relaxationFactors { fields { p 0.3; //0.01; } equations { U 0.5; //0.7; //1; tau 0.3; //0.5;//1; theta 0.3; //1; C 0.3; //1; } } Please suggest me a way to resolve this problem steadily and stably. |
|
January 31, 2020, 14:50 |
|
#436 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Arash,
The Oldroyd-B model gives unbounded stress if the elongation rate in your flow exceeds 1/(2 lambda), with lambda your relaxation time. I don't know what your flow looks like, but this might well explain your simulation diverging. If you're aiming for Boger fluid behaviour, the FENE-CR model might be better suited for your simulations (viscoelastic behaviour, without shear thinning). Hope this helps, Sita |
|
February 7, 2020, 05:06 |
|
#437 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Arash,
Just curious: did you get your simulation to run in the end? Cheers, Sita |
|
February 7, 2020, 06:18 |
|
#438 |
Member
|
The viscoelasticFluidFoam solver in of16ext has diverged in 0.008sec, but the rheoFoam solver is still running up to 0.3sec and the flow conditions have not yet been stabled. Of course, the pressure full iterations are indicative of non-convergence. But it is still progressing.
|
|
February 7, 2020, 09:17 |
|
#439 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Arash,
When you say that the viscoelasticFluidFoam solver crashed after 0.008 s, was that using the Oldroyd-B model, or the FENE-CR model? You may want to try running at a lower Wi first, and experiment with parameter values, mesh settings, etc. Visualising your results can be helpful to find out what made your simulation crash. I ran lots of high Wi simulations some years ago, using viscoelasticFluidFoam (with FENE-P and FENE-CR, mostly), so it should be possible alright. From what I remember, the mesh settings can be tricky to get right, though. Good luck, Sita |
|
February 7, 2020, 09:39 |
|
#440 | |
Member
|
Quote:
I used the Oldroyd-B model for 1000 ppm PEO in DI-water that is a Boger fluid. I have not seen any articles that use the FENE model for Boger fluid. I also tried many meshes. My Wi numbers are in the range of 10-100. May I ask you what kind of schemes did you use? |
||
|
|
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 |