Windkessel BCs

Windkessel BCs were implemented using code developed by Andris Piebalgs at Imperial College Piebalgs2017,Piebalgs2018,Pirola2017.

The BCs are set in the boundary condition/time directory 0 in two files:

  outlet_name
    {
        type            WKBC;
        index           0;
        value           uniform 0;
    }

where the index is a number that has to match the entry in

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     4.0;
    format      ascii;
    class       dictionary;
    object      windkesselProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

outlet_1
{
    C                   10.1e-10;
    R                   17.1e+08;        // commonly R_2 or R_distal
    Z                   6.3e+07;         // commonly R_1 or R_proximal
    outIndex            0;               // must equal 'index' value in 0/p
    FDM_order           finite;

    // backward difference order: up to 3rd order

    // Initialise WK parameters
    // also useful to set initial condidions to speed up pressure development
    Flowrate_threeStepBefore        0;
    Flowrate_twoStepBefore          0;
    Flowrate_oneStepBefore          0;
    Pressure_twoStepBefore          0;
    Pressure_oneStepBefore          0;
    Pressure_start                  0;

}

outlet_2
{
    C                   4.1e-10;
    R                   41.7e+08;
    Z                   17.6e+07;
    outIndex            1;
    FDM_order           1;
    Flowrate_threeStepBefore        0;
    Flowrate_twoStepBefore          0;
    Flowrate_oneStepBefore          0;
    Pressure_twoStepBefore          0;
    Pressure_oneStepBefore          0;
    Pressure_start                  0;
}

// ************************************************************************* //


Bibliography

Author: Torsten Schenkel

Created: 2021-01-07 Thu 18:44