You can use a Dirichletbc with a dolfinx.fem.Constant as the input value, and update it as described in: Out of memory error in frequency for loop - #4 by nate
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Moving boundary conditions for Navier-Stokes
|
2 | 363 | April 18, 2022 | |
Alternative formulation for Time dependent Dirichlet BC | 16 | 363 | January 2, 2024 | |
Error with time-dependent pressure boundary condition with Oasisx | 1 | 125 | March 25, 2024 | |
Problem with Dirichlet boundary
|
1 | 383 | October 14, 2020 | |
Evaluating time dependent Neumann boundary condition using tensors | 5 | 1097 | January 16, 2022 |