From 600550eb6ccfbb79dada0e027afd507e794e3d83 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Wed, 29 Apr 2026 08:32:27 -0400 Subject: [PATCH 1/2] added allow errors --- book/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/_config.yml b/book/_config.yml index 106c7c3..4a4c0d5 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -37,7 +37,7 @@ execute: # See https://jupyterbook.org/content/execute.html execute_notebooks: force timeout: -1 # Disable timeouts for executing notebooks cells - # allow_errors: true # Allow errors in notebook cells + allow_errors: true # Allow errors in notebook cells sphinx: config: From 232887b5764bc20750b190947690deaaf0b1ede1 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Wed, 29 Apr 2026 08:58:31 -0400 Subject: [PATCH 2/2] fix + versioning for foam2dolfinx --- book/_config.yml | 2 +- book/content/applications/multiphysics/cfd.md | 2 +- environment.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index 4a4c0d5..106c7c3 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -37,7 +37,7 @@ execute: # See https://jupyterbook.org/content/execute.html execute_notebooks: force timeout: -1 # Disable timeouts for executing notebooks cells - allow_errors: true # Allow errors in notebook cells + # allow_errors: true # Allow errors in notebook cells sphinx: config: diff --git a/book/content/applications/multiphysics/cfd.md b/book/content/applications/multiphysics/cfd.md index 1dbd65a..f8d0908 100644 --- a/book/content/applications/multiphysics/cfd.md +++ b/book/content/applications/multiphysics/cfd.md @@ -107,7 +107,7 @@ ldc_reader = OpenFOAMReader( cell_type=12 ) -velocity_field = ldc_reader.create_dolfinx_function(t=2.5, name="U") +velocity_field = ldc_reader.create_dolfinx_function_with_point_data(t=2.5, name="U") ``` We can visualize the velocity field using PyVista: diff --git a/environment.yml b/environment.yml index 9bad901..9f90738 100644 --- a/environment.yml +++ b/environment.yml @@ -36,6 +36,6 @@ dependencies: - nest-asyncio2 - pip: - h-transport-materials==0.16 - - foam2dolfinx + - foam2dolfinx>=1.1 - openmc2dolfinx - autoemulate \ No newline at end of file