|
[Sponsors] |
August 26, 2018, 17:59 |
Different Meshes for Different Physics
|
#1 |
New Member
Pi-Man
Join Date: Feb 2018
Posts: 10
Rep Power: 8 |
Dear fellow cfd-online members,
I am using a modified icoFoam setup, that couples transient passive scalar transport to the momentum equations. My issue is that my momentum equations don't require a fine mesh, while my scalar transport problem requires a relatively very fine mesh (due to high Peclet numbers). This further constrains my time step choice (due to the Courant number and viscous stability constraints) and adds a significant number of time steps to my problem. These time steps do not add significant physical information to my problem, but are rather there due to numerical stability requirements. Basically in one of the equations I have to use very fine mesh while the other one works OK with a coarser mesh. I was wondering whether it would be possible to solve my coupled system on different meshes (one for each set of equations), and project the velocity results from the coarse mesh to the finer mesh to be used in solving my scalar transport equation. Is there anyway that I can assign different meshes for each of these equations and thus save computational time? Best, Pi-Man |
|
August 27, 2018, 01:40 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
You may always use a script which runs both simulations, one after the other. You need a tiny program in the programming language of your choice, which reads the velocity results of the coarse mesh and transfers it (with interpolation) to the finer one.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
August 27, 2018, 02:43 |
|
#3 |
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12 |
I'd be curious to see how you go, I suspect you will spend more time interpolating and IO operations than just solving on the fine mesh. Unless you do it inside the one solver with two meshes and keep the fields in memory while you solve I don't think you'll see the benefit.
|
|
August 27, 2018, 05:42 |
|
#4 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
It can be done, see this post of mine, which contains a screenshot.
I took inspiration from the multi-region solvers, and the mapFields utility. I have no idea, when the additional effort (the second mesh, the mapping of fields each time step) is worth it. |
|
Tags |
coupled equations, multiphysics, multiple meshes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Different Physics Contnuum for Same Region | itsanisant | STAR-CCM+ | 0 | October 10, 2014 01:30 |
Hex and Tet meshes - simplefoam comparison | danvica | OpenFOAM Running, Solving & CFD | 10 | January 4, 2013 02:18 |
Multiple Physics Continua | boathead | STAR-CCM+ | 6 | December 4, 2011 13:33 |
physics phD to CFD? | jck87 | Main CFD Forum | 13 | October 9, 2010 17:15 |