JSim ODE Solver Tuning Guide

The default set of parameters associated with the ODE solvers are usually sufficient for most ODE problems, but occassionally need to be "tweaked". When a solver fails or gives a poor result, it is usually caused by (1) too large a step size, (2) too large relative and absolute tolerances in the solutions, (3) too few steps for calculation, or (4) problem being too stiff. Many of these problems can be fixed by changing the ODE solver parameters, or by using a more complex solver, or by doing both. The ODE solvers are listed in order of increasing complexity.

Running JSim

This page describes how to use JSim to analyze existing models and data. See Writing JSim Models for information on creating your own models. Beginners should start with the JSim graphic user interface (GUI) which is called, simply, "jsim". More advanced users, may also wish to investigate the JSim command-line programs "jsbatch" and "jsfim".

JSim Solvers Page

Introduction

This page describes JSim's numeric solver algorithms and how to control them when running a model. Numeric solvers are available for ordinary and partial differential equations (ODEs and PDEs), linear and non-linear implicit equations, and parameter optimization. JSim provides all solvers with default tuning parameters that are appropriate for most simple problems. However, when equations are particularly challenging or run-time performance particularly critical, users may choose to adjust solver parameters from their default values.

 

JSim PDE Solver Algorithms

The PDE solvers do not have parameters which can be changed by the user with the exception of the MacCormack solver which has a switch for flux-corrected transport which stabilizes adjacent cell oscillations and setting it on (check the box) may improve a solution.

The PDE solvers are: