Skip to content

Commit 6c254de

Browse files
committed
OpenFOAM fix path
1 parent ce26aac commit 6c254de

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/openfoam/openfoam-minimal.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"source": [
4141
"# Import required modules\n",
4242
"from dapi import DSClient\n",
43-
"import json"
43+
"import json\n",
44+
"import"
4445
]
4546
},
4647
{
@@ -60,7 +61,7 @@
6061
"outputs": [],
6162
"source": [
6263
"# Job configuration parameters\n",
63-
"ds_path: str = \"/MyData/template-notebooks/tapis3/OpenFOAM/DH1_run\" # Path to OpenFOAM case directory\n",
64+
"ds_path: str = os.getcwd() + \"/DH1_run\"\n",
6465
"max_job_minutes: int = 10 # Maximum runtime in minutes\n",
6566
"tacc_allocation: str = \"ASC25049\" # TACC allocation to charge\n",
6667
"app_id_to_use = \"openfoam-stampede3\" # OpenFOAM application ID\n",

examples/openfoam/openfoam.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,12 +576,12 @@
576576
},
577577
{
578578
"cell_type": "code",
579-
"execution_count": 39,
579+
"execution_count": null,
580580
"metadata": {},
581581
"outputs": [],
582582
"source": [
583583
"# Configuration parameters\n",
584-
"ds_path = \"/home/jupyter/MyData/template-notebooks/tapis3/OpenFOAM/DH1_run\" # Update with your actual path\n",
584+
"ds_path = os.getcwd() + \"/DH1_run\"\n",
585585
"max_job_minutes = 5\n",
586586
"tacc_allocation = \"ASC25049\" # Update with your allocation\n",
587587
"archive_system: str = \"designsafe\"\n",

0 commit comments

Comments
 (0)