SimVascular / SimVascular/svMultiPhysics

Dirichlet coupling not implemented for 3D-0D coupling with svZeroDSolver

Open
#518 4 comments 0 reactions 2 assignees View on GitHub

@aabrown100-git is already working on this.

Since Mar 31, 2026.

bug
Dominant language
C++
Stars
45
Forks
61
Avg merge
5d 23h
Merged PRs (30d)
11

Description

Description

Currently, Dirichlet coupling for 3D-0D coupling with svZeroDSolver is not implemented. the user can specify dirichlet coupling in the xml config file but the simulation will crash.

In Dirichlet coupling we are enforcing pressure from the 3D domain as a boundary condition for the 0D domain and returning the resulting flow rate to the 3D domain

This would apply, for example, at the aortic inlet where you want a flow rate coming from the lumped parameter heart model to be applied as an inflow BC on the aortic inflow face.

Reproduction

in teh xml file, in an Add_BC node, specify dirichlet coupling as follows:

<Add_BC name="inflow"> <Type>Neu</Type> <Time_dependence>Coupled</Time_dependence> <svZeroDSolver_block>inflow</svZeroDSolver_block> </Add_BC>

Expected behavior

Enforce the pressure from the 3D domain as a boundary condition for the 0D domain and returning the resulting flow to the 3D domain

Additional context

No response

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.