Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
connoramoreno committed Dec 12, 2024
1 parent c41d9cb commit 952dd5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions Examples/nwl_geom_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
split_chamber=False,
)
# Export in-vessel component files
stellarator.export_invessel_build(
export_cad_to_dagmc=False, export_dir=export_dir
)
stellarator.export_invessel_build(export_dir=export_dir)

# Define source mesh parameters
mesh_size = (11, 81, 61)
Expand All @@ -48,4 +46,4 @@
# Export DAGMC neutronics H5M file
stellarator.build_cubit_model(skip_imprint=True, legacy_faceting=False)
tag_surface_native(1, "vacuum")
stellarator.export_dagmc_cubit(filename="nwl_geom", export_dir=export_dir)
stellarator.export_cf_dagmc(filename="nwl_geom", export_dir=export_dir)
6 changes: 2 additions & 4 deletions Examples/parastell_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@
toroidal_angles, poloidal_angles, wall_s, radial_build_dict
)
# Export in-vessel component files
stellarator.export_invessel_build(
export_cad_to_dagmc=False, export_dir=export_dir
)
stellarator.export_invessel_build(export_dir=export_dir)

# Define build parameters for magnet coils
coils_file = "coils.example"
Expand Down Expand Up @@ -81,4 +79,4 @@
stellarator.build_cubit_model(skip_imprint=False, legacy_faceting=True)

# Export DAGMC neutronics H5M file
stellarator.export_dagmc_cubit(filename="dagmc", export_dir=export_dir)
stellarator.export_cf_dagmc(filename="dagmc", export_dir=export_dir)
2 changes: 1 addition & 1 deletion Examples/radial_distance_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@
stellarator.build_cubit_model(skip_imprint=False, legacy_faceting=True)

# Export DAGMC neutronics H5M file
stellarator.export_dagmc_cubit(filename="dagmc", export_dir=export_dir)
stellarator.export_cf_dagmc(filename="dagmc", export_dir=export_dir)

0 comments on commit 952dd5e

Please sign in to comment.