|
[Sponsors] |
January 31, 2012, 10:15 |
How to ask for time integration scheme
|
#1 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
Hello,
is it possible to get the name or something similar of the current time integration scheme during the solver process, e.g. in pisoFoam? And where can i find such commands? thank you very much, rupert |
|
January 31, 2012, 12:06 |
|
#2 | |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
Quote:
try this: Code:
const IOdictionary& fvSchemes = mesh.lookupObject<IOdictionary>("fvSchemes"); Info << fvSchemes << endl; const dictionary& ddtSchemes = fvSchemes.subDict("ddtSchemes"); Info << ddtSchemes << endl; http://www.cfd-online.com/Forums/ope...tionaries.html |
||
February 1, 2012, 02:54 |
|
#3 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
Dear Tomislav,
thanks for your help. The final code for this request is now (for any other with this problem): Code:
const IOdictionary& fvSchemes = mesh.lookupObject<IOdictionary>("fvSchemes"); const dictionary& ddtSchemes = fvSchemes.subDict("ddtSchemes"); word ddtScheme(ddtSchemes.lookup("default")); Info << "current time integration scheme is "<< ddtScheme << endl; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to understand high resolution scheme and high order scheme | iilw1314 | Main CFD Forum | 7 | April 12, 2022 12:29 |
2nd order upwind scheme (Fluent and CFX) | Far | FLUENT | 0 | May 22, 2011 01:50 |
Integration Scheme | m.maneshi | OpenFOAM Running, Solving & CFD | 0 | October 24, 2010 16:16 |
Source term integration; Upwind scheme | technocrat.prakash | Main CFD Forum | 3 | March 21, 2009 09:30 |
Looking for stable integration scheme for 2D Shallow Water Equations | maddhi | OpenFOAM Running, Solving & CFD | 1 | August 23, 2008 06:24 |