|
[Sponsors] |
Call external code (functionObject execute() like) within pimple.loop() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2014, 12:53 |
Call external code (functionObject execute() like) within pimple.loop()
|
#1 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
Hello OpenFOAM colleagues,
I'm looking for a way to call code defined (as e.g. functionObject) in the controlDict (ideally a python function using pythonIntegration in swak4Foam) from within the pimple.loop() in a transient solver. Or in (hopefully) simple words: Call a function after each iteration of the outer corrector loop within one time step. functionObjects or pythonIntegrationFunctionObjects are only called once per time step. What is the easiest way to achieve this? Ideally I do not want to overwrite the pimpleControl class but add something (a call to functionObject.execute() ???) to the solver or even better use something already build in. Thank you for any hints/help. Joachim Last edited by jherb; January 28, 2014 at 17:27. |
|
Tags |
functionobjects, pimple, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the Better Way to Do CFD? | John C. Chien | Main CFD Forum | 54 | April 23, 2001 08:10 |
Open source CFD code development, possible? | Dr. Yazid Bindar | Main CFD Forum | 27 | July 18, 2000 00:18 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 14:34 |
Who's ok for an Open Source CFD project ? | Viet | Main CFD Forum | 16 | July 26, 1999 15:57 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 10:20 |