CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Modified PDRFoam solver does not enter main loop : "while (pimple.run(runTime))"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Jass

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2024, 05:17
Default Modified PDRFoam solver does not enter main loop : "while (pimple.run(runTime))"
  #1
New Member
 
Join Date: Jun 2024
Posts: 3
Rep Power: 2
Jass is on a distinguished road
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.
Baba29 likes this.
Jass is offline   Reply With Quote

Reply

Tags
combustion, ignition, modified solver, pdrfoam, xifoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:00.