|
[Sponsors] |
June 1, 2012, 13:42 |
Merge solvers
|
#1 |
Senior Member
|
Hi all;
I know openFoam has a lot of solvers for different situations (MRF, moving meshes, multiphase and so on). Let's say I have a case which includes many of the above mentioned situations, so I may have a moving mesh, a MRF, many phases, combustion, chemical reactions and so on (of course I'm just speculating). Now, how could I solve such a case? Maybe there's the possibility to merge "single situations" solvers into a multiple situations unique solver? Thank you! |
|
June 1, 2012, 13:58 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi lovecraft,
Mmm... well, there's this: http://openfoamwiki.net/index.php/Contrib_multiSolver As for mesh motion, there are few utilities in OpenFOAM just for that, which I saw someone ask about two the other day: moveMesh vs. moveDynamicMesh But then there is the X factor: for example, taking into account radiation could affect the flow equations, because it would expand the fluid in zones where it was reflected, or modify the viscosity of the fluid. Such an example is that scalarTransportFoam is a nice thing to have, but it doesn't solve how the scalar affects the flow; this is implied on that wiki page How to add temperature to icoFoam: Quote:
Best regards, Bruno
__________________
|
||
June 1, 2012, 14:05 |
|
#3 |
Senior Member
|
Thanks Bruno;
mine was just a generic question. I don't need to solve a moving mesh, i just picked some stuff up to make an example as I was wondering how to solve multiple flow features at once. |
|
June 1, 2012, 14:19 |
|
#4 |
Senior Member
|
Actually, the superSolver seems to be something different from what I need… it solves one situation, then solves another. Am I correct?
I may need to solve many of them at once… So, let's say, I don't need to move my mesh, than do something else on what happens after my mesh moved… I may need to move the mesh while two fluid mix together for instance… |
|
June 1, 2012, 21:44 |
|
#5 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Yeah, you are correct: multiSolver wouldn't be appropriate for this situation. An updated version is on its way, but still won't be suitable.
As for combining solvers... you've run into something that makes OpenFOAM different from other CFD software. Let's say you wanted to simulate a transient flow with bousinesq buoyancy and scalar transport of three different species. In commercial software, you would click the buoyancy button, and add three scalars to the problem. In openFOAM, you cannot solve this problem "out of the box". I like to think of the "standard solvers" that come with OpenFOAM as templates. They are very well-implemented examples of standard algorithms. If you need a special custom solver, you have to figure out the solvers, and implement your own version. This is easier than you might think because of all the existing examples, and because the top-level code is often human-readable.
__________________
~~~ Follow me on twitter @DavidGaden |
|
June 2, 2012, 04:37 |
|
#6 |
Senior Member
|
Thanks to both of you.
What about the moving mesh? I haven't quite understood if a specific solver is needed (*DyMFoam) or it can be achieved in any solver (ie simpleFoam) using moveMesh or MoveDynamicMesh. |
|
June 4, 2012, 08:26 |
|
#7 |
Senior Member
|
Hi,
what about that "Block-Coupled Solver" (only available in OF1.6-extend) see presentation to find out if it is what you are looking for. => slide 25 shows that solver might converge much faster => example 20 iterations (blockcoupled solution) vs. ~200 iterations (segregated solution) |
|
June 4, 2012, 09:17 |
|
#8 |
Senior Member
|
Thank you Elvis,
I'll have a look! |
|
August 22, 2016, 05:28 |
Merging solvers
|
#9 |
New Member
Sandip Wadekar
Join Date: Oct 2014
Posts: 17
Rep Power: 11 |
Dear Foamers
I want to merge the two solvers- 1: XiFoam or EngineFoam and 2: sprayFoam. Basically, i want to simulate the combustion process along with fuel injection. So, is it possible to combine both the solvers ? someone have previous experience in the same case ? or someone can guide me for this specific case ? |
|
December 7, 2018, 09:00 |
|
#10 |
New Member
Vinay Vyas
Join Date: Dec 2018
Posts: 1
Rep Power: 0 |
Dear Foamers
I want to merge the two solvers- 1: interTrackFoam and 2: rhoCentralFoam. Basically, i want to make a solver for compressible flow (rhoCentralFoam) whit a moving mesh in ALE fashion(interTrackFoam). So please if anybody could help. someone have previous experience in the same case ? or someone can guide me for this specific case ? wadekar is offline |
|
December 9, 2021, 05:50 |
|
#11 |
New Member
Emre
Join Date: Sep 2020
Posts: 7
Rep Power: 5 |
Hello, have you been able to find a solution for this?
Thank you. "Dear Foamers I want to merge the two solvers- 1: interTrackFoam and 2: rhoCentralFoam. Basically, i want to make a solver for compressible flow (rhoCentralFoam) whit a moving mesh in ALE fashion(interTrackFoam). So please if anybody could help. someone have previous experience in the same case ? or someone can guide me for this specific case ? wadekar is offline" Last edited by emrebnc; December 9, 2021 at 05:51. Reason: replying to this message |
|
December 9, 2021, 08:29 |
|
#12 |
New Member
Paulin FERRO
Join Date: May 2021
Location: France
Posts: 21
Rep Power: 4 |
I would start from compressibleInterFoam and add the tracking method from interTrackFoam. But maybe it's harder than I think.
PF |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible turbulence modelling bug in SRF solvers | otm | OpenFOAM Running, Solving & CFD | 3 | May 29, 2012 04:03 |
Reaction solvers | megacrout | OpenFOAM | 5 | July 8, 2011 10:54 |
assemble the mesh | feixiangniao | ANSYS Meshing & Geometry | 2 | March 20, 2010 02:39 |
about merge mesh | lian | Main CFD Forum | 3 | February 29, 2008 10:47 |
network comms amg solvers | bob | Main CFD Forum | 0 | March 1, 2007 19:58 |