CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Merge solvers

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 2 Post By marupio
  • 1 Post By elvis

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2012, 13:42
Default Merge solvers
  #1
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 449
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
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!
__________________
I use PowerFLOW!
lovecraft22 is offline   Reply With Quote

Old   June 1, 2012, 13:58
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,345
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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:
This HOWTO will cover rudimentary methods for altering an existing solver (icoFoam) to solve thermal transport.
Last but not least: have a very nice cluster nearby... the more you try to solve, the longer it will take and more memory it will require.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 1, 2012, 14:05
Default
  #3
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 449
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
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.
__________________
I use PowerFLOW!
lovecraft22 is offline   Reply With Quote

Old   June 1, 2012, 14:19
Default
  #4
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 449
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
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…
__________________
I use PowerFLOW!
lovecraft22 is offline   Reply With Quote

Old   June 1, 2012, 21:44
Default
  #5
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 395
Rep Power: 11
marupio is on a distinguished road
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.
Ohbuchi and iamed18 like this.
__________________
~~~
Follow me on twitter @DavidGaden
marupio is offline   Reply With Quote

Old   June 2, 2012, 04:37
Default
  #6
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 449
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
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.
__________________
I use PowerFLOW!
lovecraft22 is offline   Reply With Quote

Old   June 4, 2012, 08:26
Default
  #7
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 528
Blog Entries: 4
Rep Power: 12
elvis is on a distinguished road
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)
wyldckat likes this.
elvis is offline   Reply With Quote

Old   June 4, 2012, 09:17
Default
  #8
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 449
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Thank you Elvis,
I'll have a look!
__________________
I use PowerFLOW!
lovecraft22 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


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 03: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


All times are GMT -4. The time now is 14:58.