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