Skip to content

Initial conditions should have instructions & be selectable for all variables (repost of SimVascular/svZeroDSolver#141) #65

@alexkaiser

Description

@alexkaiser

Problem

The documentation does not make it clear how to set initial conditions. This is especially unclear for internal state variables such as the Windkessel pressure in an RCR bc or the chamber state variables.

This was originally opened in the svZeroDSolver itself. SimVascular/svZeroDSolver#141 (comment)

Solution

The documentation should show examples of setting initial conditions for state variables. The variable "pressure_c:OUTLET" appears to control the windkessel pressure in the RCR.

An example of initial condition block is:

"initial_condition": {
    "Vc:ventricle": 69.530841853596712,
    "pressure:vessel:OUTLET": 1.333223680000000e+05,
    "pressure:INFLOW:valve0": 0.0,
    "pressure:valve0:ventricle": 0.0,
    "pressure:ventricle:valve1": 0.0,
    "pressure:valve1:vessel": 1.333223680000000e+05,
    "pressure_c:OUTLET": 1.333223680000000e+05
}

Additional context

It is possible that some of these variables are initialized in some hard coded manner, to zero, estimated steady state only, etc. If this is the case, then code to set initial values for all possible variables should be added and it should be mentioned which state variables cannot be changed.

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions