|
[Sponsors] |
Modified PDRFoam solver does not enter main loop : "while (pimple.run(runTime))" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 2, 2024, 05:17 |
Modified PDRFoam solver does not enter main loop : "while (pimple.run(runTime))"
|
#1 |
New Member
Join Date: Jun 2024
Posts: 3
Rep Power: 2 |
Hi,
I'm trying to modify the PDRFoam solver to run without the "ignition" utility and instead initialize a burnt gas field and let the code calculate the other fields accordingly. By modifying, I mean that I simply removed the if(ign.ignite) instances in the code to let it always run (I did this in the bEqn, EauEqn, and removed the reading of the ignition properties in readCombustionProperties.H). The solver compiles, but when I start the solver, the time loop doesn't start at all. Here's the log: No fvModels present No fvConstraints present Courant Number mean: 0 max: 0 Starting time loop end I added a little print statement after the loop to make sure that's the problem: Info << "\nStarting time loop\n" << endl; while (pimple.run(runTime)) { Info << "\nEntering time loop\n" << endl; } This makes me think that the pimple.run(runTime) condition isn't satisfied. I have the feeling that the ignition utility is also in charge of starting the code because in ignition.H, Time.H is included, but I can't tell more than this. If anyone is familiar with XiFoam, PDRFoam, or any combustion solver and has any remarks that could guide me in the right direction, it would be greatly appreciated. |
|
Tags |
combustion, ignition, modified solver, pdrfoam, xifoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fail to converge when solving with a fabricated solution | zizhou | FLUENT | 0 | March 22, 2021 07:33 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Pass a variable from a class to a subequation in the main solver | lord_kossity | OpenFOAM Running, Solving & CFD | 0 | September 3, 2009 13:03 |
NACA0012 geometry/design software needed | Franny | Main CFD Forum | 13 | July 7, 2007 16:57 |