This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Loading a boundary condition from an external (vtk/hdf/xdmf) file

0 votes

I have a time-varying flow solver programmed using FEniCS library in Python. I have a script that creates the time-varying flow profile on the inlet flow surface of the domain. I can write that profile (function of space and time) into a vtk/hdf/xdmf file. However, I don't know how to use this external file to set-up the Dirichlet BC for the inlet boundary surface. Any help or code examples in this regard will be helpful.

asked Sep 16, 2016 by debmukh FEniCS Novice (880 points)
...