Skip to content

[Bug] Adiabatic CSTR Does Not Converge on Some Reactor Volume #1041

@kookma

Description

@kookma

Describe the bug
The attached case is a CSTR simulation for n-butane to isobutane from the well known book: Elements of Chemical Reaction Engineering, 6th Ed. H. Scott Fogler (Example 11-3)
DWSIM solve the CSTR for reactor volume below 2 m3. It is very fast for small volume like V reactor = 0.1 m3, but it takes time for higher value of V and stop convergence around 2 m3. It again converge around 3 m3 but takes alot of time.

NOTE: In attached example, a sensitivity analysis was added for study of n-butane conversion versus reactor volume. The sensitivity works below 2 m3 and stuck at 2m3 with no message for DWSIM.

To Reproduce

The DWSIM simulation is attached.
For comparison a HYSYS simulation with case study is attached, it works well.
Also I have attached a Python file (similar to Fogler) has been attached

Simulation files:

fogler-6th-ed-exmp-11-3.zip

Expected behavior
Reactor shall converge even at high reactor volume as it is seen in Hysys and Python file.

Screenshots

HYSYS Results

Image

Python Results

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • DWSIM 9.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions