|
[Sponsors] |
September 9, 2021, 01:57 |
Mixing SIMPLE algorithm with other equations
|
#1 |
New Member
fc
Join Date: Aug 2021
Posts: 1
Rep Power: 0 |
I want to write a solver that solves a certain PDE, and at each timestep it has to use the Stokes solution of a Navier Stokes equation, for which I can use the simpleFoam solver as a basis (it's basically some kind of reaction diffusion equation for very low Reynolds number). If the simpleFoam main loop is as follows
Code:
while(simple.loop(runTime) { #include "UEqn.H" #include "pEqn.H" } Code:
while(simple.loop(runTime) { #include "UEqn.H" #include "pEqn.H" #include "aEqn.h" } Code:
while(runTime.loop()) { while(simple.loop(??)) { #include "UEqn.H" #include "pEqn.H" } #include "aEqn.h" } |
|
September 12, 2021, 03:56 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
If you want two different loops look at the pimple solver
|
|
Tags |
simple algorithm, solver development |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS fluent vs OpenFoAM simple algorithm/ PIMPLE algorithm | gentodin | Main CFD Forum | 1 | December 24, 2020 03:43 |
SIMPLE algorithm | SamR | Main CFD Forum | 19 | April 26, 2019 14:06 |
The SIMPLE algorithm is not too simple for me | Zeke | Main CFD Forum | 2 | June 18, 2012 05:06 |
SIMPLE algorithm for two-phase | rks171 | Main CFD Forum | 4 | April 20, 2012 10:02 |
What is advantage of SIMPLE algorithm? | Geon-Hong | Main CFD Forum | 1 | May 18, 2010 08:46 |