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

pimpleFoam is right, how about solids4Foam pimpleFluid?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Daniel_Khazaei
  • 1 Post By Daniel_Khazaei
  • 1 Post By amuzeshi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2019, 04:29
Default pimpleFoam is right, how about solids4Foam pimpleFluid?
  #1
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11
amuzeshi is on a distinguished road
Hello there,

In brief, to solve the problem of flow over cylinder at Re = 40, the use of pimpleFoam reaches steady solution, but using solids4Foam does not (As a representative indication, screenshots of the latest time step of the both is attached. Compare the length of effected downstream between the two, where it is considerably longer in pimpleFoam solution).

Also, using pimpleFoam to solve this with residual control set to 1e-6 for p and U, gives a good estimation for drag coeff.

However solving this problem with solids4Foam and pimpleFluid as fluid model, after some time, ends up with a situation where the initial residual of pressure stalls in a big value (0.9) even for 14000 number of outer correctors (And therefore it does not converge to the prescribed residual).


Can someone comment on this issue?

Regards,
Ali
Attached Images
File Type: jpg pimpleFoam.jpg (30.5 KB, 24 views)
File Type: jpg solids4Foam.jpg (28.9 KB, 22 views)
amuzeshi is offline   Reply With Quote

Old   November 8, 2019, 17:44
Default
  #2
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Dear Ali,

Which version of foam-extend did you use to test your case?
Would you please re-run your case with bugfix-pimpleFluid branch of solids4Foam and let me know whether the issue is resolved or not?

Regards,
D. Khazaei
amuzeshi likes this.
Daniel_Khazaei is offline   Reply With Quote

Old   November 9, 2019, 12:25
Default
  #3
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11
amuzeshi is on a distinguished road
Dear Daniel
I use foam-extend-4.0 and solids4foam-release-0a631d27b6c4 (if it is meaningful to you !?).
Right now, I've turned this issue around by using a lot of correctors, namely:
Code:
nCorrectors      10;
nNonOrthogonalCorrectors      50;
Could you tell me if this fix is also merged into the master branch?

Best Regards,
Ali
amuzeshi is offline   Reply With Quote

Old   November 9, 2019, 13:16
Default
  #4
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by amuzeshi View Post
Dear Daniel
I use foam-extend-4.0 and solids4foam-release-0a631d27b6c4 (if it is meaningful to you !?).
Right now, I've turned this issue around by using a lot of correctors, namely:
Code:
nCorrectors      10;
nNonOrthogonalCorrectors      50;
Could you tell me if this fix is also merged into the master branch?

Best Regards,
Ali
I needed to know the foam-extend version as the pimpleFluid code uses a few pre-processor directives which are version dependent.
No, the fix is not yet merged into the master branch as I needed to know if it actually resolve this issue before putting in a pull request.

Can you checkout the bugfix-pimpleFluid branch and recompile solids4Foam?
Then, I need you to run the pimpleFluid case with the identical settings as pimpleFoam and compare the result!

If the solutions are identical, then this can be merged into development branch and hopefully you can see the changes on master branch after a while.
amuzeshi likes this.
Daniel_Khazaei is offline   Reply With Quote

Old   November 9, 2019, 13:51
Default
  #5
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11
amuzeshi is on a distinguished road
I try to dig into it as soon as possible.
Daniel_Khazaei likes this.
amuzeshi is offline   Reply With Quote

Old   November 16, 2019, 04:36
Default
  #6
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11
amuzeshi is on a distinguished road
Dear Daniel,

Is it possible to have distinct branches of solids4Foam on one Desktop - for example master branch and pimple corrected branch ?
As there is no etc/bashrc file, it seems it is not possible, right?

Regards,
Ali
amuzeshi is offline   Reply With Quote

Old   December 9, 2019, 11:55
Default
  #7
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by amuzeshi View Post
Dear Daniel,

Is it possible to have distinct branches of solids4Foam on one Desktop - for example master branch and pimple corrected branch ?
As there is no etc/bashrc file, it seems it is not possible, right?

Regards,
Ali
Hi, I think it can be done but it doesn't worth the hassle!

If you have used git to clone the repository, then it is as simple as using git checkout to move between different branches.
I just need you to test your case with the new corrected pimpleFluid model and confirm that it works just like pimpleFoam. I have already checked with foam-extend default tutorial and everything seems normal to me.

Then you can come back to the main branch and recompile the toolkit.

Regards,
D. Khazaei
Daniel_Khazaei 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
No vortex shedding for flow over cylinder at Re = 59 using pimpleFoam kaszt OpenFOAM Running, Solving & CFD 9 March 15, 2022 08:34
naca12 laminar pimpleFoam uni OpenFOAM Running, Solving & CFD 2 March 17, 2018 08:17
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
Understanding pimpleFoam convergence criterion Nucleophobe OpenFOAM Running, Solving & CFD 0 March 13, 2013 19:46
Differences simpleFoam vs. pimpleFoam / RASModel.H vs turbulenceModel.H uli OpenFOAM Programming & Development 7 January 26, 2013 16:01


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